Page 1 of 1

console application?

Posted: Thu Sep 20, 2012 5:36 pm
by jassing
I have been asked to create an "old school" style application for windows & linux. (see image below)
it looks like purebasic doesn't natively support the 'graphics mode console' .

Can this be done with linux api's? if so has anyone done any wrappers to make the transition from windows to linux a bit easier? or any tips on reading material for the linux api that will get it done?

Thanks
-josh
Image

Re: console application?

Posted: Fri Sep 21, 2012 12:52 am
by IdeasVacuum
PB has this native command: EnableGraphicalConsole(#True)

http://www.purebasic.com/documentation/ ... nsole.html

Of course, you could make a windowed version quickly and easily - and make it look like your screen shot.

Re: console application?

Posted: Fri Sep 21, 2012 11:37 am
by Fred
Sounds like you want to use 'ncurses': http://en.wikipedia.org/wiki/Ncurses

Re: console application?

Posted: Fri Sep 21, 2012 4:30 pm
by jassing
Fred wrote:Sounds like you want to use 'ncurses': http://en.wikipedia.org/wiki/Ncurses
Thanks Fred.

IdeasVacuum: Except I want to create this in linux and windows; not just windows...

Re: console application?

Posted: Fri Sep 21, 2012 5:23 pm
by IdeasVacuum
Well, I did say windowed rather than Windows. You could even owner-draw using the Canvas Gadget..........