GUI Framework?

BlitzMax Forums/MaxGUI Module/GUI Framework?

thalamus(Posted 2006) [#1]
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.


thalamus(Posted 2006) [#2]
Anyone?


Dreamora(Posted 2006) [#3]
No
Main reason is that we use Framework Assistant for our apps. Then no freaking "more modules just to have frameworks" are needed :)


thalamus(Posted 2006) [#4]
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...


Dreamora(Posted 2006) [#5]
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.


ziggy(Posted 2006) [#6]
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.


D4NM4N(Posted 2006) [#7]
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.