The Accidental Rubyist

invalid byte sequence in UTF-8

Merry Christmas Updates

leave a comment »

Lots of bells and whistles for Christmas. Such as:

Used ACS_ codes to make neater boxes. The earlier ascii ones were copied from Links. I hope all terminals can access the ACS codes.

Radio and checkbuttons correctly align when align_right set to true.

In Listboxes and buttons, where cursor position is not important, the cursor instead of being placed at the beginning of field, is appropriately placed in the button brackets, or row of listbox.

Checking bold or pressing Alt-B makes various labels bold

Checking bold or pressing Alt-B makes various labels bold

Checking reverse (M-R) makes labels reverse

Checking reverse (M-R) makes labels reverse

Improved the test program screenshot to look more compelling.

nc_screenshot_122508

Other updates over the last couple days: combo popups can be configured to popup above, below, centered or overlapping the entry field.

selecting value changes of check and radio buttons

selecting value changes alignment of check and radio buttons

scrolling through list changes status message at bottom

scrolling through list changes status message at bottom

Selecting Cyan (M-y) changes background or color of some widgets

Selecting Cyan (M-y) changes background or color of some widgets

Textarea updates giving meaningful events that are very close to the changes that happened (barring wrapping changes) – using InputDataEvent class.

Buttons use mnemonics for hotkeys, as well as the ampersand.

For the new year, I’ll probably work on a multi-column list, either extend the existing Listbox, or introduce a singleColumn and MultiColumn data class, as well as RowRenderers or some such simple MVC. Will try to keep it simple, yet extendable.

And before I forget, wish you all a Merry Christmas and Hannukah!

Advertisements

Written by totalrecall

December 25, 2008 at 10:01 pm

Posted in rbcurse

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: