Results 1 to 3 of 3

Thread: Give directdraw a friendly UI... Anyone?

  1. #1

    Thread Starter
    Junior Member Caleb's Avatar
    Join Date
    Jan 2001
    Posts
    24

    Smile 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...)



  2. #2
    Zaei
    Guest
    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.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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
  •  



Click Here to Expand Forum to Full Width