More GUI

Published January 06, 2007
Advertisement
Doing IMGUI programming is fun. Still a lot of work, but it's much better than wrestling with a bloated GUI library. That said, I understand why GUI libraries are bloated - there are so many options you want for various widgets.

For instance, a button can be implemented simply with an optional caption. Usually you want the caption to be centered, but I ended up using the button control for other things as well, and ended up wanting the text left justified at times.

Also, for checkbox type items, it's nice to do justified text, so the option is forced left, and the check mark is forced right, which is not otherwise simple with proportional text.

So, you end up adding text formatting options to most things that can have a caption.

The main progress yesterday was getting the entity tab up & running again. You can do basic ops on existing entities with just buttons, but now I have a scrolling button box for choosing which category, then entity type to create fresh.

Below it is the facet list, which lists the entity's properties, but in a few hours will allow you to edit them as well, and add new ones.


Previous Entry IMGUI Fun
Next Entry Almost There...
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

1.2 Almost ready...

1124 views

Sound Paths

1341 views

Stately Progress

1143 views

State Lines

1292 views

Pulsing

876 views

Return to The Ship!

1016 views

Cameras & Boxes

1133 views
Advertisement