Jump to content
  • Advertisement
Sign in to follow this  

Looking for design docs on user controls like Textbox, ComboBox, etc...

This topic is 5010 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm codign some of these controls from scratch, and they do work already, but I would like to see if someone came up with better ideas than I, and possible adopt them in my own design. Have you seen something like this on the web? Could you post a liky or something? Thank you very much!

Share this post


Link to post
Share on other sites
Advertisement
You're unlikely to find a complete design document for controls as trivial as text boxes and combo boxes. I don't really see what kind of "ideas" you're expecting, these controls pretty much have well-defined behaviors that you shouldn't deviate from too much.

Share this post


Link to post
Share on other sites
I'm worried about the font/text handling and displaying more than anything. I'm doing all this by myself too, so I would like to see how someone else handled this, just curious.

Share this post


Link to post
Share on other sites
Why don't you take a look at how sun did it in Java. You can find the documentation here and the API here hope that helps.

EDIT: Ahh, where can I find a doc about what codes to use in this forum? I always forget how to do links etc...

Share this post


Link to post
Share on other sites
@owl

I think that you could also look through the MSDN stuff for windows controls. They have a bunch of nice ideas that they used, their methods and interface are well designed, and I'd certainly reccomend using that (interface) as a starting point. I also seem to remember seeing some controls stuff used in a game situation in the source to Quake 2, but I'm not really sure if that's worth the download, because it's a pretty small subsection of the total code, and is pure C.

@garazdawi

I think that you can just use HTML and it'll work. Otherwise, there used to be a sticky, which has... (a few minutes later) been moved to http://www.gamedev.net/community/forums/faq.asp With some of the tags around 1/2 way down, though it's really just the [ code ][ /code ] and [ source lang="cpp" ]
[ /source ] stuff that's useful...
[edit : Why did I expect that you'd be able to see what I was saying with the tags being replaced... Fixed.]

Anywho,

//end rant;

CJM

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!