GUI Framework?
BlitzMax Forums/MaxGUI Module/GUI Framework?
| ||
| Has anyone out there put together a framework using Max GUI? I'm after something akin to a ready-amde shell that can handle toolbar events, menu events, keyboard events, and also run a small chunk of non-gui code. |
| ||
| Anyone? |
| ||
| No Main reason is that we use Framework Assistant for our apps. Then no freaking "more modules just to have frameworks" are needed :) |
| ||
| Maybe framework was the wrong shoice of words :) I'm just after a ready-made shell that I can drop my menu/gadget/keyboard checks into... |
| ||
| So an app skeleton? A generic one wouldn't be of much use as it does not have much in:
SuperStrict
Framework brl.maxgui
?win32
import brl.win32maxgui
?osx
import brl.cocoamaxgui
?linux
import brl.fltkmaxgui
?
repeat
waitevent()
select EventID()
case EVENT_APPCLOSE
end
end select
forever
end
Thats it more or less. The rest depends on your application. One or several windows, gadgets within panels / tabbers, etc etc. The only other thing that might make use is using a GUI editor like GUIde. |
| ||
| I would suggest you to use a Hook event system, instead of a waitevent + eventID spetially if your application will run on windows, to let drawing events be traped when a modal form is displayed, or the base form is being resized or whatever. |
| ||
| i think guide is probably what you want, you draw a form and it builds you a code framework which you just fill in the bits. I think its for free now too. |