flat assembler
Message board for the users of flat assembler.
Index
> Main > The GUI |
Author |
|
revolution 18 Feb 2008, 09:48
GUI graphics is just drawing lines, curves, text, and bitmaps etc. on the display.
A fancy button is usually a bitmap being copied, a normal button can be just a set of coloured boxes/lines with text drawn on top. |
|||
18 Feb 2008, 09:48 |
|
MartinHschei 18 Feb 2008, 10:08
So if i learn to make graphics i can basically make any interface i want?
And then i can bind functions the to buttons etc.? On ,for example, mouse clicks or movement. I guess that's kinda complicated? |
|||
18 Feb 2008, 10:08 |
|
sinsi 18 Feb 2008, 10:19
MartinHschei wrote: I guess that's kinda complicated? Well, the lines, curves, bitmaps etc. are usually the easy part...it's easy to make a pretty dialog box and have no code to actually do something - I mean look at delphi or vb |
|||
18 Feb 2008, 10:19 |
|
edfed 18 Feb 2008, 11:03
buttons are zones.
in these zones, we draw. and in these zones, we test the cursor and the keyboard. |
|||
18 Feb 2008, 11:03 |
|
MartinHschei 18 Feb 2008, 11:07
thanks. helpful.
|
|||
18 Feb 2008, 11:07 |
|
dosin 18 Feb 2008, 12:52
Quote: Can C be used to make a gui without any graphic files? Yes, you can use C.. but you still need asm to set the modes...etc... and then just use a pointer to the video mem to draw.. TurboC: Code: void set_mode( int mode_num ) { asm{ //Do something here int 0x10 { } you can do a simular function in djgpp also |
|||
18 Feb 2008, 12:52 |
|
DOS386 19 Feb 2008, 00:02
> Can C be used to make a gui without any graphic files?
YES Any programming language will do ... as long as it lets you place pixels on the screen ... and set a graph mode if none set by default _________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug |
|||
19 Feb 2008, 00:02 |
|
edfed 19 Feb 2008, 00:12
exact
but here, the problem is to build gui in asm, no? so, i can help a bit (just a bit cause it's not complete). it works, and need a patient programmer to obtain results. i'm not patient when coding real programms. |
|||
19 Feb 2008, 00:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.