Skip to content

Commit 1a0dc87

Browse files
committed
ajout de button pour lua
1 parent a76a1d7 commit 1a0dc87

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/lua/lua2.cpp

+8
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ LuaLabel::LuaLabel(LuaWidget* parent, int x, int y, int width, int height)
9292
init(widget, parent, x, y, width, height);
9393
}
9494

95+
// Button
96+
97+
LuaButton::LuaButton(LuaWidget* parent, int x, int y, int width, int height)
98+
{
99+
widget = new Button(x, y, width, height);
100+
init(widget, parent, x, y, width, height);
101+
}
102+
95103
// Input
96104

97105
LuaInput::LuaInput(LuaWidget* parent, int x, int y, int width, int height)

0 commit comments

Comments
 (0)