Created
September 5, 2017 18:11
-
-
Save sh-cho/f576e5bee14d926c99c1720246391bbe to your computer and use it in GitHub Desktop.
nana hello world program
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
#include <nana/gui.hpp> | |
#include <nana/gui/widgets/label.hpp> | |
int main() | |
{ | |
using namespace nana; | |
form fm; | |
label lb{ fm, rectangle{ 10, 10, 100, 100 } }; | |
lb.caption("Hello, world!"); | |
fm.show(); | |
exec(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment