OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Apr 22, 2024 5:13 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: DOS, C And Graphical Representation
PostPosted: Sat Nov 02, 2002 4:20 pm 
I am very fluent in DOS C. I would like to get into graphics libraries, displaying text in different colors, making a dos gui. Now im not sure and am taking anyones recommended opinion. Should I learn ASM for using VGA, should I try allegro, or what? With your opinion a online tutorial link would be VERY helpful.


Top
  
 
 Post subject: Re:DOS, C And Graphical Representation
PostPosted: Sat Nov 02, 2002 7:54 pm 
If using TC++ 3.somthing...I know all about that stuff...;)
I even made a sample GUI for FritzOS. Use asm to optimise preformence without the BIOS.

Tell me if you use TC++ 3...


Top
  
 
 Post subject: Re:DOS, C And Graphical Representation
PostPosted: Sat Nov 02, 2002 8:48 pm 
I dont use TC++ 3, but I think I have it... how do you think i should approach making a gui?


Top
  
 
 Post subject: Re:DOS, C And Graphical Representation
PostPosted: Sat Nov 02, 2002 8:59 pm 
I have gaven up using TC++ but, use the graphic help file in the help index..look up initgraph.

Now...make functions that draw lines in ways like this for the box(button):

-> 3d shadow/light:
-> Box color.
-> Button text centered.
-> getpixels behind that box before you put it there
-> when hiding the button, put the pixels back.


Top
  
 
 Post subject: Re:DOS, C And Graphical Representation
PostPosted: Sat Nov 02, 2002 9:02 pm 
Ok, thanks, I'll look at the help file.

EDIT: Actually, any other opinions? I would use the TC++ 3 method, but that goes just a bit past my C++ understanding, I'm looking for C methods of graphics programming.


Top
  
 
 Post subject: Re:DOS, C And Graphical Representation
PostPosted: Sat Nov 02, 2002 9:30 pm 
The TC++ graphics lib is all C Code ;)


Top
  
 
 Post subject: Re:DOS, C And Graphical Representation
PostPosted: Sun Nov 03, 2002 9:54 am 
Ok, Then i must have been looking in the wrong place.


Top
  
 
 Post subject: Re:DOS, C And Graphical Representation
PostPosted: Sun Nov 03, 2002 1:33 pm 
Although I think it is more geared toward the C++ user, this might help you:

http://www.sylpher.com/dosuser/cprogram.htm

-junc


Top
  
 
 Post subject: Re:DOS, C And Graphical Representation
PostPosted: Sun Nov 03, 2002 3:07 pm 
I'll just do some C API programming, thanks for all the help.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group