[ENH] NewLook ( [cd] detailed changelog )

bvukmer at blackboard.com bvukmer at blackboard.com
Thu Jun 26 12:24:14 UTC 2003


This is the changeset preamble, *very* lightly edited for typos etc.

SystemWindow Changes
- Made a couple of small enhancements to system windows
-- Box sizes are now based on title font
-- The title area color looks more '3d'
-- Provided an alternative boxes look

Menus Changes
- Change the menu color to a gradient one
-- See MenuMorph>>updateColor and senders
-- New Preferences option called gradientMenu

- Change the menu item selected fillstyle
-- See MenuItemMorph>>selectionFillStyle and senders

- Menu items can have an icon
-- See MenuItemMorph>>icon, MenuItemMorph>>icon:, MenuItemMorph>>hasIcon
and MenuItemMorph>>drawOn:
-- MenuItemMorph>>minWidth and MenuItemMorph>>minHeight consider the
icon (if it's present)

- Adds a set of icons to the world menu.
-- New Preferences option named menuWithIcons (in menus category)
-- See class MenuIcons
-- NOTE: A set of icons with an appropiate license is needed

- New Preferences option named #menuAppearance3d. 
-- This new option uncouples the 3d appearance behaviour from
menuColorFromWorld option
-- Now each option handles an aspect
-- It's possible to have a flat menu with the color from the world, a 3d
menu with a color different from the world, etc.

- New Preferences parameter named #menuLineColor.
-- Removed unused preferences (#menuLineLowerColor and
#menuLineUpperColor)

ScrollBar Changes
- The size of the scrollbars is based on the default font height
- New gradient option for the scrollbar's buttons
- New set of icons for the scrollbar's buttons
- The slider get 'pressed' when it's dragged
- A cache is included to speed-up the time to get the images
-- see LRUCache and references to it
- Two new scrollbar Preferences options:
-- gradientScrollBars: use a gradient look
-- alternativeButtonsInScrollBars: use an alternative set of arrows


FillInTheBlank Changes

- FillInTheBlankMorph uses the menu look preferences
- defaultAnswerExtent proportional to menu font
- red/green for [accept] and [cancel] buttons













< I'm a bug-fixing machine! >

This post brought to you by the BugFixArchiveViewer, a handy tool that
makes it easy to comment on proposed fixes and enhancements for Squeak. 
For more information, check out the Web page for the BugFixArchiveViewer
project: http://minnow.cc.gatech.edu/squeak/3214 

< I'm a bug-fixing machine! >



More information about the Squeak-dev mailing list