diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-04-10 19:55:02 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-04-10 19:55:02 -0400 |
| commit | bced528a07a2ff1591455e4c4228ec18f8e0532d (patch) | |
| tree | 7686a11b6276f56eabde0bffb8716a7b1df72e29 /src/client/lua_api/gui/iguilabel.cpp | |
| parent | d2b36e6c65ec8126c0ebc96adb7e011e78a5eacc (diff) | |
| download | brokengine-bced528a07a2ff1591455e4c4228ec18f8e0532d.tar.gz brokengine-bced528a07a2ff1591455e4c4228ec18f8e0532d.tar.bz2 brokengine-bced528a07a2ff1591455e4c4228ec18f8e0532d.zip | |
Added getpos and setpos functions for scene nodes
Diffstat (limited to 'src/client/lua_api/gui/iguilabel.cpp')
| -rw-r--r-- | src/client/lua_api/gui/iguilabel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/lua_api/gui/iguilabel.cpp b/src/client/lua_api/gui/iguilabel.cpp index da720f9..3754ac6 100644 --- a/src/client/lua_api/gui/iguilabel.cpp +++ b/src/client/lua_api/gui/iguilabel.cpp @@ -61,11 +61,10 @@ static int newiguilabel(lua_State* L){ //Create the button IGUIEnvironment* env = guidevice->getGUIEnvironment(); - //printf("Createing button with data %d %d %d %d, %p, %d, %s, %s\n", startx,starty,endx,endy,guielements[parent],gui_elenum,button_label,button_tooltip); //Create the label IGUIStaticText* llabel = (IGUIStaticText*) env->addStaticText(label,core::rect<s32>(startx,starty,endx,endy),false,false, guielements[parent], gui_elenum++, false); printf("Created the button\n"); - + //Register it's callback registerguicallback(llabel,EGET_ELEMENT_HOVERED,iguilabelevent); |
