PDA

View Full Version : Woopsi - Amiga-esque Windowing System v0.33b



wraggster
May 23rd, 2008, 22:21
Ant512 has released anew version of Woopsi the Amiga-esque Windowing System for the DS:

http://www.sourceforge.net/projects/woopsi

Version 0.33b now out. Full changelog:

- Fixes:
- Gadget::click() checks correct class variable for double click timer.
- Deleted ListBoxItem class.
- Removed "closable" from gadget flags.
- SkinnedWindow resizes titlebar correctly.
- Wired up SkinnedWindow depth button visibility to skin data.
- More consistent names for SkinnedScreen button pointers.
- Added missing GraphicsPort::drawPixel() functions.
- Made char pointers const-correct for devkitPro r23 compatibility.
- System makes copies of string data where appropriate.
- Removed duplicate title string pointer from window classes.
- SkinnedWindow only drags when titlebar clicked, not any border gadget.
- Fixed crash when gadget closed but parent subsequently points one of its pointers back at it.
- Fixed checkbox incorrectly setting font pointer instead of leaving it to
the base class.
- Fixed overflow in slider grip position calculations.
- Slider grip moves one page width/height when the gutter is clicked.
- Scrollbar buttons default to adjusting grip value by 1.
- Gadget::addGadget() checks to see if new children want to steal the focus and will grant it if necessary.
- Focus and blur propagate throughout the gadget ancestor list even if a gadget along the way already has focus (or not).
- Moved _clickedGadget pointer into Woopsi class and deleted all other
occurences.
- Changed _clickedGadget handling so that release works with the single pointer in Woopsi.
- Windows drag correctly if only one co-ordinate has changed.
- Screen title bar no longer steals focus when clicked.
- Text::wrap() recognises the end of a single-line string correctly.
- BitmapButton inherits from Gadget instead of Textbox.
- AnimButton inherits from Gadget instead of Textbox.
- Textbox no longer redraws when clicked; functionality moved into Button and ContextMenuItem classes.
- Removed redundant DecorationGlyphButton::release().
- Fixed tense in DS lid close/open events, so the events are now called
"EVENT_LID_CLOSE" and "EVENT_LID_OPEN", and the methods to work with them are called "raiseLidCloseEvent()", "raiseLidOpenEvent()", "lidClose()" and "lidOpen()".

- New Features:
- ListBox rewritten to be a single gadget instead of a compound gadget.
- ListBox allows multiple selection.
- Added extra flags to AmigaWindow and SkinnedWindow classes allowing close and depth gadgets to be hidden when gadgets are constructed.
- AmigaWindow allows depth and close buttons to be shown/hidden at will.
- SkinnedWindow allows depth and close buttons to be shown/hidden at will.
- Screen constructor accepts flags parameter.
- AmigaScreen constructor accepts flags parameter.
- SkinnedScreen constructor accepts flags parameter.
- AmigaScreen allows depth and flip buttons to be shown/hidden at will.
- SkinnedScreen allows depth and flip buttons to be shown/hidden at will.
- Added ScrollingListBox class.
- Added DefaultStyle class for control over gadget default colours.
- Added DimmedScreen class to the bonus folder.
- Added Requester class.
- Added FileRequester class to the bonus folder.
- Added Window and Screen setTitle() methods.
- Added drawEllipse() to the SuperBitmap class.
- Added drawFilledEllipse() to the SuperBitmap class.
- Added ListData class.
- Added FilePath class to bonus folder
- Added gadget test screen to demo.
- Added release-outside event that fires if the stylus is released outside the boundaries of the gadget.
- Added eventVX and eventVY to EventArgs struct.
- Drag and move events populate eventVX and eventVY EventArgs properties.
- Added EVENT_ACTION event.
- Button, AnimButton and BitmapButton all raise EVENT_ACTION events.
- CycleGadget raises EVENT_VALUE_CHANGE events when released if the value has changed.
- ScrollbarVertical up/down buttons repeat when held.
- ScrollbarHorizontal left/right buttons repeat when held.

Download and Give Feedback Via Comments

jaws365
May 24th, 2008, 00:14
Nice!!! This is getting better and better. Will it be able to play music files and boot NDS roms sometime?

FuturePkz
July 2nd, 2008, 22:16
GIGITY GIGITY GOOO!!!! this is smexy