Page 1 of 1
DOS, C And Graphical Representation
Posted: Sat Nov 02, 2002 4:20 pm
by DragonSlayer
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.
Re:DOS, C And Graphical Representation
Posted: Sat Nov 02, 2002 7:54 pm
by Tom
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...
Re:DOS, C And Graphical Representation
Posted: Sat Nov 02, 2002 8:48 pm
by DragonSlayer
I dont use TC++ 3, but I think I have it... how do you think i should approach making a gui?
Re:DOS, C And Graphical Representation
Posted: Sat Nov 02, 2002 8:59 pm
by Tom
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.
Re:DOS, C And Graphical Representation
Posted: Sat Nov 02, 2002 9:02 pm
by DragonSlayer
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.
Re:DOS, C And Graphical Representation
Posted: Sat Nov 02, 2002 9:30 pm
by Tom
The TC++ graphics lib is all C Code
Re:DOS, C And Graphical Representation
Posted: Sun Nov 03, 2002 9:54 am
by DragonSlayer
Ok, Then i must have been looking in the wrong place.
Re:DOS, C And Graphical Representation
Posted: Sun Nov 03, 2002 1:33 pm
by juncmodule
Although I think it is more geared toward the C++ user, this might help you:
http://www.sylpher.com/dosuser/cprogram.htm
-junc
Re:DOS, C And Graphical Representation
Posted: Sun Nov 03, 2002 3:07 pm
by DragonSlayer
I'll just do some C API programming, thanks for all the help.