Banner

March 2006
SMTWTFS
   1234
567891011
12131415161718
19202122232425
262728293031 


 

Home » Archives » March 2006

Thursday, March 30th

Gooeyer GUI

I have been adding a lot of GUI features. I modified the LineSelect form to include text boxes for all the lines so that an user can specify custom names. I added all the labels using the form designer and then manipulated their text, and position using code to reflect:
*what lines were selected
*what names they were given
*what line plot corresponds to that signal
Positioning was a difficult task especially with keeping resizing in mind.

I also improved error handling, especially focusing on application crashing when no lines were selected to be plotted. I found that this scenario was problematic for everything... plotting, resizing, refreshing, any form movement at all. Currently the GUI is fairly stable and mostly idiot proof.

My next challenge is to add the bus and use the mouse cursor to read the bus value and display it.

Here's a snapshot of the current GUI:
gui5 (30k image)

Again, if anyone is interested in helping me test the application, you can download and run the compiled binary (for Windows XP) and provide me with any feedback via e-mail.


shom on 03.30.06 @ 07:28 PM CST [permalink]

Sunday, March 26th

Gooey GUI

I have mostly been working on and testing the GUI. Although, there is a separate time alloted for testing, the nature of GUI development leads to on spot testing. I will say that about 50% of the time I spend on the project is for development and the other 50% is testing. I have also changed how the data is stored internally form a double format to an integer format, this means less memory usage and faster processing. The logic level representation also had to be changed from the double representation:
'0.00' - Low
'0.50' - Indeterminate
'1.00' - High

to the integer representation:
'-1' - Low
'0' - Indeterminate
'1' - High

I have made a lot of progress on the GUI. The user now can:
*Select and plot only specific lines
*Lines can be selected in arbitary order
*Closing the main application closes all related windows
*Super impose a vertical grid, corresponding to the rising edge of the fastest signal
*Toggle the grid on and off
*Change the opacity of the application window
*Maximize/Minimize window
*Identify application by custom icon (in Windows ALT+TAB window)

Here's a snapshot of the current GUI.
GUI3 (51k image)

I am working on adding more features to the GUI and representing buses. If anyone is interested in helping me test the application, you can download and run the compiled binary (for Windows XP) and provide me with any feedback via e-mail.


shom on 03.26.06 @ 07:04 PM CST [permalink]