NeilGUI
- Posted by Lewis Townsend <keroltarr at HOTMAIL.COM> Jul 27, 1999
- 538 views
Hello all, The beginnings of NeilGUI is now on my website. It's not exactly USABLE yet but it's getting there. Pete, is it alright that I use the word "Neil" in the name of the library? I don't want to be breaking any copywright laws here. Also, NeilGUI is much different than LAGui. Here is some example code that will make a simple window with a button in NeilGUI (when it's complete that is): -- ##### CODE BEGINS HERE ##### -- include Neil.e include NeilGUI.e -- change this to suit your needs if gfx_mode (640,480, 16) then puts (1, "Sucky Graphics :p") abort (1) end if allcolor ({BRIGHT_BLUE, BRIGHT_CYAN, BLUE, BLACK}) -- Sets the colors for the interface integer pan, but pan = New (PANEL, { TEXT, "Test Panel", POSITION, {100,100}, DEMINSIONS, {200,100} }) but = New (BUTTON, { TEXT, "Push Me!", POSITION, {5,25}, DEMINSIONS, {100,20}, HOME, pan }) LoadPointer ("mp.bmp") -- Loads a bitmap as the mouse pointer while get_key () != 27 do GetMouse () end while restore_mode () -- ##### END CODE ##### -- I think this is a much better system than what I used for LAGui. At least the end-programmer won't have to do as much. please give me feed-back, Lewis Townsend PS: I don't think anyone has made a gui for neil yet have they? _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com