The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: travism on November 06, 2008, 10:50:00 AM

Title: Console UI Library
Post by: travism on November 06, 2008, 10:50:00 AM
Is there a console ui library? for like making menus or buttons and colored windows etc..? Ive tried searching but nothing came up. Thanks!
Title: Re: Console UI Library
Post by: Vortex on November 06, 2008, 06:20:18 PM
Do you mean menus and buttons like in the Turbo C++ \ Turbo Pascal DOS IDE?
Title: Re: Console UI Library
Post by: travism on November 06, 2008, 11:03:34 PM
Yes, Exactly it. :)
Title: Re: Console UI Library
Post by: hutch-- on November 07, 2008, 02:04:09 AM
travis,

I think it can be done but I have never seen anyone do it in assembler. It involves shovelling through all of the console API functions using text mode back buffers. Its a long time since I have done anything like this, basically the old DOS days but from memory the win32 console (CMD.EXE) handles a number of screens at a time so you can draw to one then switch them over.
Title: Re: Console UI Library
Post by: japheth on November 07, 2008, 08:50:18 AM

PDCurses http://pdcurses.sourceforge.net/ has some popularity. It's written in C, but there are also libraries available.