Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!






UI primitives

Posted by gdunbar, in 10FF 16 December 2012 · 458 views

Working on UI rendering. Here's the outline of a button, and below it an image rendering. I don't have text working yet so the button looks a little funny without any label. Once I get text working, all of the other primitives should work fine, though.

Posted Image




Keep up the excellent work!
Is this OpenGL? I had to make my own GUI kit like this too. Keep up the good work.

You'll want to be able to tell how long glyphs are in text to be able to clip them appropriately.
Yup, OpenGL. I actually already made the GUI library on Windows using D3DX, and now I'm porting it over to iOS. Luckily there isn't much to it other than drawing images, rectangles, and text.

July 2015 »

S M T W T F S
   12 3 4
567891011
12131415161718
19202122232425
262728293031 

Recent Entries

Recent Comments

PARTNERS