News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Subwindows
Author Message
chrimo
Member
***


Posts: 94
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #1
Subwindows

Hi,
please can somebody tell me, how to create subwindows inside a mainwindows ?

Code:
window = fltk:Fl_Double_Window(MaxWinSizeX, MaxWinSizeY, "NXTLuaSim");
window:tooltip("NXT Lua Sim by Chrimo and friends "..version);
window:color(55);
window:align(fltk.FL_ALIGN_CENTER);
window:position(10,10);

subwindow = fltk:Fl_Window(X, Y, "NXT");
subwindow:tooltip("NXT Lua Sim by Chrimo and friends "..version);
subwindow:color(55);
subwindow:position(0,0);


Subwindows should be located inside the main window and have own coordinates...
Where is the reference or assignment to main window
Any idea ?
Thanks for supporting a rookie
Bye
Christian

06-07-2007 01:14 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Subwindows - chrimo - 06-07-2007 01:14 AM
RE: Subwindows - mikshaw - 06-07-2007, 02:45 AM
RE: Subwindows - chrimo - 06-07-2007, 03:20 AM
RE: Subwindows - chrimo - 06-07-2007, 04:47 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: