diff options
| author | jacob1 <jfu614@gmail.com> | 2012-09-20 23:33:16 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-25 19:09:24 (GMT) |
| commit | 187a5189d597786e51a89221b16393e4ccc37256 (patch) | |
| tree | ccd7af7fb8b6c3928364a5b361d037f1a00c2573 /src/cat/LuaCheckbox.cpp | |
| parent | 5ee1c7ff801b475b4447c5ee6db4a77d0f75f532 (diff) | |
| download | powder-187a5189d597786e51a89221b16393e4ccc37256.zip powder-187a5189d597786e51a89221b16393e4ccc37256.tar.gz | |
some improvements to the render options interface and checkboxes (icons and tooltips coming next)
Diffstat (limited to 'src/cat/LuaCheckbox.cpp')
| -rw-r--r-- | src/cat/LuaCheckbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat/LuaCheckbox.cpp b/src/cat/LuaCheckbox.cpp index 1ddc0c2..844573e 100644 --- a/src/cat/LuaCheckbox.cpp +++ b/src/cat/LuaCheckbox.cpp @@ -33,7 +33,7 @@ LuaCheckbox::LuaCheckbox(lua_State * l) : int sizeY = luaL_optinteger(l, 4, 10); std::string text = luaL_optstring(l, 5, ""); - checkbox = new ui::Checkbox(ui::Point(posX, posY), ui::Point(sizeX, sizeY), text); + checkbox = new ui::Checkbox(ui::Point(posX, posY), ui::Point(sizeX, sizeY), text, ""); component = checkbox; class ClickAction : public ui::CheckboxAction { |
