idea!: Text based GUI

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
earlz
Member
Member
Posts: 1546
Joined: Thu Jul 07, 2005 11:00 pm
Contact:

idea!: Text based GUI

Post by earlz »

I have thought of a new idea, a text based user interface complete with windows and such.
I have a kindof working but not working example but it draws the window then gets an opcode error

it, to me, is a good idea. You can check it out on my website, download the latest release and type "test;t9" no quotes.

but then you can also do things like replace the character set so that you have little icons to use for things like scroll bars

edit:
I might not have the latest up yet.

a pic of it is at: http://jouleos.byethost33.com/TextUI.jpg

edit2:
new pic uploaded, managed to get my full screen console working fully in a window. so w00t!
Last edited by earlz on Sat Feb 18, 2006 12:00 am, edited 2 times in total.
User avatar
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

Re: idea!: Text based GUI

Post by JAAman »

hckr83 wrote:I have thought of a new idea, a text based user interface complete with windows and such.
this isn't really a "new" idea, in fact its a very old one!

this was very common a couple decades ago (for some examples, just check out: QBasic, Edit, etc --- these 2 are free if you have any version of any MS OS >= DOSv5)
HxAxCxKxExR
Posts: 6
Joined: Mon Feb 06, 2006 12:00 am
Location: Buffalo, MN
Contact:

Re: idea!: Text based GUI

Post by HxAxCxKxExR »

QBasic is in the past, move on to FreeBasic :-)

~HxAxCxKxExR
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

Re: idea!: Text based GUI

Post by carbonBased »

erruhm... I don't think you'll find anyone here actually promoting either (or any) form of BASIC ;)

--Jeff
User avatar
JAAman
Member
Member
Posts: 879
Joined: Wed Oct 27, 2004 11:00 pm
Location: WA

Re: idea!: Text based GUI

Post by JAAman »

i wasn't suggesting using QBasic, i was using it as an example of exactly what hckr83 was calling a 'new idea'
HxAxCxKxExR
Posts: 6
Joined: Mon Feb 06, 2006 12:00 am
Location: Buffalo, MN
Contact:

Re: idea!: Text based GUI

Post by HxAxCxKxExR »

Jeff wrote:erruhm... I don't think you'll find anyone here actually promoting either (or any) form of BASIC ;)
*raises hand*
I love and use FreeBasic, whats so bad about it?

:-/
Notepad Workers

betasite.progress
{
content: 10%;
design: 30%;
layout: 25%;
}
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

Re: idea!: Text based GUI

Post by carbonBased »

HxAxCxKxExR wrote: *raises hand*
I love and use FreeBasic, whats so bad about it?
It's basic...

To me, basic is one of the most unstructured languages there is. Not to mention the core language is just that - basic. All these specialty basic's may add value, but its proprietary and non-portable value.

I prefer C, C++, Java and Eiffel.

--Jeff
Da_Maestro
Member
Member
Posts: 144
Joined: Tue Oct 26, 2004 11:00 pm
Location: Australia

Re: idea!: Text based GUI

Post by Da_Maestro »

Give me C and Pascal. Though I do like object orientation for non-OS projects so gimme C++ and O-Pascal too hehe.
Two things are infinite: The universe and human stupidity. But I'm not quite sure about the universe.
--- Albert Einstein
User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Re: idea!: Text based GUI

Post by AndrewAPrice »

carbonBased wrote:
HxAxCxKxExR wrote: *raises hand*
I love and use FreeBasic, whats so bad about it?
It's basic...

To me, basic is one of the most unstructured languages there is. Not to mention the core language is just that - basic. All these specialty basic's may add value, but its proprietary and non-portable value.

I prefer C, C++, Java and Eiffel.

--Jeff
So do I. But, BASIC really has no standard. Variations can range from those integrated calculator interpreters that are limited to 26 variables (A through to Z) and don't support functions or any sort of program flow other than IF, WHILE, and FOR (buy a cheap graphics calculator or try out TinyBASIC) all the way up to complex languages which support pointers, structures, classes, in-line assembly, and compiles to native code (FreeBASIC).
My OS is Perception.
RedEagle
Member
Member
Posts: 31
Joined: Sat Nov 04, 2006 5:38 am
Location: Earth
Contact:

Post by RedEagle »

My OS will use Textbased "G"UIs.

> http://reos.re.funpic.de/REOS/screens/000004/nice.PNG
The lower two windows were some tests on my old Kernel. I had no Multitasking and no memorymanagement, so it could not work like "normal" window-manager.
But the new kernel, supports multitasking and memorymanagment. So, my OS will have a Textbaste GUI.

I worte a library for Textbasted windows for the windows-console, but the librarys got destroyd by a harddisk-crash.
(since that, I make every month a backup of my project-directory ;) )
> http://reos.re.funpic.de/tmp/tgui.png

The elements with '['']' are buttons, the things with 1s and 0s are checkboxs, and the underlined thing is a editbox

Well, it is possible, and very nice ;)
mfg.: RedEagle
User avatar
AndrewAPrice
Member
Member
Posts: 2309
Joined: Mon Jun 05, 2006 11:00 pm
Location: USA (and Australia)

Post by AndrewAPrice »

That's pretty neat!

You should have a look at Ncurses and Twin.

Image
My OS is Perception.
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

[URL=http://www.imghosting.eu/view.php?img=settings.GIF]
Image[/URL]

Old screenie from Pascal version of PortixOS, the so-called "Inflater's Textographics Unit". :D - Unfortunately there is no support for overlapped windows, buttons, edit-fields, etc. - for now, and you can't drag the window by the mouse. No, I didn't hack up TVision, this is my *own* engine ! ;)

Of course the window can be of any color including the title bar, you can change the text color too, the menu is also customizable, etc. The drawing of these windows are fast, I did used direct video RAM access in Pascal when I discovered that is possible :D

I did like the textographics. Reminds MS-DOS :)

Regards
inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
Post Reply