Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    557
  • comments
    1237
  • views
    423613

Untitled

Sign in to follow this  
Evil Steve

85 views

Yay, GUI stuff seems to be working pretty well now. So here's a picture:

GUI stuff
(Click to enlarge)


And here's the XML file that describes it:

"1.0" encoding="UTF-8"?>
"1024" h="768">

"0" y="0" align="left">I like cakes. Here's some Chinese: 世界有很多语言

"1024" y="0" align="right">I like cakes. Here's some Russian: Мир имеет много языков











The first two text items (top left and top right) show unicode through UTF-8, the top button shows text clipping (Although not very well, admittadly), the second shows right-aligned text, and the third shows left aligned text.

Next up is making a proper window that can be dragged around, and probably scrolled too. Then I'll add more widgets like images and listviews - a listbox where you can put anything into an item. That should be fairly straightforwards, you could stuff an image and some text into an , and stuff that in a . A normal listbox would just be a listview with only text in it.

My 2 day bender is over now. I wasn't as drunk as I thought I was going to be, which was a pleasant surprise.

Anyway, me = gone.

EDIT: The forums seem to change the unicode stuff to HTML entities. Oh well. It's just actual chinese and russian in there. I should also point out that I have no idea what it says - I just copied it from a TinyXML example file. Anyone read Chinese or Russian around here?
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!