Got some more work on my GUI done last night. I implemented the base widget class, and started to implement the scroll bar widget. I got like a quarter done with that when I realized I shouldn't be trying to combine both horizontal and vertical bars into one class, since they move differently and are set up differently. So I created two child classes to inheret the main scroll bar class to override certain functions so that one behaves as a horizontal scroll bar abd the other a vertical. Much better. Yey OOP. So anyways I started getting into implementing those child classes when I hit a snag. See, I want to have a resizable widget, and that means the slide bar (the image that stretches between the two scroll buttons) and the scroll bar (the image that represents the bar you can click on to drag) have to be resizable as well. I realized I have no good way of doing this. So I took a break to read a book and think it over. Well, I ended up falling asleep, doh! [smile] So I'm still grappling with the resize problem, but I think I have a solution. Hopefully I'll be able to test out the scroll bar widget tonight.
Previous Entry
Great Day
Next Entry
I Missed Days?? What's This??
Advertisement
Latest Entries
Weekend Reading: Tales from Journal Land
2608 views
Weekend Reading: Tales from Journal Land
1581 views
Weekend Reading: Tales from Journal Land
2207 views
Weekend Reading: Tales from Journal Land
2133 views
Weekend Reading: Tales from Journal Land
2157 views
Weekend Reading: Tales from Journal Land
2042 views
Weekend Reading: Tales from Journal Land
2299 views
Weekend Reading Back Next Week
1937 views
Weekend Reading: Tales from Journal Land
2114 views
Advertisement