-
Notifications
You must be signed in to change notification settings - Fork 2
window
James Bremner edited this page Oct 22, 2019
·
4 revisions
A top level window.
// reference the windex gui framework
windex& W = windex::get();
// construct top level window
window& form = W.MakeWindow();
form.move({ 50,50,400,400});
form.text("A windex application");
The first top level window created is assumed to be the application window - the application quits when this window is closed.
void move( const std::vector<int>& v )
locate and size the window. v specifies left, top, width, height in pixels
void text( const std::string& t )
specify title for window
void scroll()
add scroll bars