UI Framework for Windows like xaml
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MntoneUIFramework.GuiTest
MntoneUIFramework
.gitignore
LICENSE.txt
MntoneUIFramework.sln
readme.md
screenshot.png

readme.md

Mntone UI Framework

This is UI Framework for Windows like xaml. The next program is sample code.

text_box* tb = new text_box(L"initial text.あああああああああああああああああああああああああ");
button* btn = new button(L"push button sample");
size_t id = 0;
btn->click().add([](control_base const& s, event_args e)
{
	MessageBoxW(s.root().hwnd(), L"clicked.", L"sample dialog", MB_OK);
	return S_OK;
}, id);
grid* root = new grid(
{ grid_length(), 28 },
{ },
{
	make_tuple(0, 0, tb),
	make_tuple(1, 0, btn),
});

unique_ptr<window> wnd = make_unique<window>();
wnd->set_child(root);
wnd->set_margin(9);
wnd->set_text(L"guitest window");

Next UI is generated by this sample code.

screenshot

License

This is under MIT.

Contact

mntone (name: monotone): directly reply to @mntone