nngn
Loading...
Searching...
No Matches
lua_textbox.cpp File Reference
#include "lua/function.h"
#include "lua/register.h"
#include "lua/table.h"
#include "textbox.h"
Include dependency graph for lua_textbox.cpp:

Namespaces

namespace  anonymous_namespace{lua_textbox.cpp}
 

Macros

#define C(v)   v ## _STR = {static_cast<char>(Textbox::Command::v), 0}
 

Functions

void anonymous_namespace{lua_textbox.cpp}::set_cur (Textbox &t, lua_Integer i)
 
void anonymous_namespace{lua_textbox.cpp}::register_textbox (nngn::lua::table_view t)
 

Variables

constexpr std::array< char, 2 > anonymous_namespace{lua_textbox.cpp}::TEXT_WHITE_STR = {static_cast<char>(Textbox::Command::TEXT_WHITE), 0}
 
constexpr std::array< char, 2 > anonymous_namespace{lua_textbox.cpp}::TEXT_RED_STR = {static_cast<char>(Textbox::Command::TEXT_RED), 0}
 
constexpr std::array< char, 2 > anonymous_namespace{lua_textbox.cpp}::TEXT_GREEN_STR = {static_cast<char>(Textbox::Command::TEXT_GREEN), 0}
 
constexpr std::array< char, 2 > anonymous_namespace{lua_textbox.cpp}::TEXT_BLUE_STR = {static_cast<char>(Textbox::Command::TEXT_BLUE), 0}
 

Macro Definition Documentation

◆ C

#define C ( v)    v ## _STR = {static_cast<char>(Textbox::Command::v), 0}