[MAXGUI] "About" window module?
BlitzMax Forums/BlitzMax Module Tweaks/[MAXGUI] "About" window module?
| ||
Hi! Has anyone written a proper "about" window module yet? Such as the ones used in Firefox or Thunderbird: ![]() ![]() Version, homepage link ect on the one "side". Scrolling credits on the other "side". Anything that is better than this when I click "About" in the BMX GUI: ![]() |
| ||
Do you mean something like this? The TTextStyle is extendable as you see by the TStaticText So it should be easy to add different Effects like scrolling, fading etc. It is a short write and bug maybe included. but it should give you a hint how to do it. Also things like textColor etc. are not implemented yet. Enjoy ;) |
| ||
Thanks Klepto. Will have a look. P.S.: Is this EmitEventHook stuff portable to MAC+Linux? |
| ||
Yepp thats BMs own event code stuff from brl.event etc |
| ||
Another problem with the example. When I click the close button, not only the about window shuts down, but also the WHOLE application. How can I prevent that? Also, can I set a window to ALWAYSONTOP with MAXGUI commands? So the about window stays over the apps window... |
| ||
Change the Case EVENT_WINDOWCLOSE Endto this: Case EVENT_WINDOWCLOSE If EventSource() = About.Window Then About.Kill() Else End*EDIT: Just to explain: this will check to see if the event was triggered by the About Box window, if it was then the about box is "Killed", otherwise (i.e. it was triggered by the main window) it ends the program. Also I think there was an "AlwaysOnTop" flag in the Type declaration but I don't think it works. :( Seb |
| ||
Thanks Seb! |