Last active
May 25, 2016 13:05
-
-
Save jerstlouis/cd3729f3a27328a617687cf8e5481dcf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define MODULE_NAME "HelloForm" | |
#include "ecere.hpp" | |
class HelloForm : public Window | |
{ | |
public: | |
Label label; | |
HelloForm() | |
{ | |
caption = I18N("My First Ecere/C++ Bindings App"); | |
borderStyle = sizable; | |
size = { 380, 190 }; | |
hasClose = true; | |
label.parent = this; | |
label.caption = I18N("Hello, Bindings!!"); | |
label.position = { 10, 10 }; | |
label.font = FontResource("Arial", 30); | |
} | |
}; | |
GuiApplication app; | |
main_DECLARATION | |
{ | |
app = GuiApplication(eC_init_CALL); | |
HelloForm hello; | |
app.main(); | |
return app.exitCode; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment