|
-
Jan 28th, 2002, 10:10 PM
#1
Thread Starter
Junior Member
Give directdraw a friendly UI... Anyone?
Hi! I was wondering if you guys came across any thing like a simple add-on class or COM(dll) for easily building a simple UI for directdraw.
What I mean is like an engine that will automatically do Buttons, Lists, Combo boxes, Scrolls like the OCX but in DirectDraw. This is to make it esier for writing a main menu for games. Have you all come across anything like this or thought of doing this before?
(Hope you understand what I'm trying to say. Because I don't know how else to explain...)
-
Jan 28th, 2002, 11:11 PM
#2
Most people will write their own system. It isnt very complicated, as long as you dont try to do anything super fancy. You would also have to create windows and such in code, but this isnt such a hard thing (and you could write your own editor, if you wanted). You simply need to realize that most basic controls are simple a collection of windows. A scroll bar, for instance is a window, that contains 3 other windows (the arrow buttons and the thumb). A textbox is a window that takes key input, and echos it. A Label is an invisible window that displays text. A multi line textbox is simply a combination of a scrollbar and a text box, or a label.
Z.
-
Jan 29th, 2002, 09:56 AM
#3
But when doing these things in DD, you don't need to worry about the concept of windows if you don't want to, or reduce it to something simpler, like "a window is an area that can be clicked to make an action hapen".
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|