X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,c6e481008dbdedf3 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2002-11-12 21:20:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!intgwlon.nntp.telstra.net!news.telstra.net!news-server.bigpond.net.au!not-for-mail From: Richard James Subject: Re: alt.ascii-art ASCII-OS Newsgroups: alt.ascii-art References: <20021112214933.03583.00000223@mb-ma.news.cs.com> Lines: 51 User-Agent: KNode/0.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: <47nsqa.cer.ln@server.techdrive.foo> Date: Wed, 13 Nov 2002 05:20:01 GMT NNTP-Posting-Host: 203.51.217.225 X-Complaints-To: news@bigpond.net.au X-Trace: news-server.bigpond.net.au 1037164801 203.51.217.225 (Wed, 13 Nov 2002 16:20:01 EST) NNTP-Posting-Date: Wed, 13 Nov 2002 16:20:01 EST Organization: BigPond Internet Services (http://www.bigpond.net.au) Xref: archiver1.google.com alt.ascii-art:20619 CyberNerdX wrote: > i dunno wether u guys are serious about this OS but I have treid > programming a text editor with QBASIC and it did not comeout very good, nm > a word processor Wordperfect 5 was a good ascii word processor. Lotus 123 was a good ascii spreadsheet. So don't think it is impossible. What you need to do is make components like first a function that draws a box then one that does a menu. The little icons and things that make up a modern GUI are called widgets. Make a set of functions that can do widget stuff Text box Button Radio button check box Combo box List box Scroll bars Labels etc etc When you have all these functions your program can just call them and draw them to the screen easier. addMenu ( "File", "Edit", "Attach" ) AddLabel (2,3, "Subject" ) Addtextbox ( 10,3 ) ExecuteGUI Do you now about event driven stuff? Most GUI's are event driven. The programs draw their window then tell the GUI to run. The GUI monitors events and when say a button is clicked it passes stuff back to the program. This is easy in C but not so in other languages but it can be done. You can also implment multitasking. If you have any questions about this stuff just ask me. See the ascii attack game on my webpage. Personally I would want it in colour but purists say ASCII is mono chrome. Richard :) -- Will kill for Documentation. A Vic 20 is faster than a C64: 8bit roxs http://dogmilk.homelinux.com/