DOS, C And Graphical Representation

Programming, for all ages and all languages.
Post Reply
DragonSlayer

DOS, C And Graphical Representation

Post 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.
Tom

Re:DOS, C And Graphical Representation

Post 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...
DragonSlayer

Re:DOS, C And Graphical Representation

Post by DragonSlayer »

I dont use TC++ 3, but I think I have it... how do you think i should approach making a gui?
Tom

Re:DOS, C And Graphical Representation

Post 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.
DragonSlayer

Re:DOS, C And Graphical Representation

Post 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.
Tom

Re:DOS, C And Graphical Representation

Post by Tom »

The TC++ graphics lib is all C Code ;)
DragonSlayer

Re:DOS, C And Graphical Representation

Post by DragonSlayer »

Ok, Then i must have been looking in the wrong place.
juncmodule

Re:DOS, C And Graphical Representation

Post 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
DragonSlayer

Re:DOS, C And Graphical Representation

Post by DragonSlayer »

I'll just do some C API programming, thanks for all the help.
Post Reply