GSOC Day 51-52 – panelPicture Popups


I continued to work, today and yesterday, on making panelPicture into a popup window on the StarMap. My work yesterday was cut a bit short by internet connectivity problems, but I continued today, and I got it working. It took some fiddling with wrapping panelPicture in a wx.Frame, positioning, and sizing.

I also found and fixed a bug that caused panelInfo to fail to display if it had to download media. This was a fairly simple one, just a few checks for null values.

Then I moved the buttons on panelSystem that allow you to select the previous, next, or parent object to the left of the search bar, removing a strange-looking blank space in the panel. This isn’t perfect yet – it seems like the list of systems isn’t expanding downwards to fill the extra line left, but it looks a bit better anyway.

Here’s a screenshot of the picture popup:

A picture popup on hover.

A picture popup on hover.

It always starts by displaying the system’s graphic, but if you click and select the child objects in the system, it’ll show those too.

Advertisements

~ by greywhind on July 14, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: