I spent the bulk of my available time this weekend writing the code for the Table Layout. It ended up quite a bit different from the design; chiefly because I found there was no need for an abstract row. The TableLayout class itself handles all the row…ing. I just need to add some things like […]
I’m now about 60% done on the UI system code. I’m also only about 80% complete with the design though (I was tired of design and needed to code). I have to admit that designing everything first was something I haven’t done before and it helped immensely. I don’t know why I never did it […]
I’ve been working on the UI quite a bit and have started to get all of the components together in UML. The number of lines going back and forth is very confusing, but luckily I have no diamonds. So as work continues steadily on this I’ve been thinking about the next steps after the UI […]
Finally, the effort going into the UI elements is starting to pay off. Behold!
I’ve made some more progress on the UI; it’s now possible to have it textured. The textures are variable dimensions and there’s a few different options on how to handle resizing (stretching textures or repeating them etc). EDIT: I’ve got some performance problems doing this because a single texture for like the border needs to be […]
I’m not surprised, but I am a little dismayed, about the amount of effort that goes into even the simplest UI. I’m using a sort of event queue to process input and hope to detach the input handling from the main loop soon. The actual elements themselves are easy enough to program but the designing […]