[ENH] NewLook-dgd
ducasse at iam.unibe.ch
ducasse at iam.unibe.ch
Sat Nov 8 15:06:56 UTC 2003
from preamble:
"Change Set: NewLook-dgd
Date: 23 June 2003
Author: Diego Gomez Deck <DiegoGomezDeck at ConsultAr.com>
SystemWindow Changes
- a couple of small enhancements to system windows
-- boxes sizes based on title font
-- title area color more '3d'
-- alternative boxes look
Menus Changes
- change the menu color to a gradient one
-- see MenuMorph>>updateColor and senders
-- new Preference's option called gradientMenu
- change the menu item selected fillstyle
-- see MenuItemMorph>>selectionFillStyle and senders
- menui tems can have an icon
-- see MenitItemMorph>>icon, MenitItemMorph>>icon:,
MenitItemMorph>>hasIcon and MenitItemMorph>>drawOn:
-- MenitItemMorph>>minWidth and MenitItemMorph>>minHeight consider the
icon (if it's present)
- add a set of icons to the world menu.
-- new Preference's option named menuWithIcons (in menus category)
-- see class MenuIcons
-- a set of icons with an appropiate license is needed
- new Preference's option named #menuAppearance3d. this new option
uncouple the 3d appareance behaviour from menuColorFromWorld option. now
each option handle 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 preference parameter named #menuLineColor.
-- remove of unsed preferences (#menuLineLowerColor and
#menuLineUpperColor)
ScroolBar Changes
- the size of the scrollbars is base 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
- an cache is included to speed-up the time to get the images
-- see LRUCache and references to it
- two new 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
"
Preferences enable: #scrollBarsNarrow.
Preferences
addPreference: #alternativeWindowBoxesLook
category: #windows
default: true
balloonHelp: 'If true, use an alternative look for Window''s boxes.'.
Preferences
addPreference: #menuWithIcons
category: #menus
default: true
balloonHelp: 'If true, the menus will include some icons.'.
Preferences
addPreference: #gradientMenu
category: #menus
default: true
balloonHelp: 'If true, the menus will have a gradient look.'.
Preferences
addPreference: #menuAppearance3d
category: #menus
default: true
balloonHelp: 'If true, the menus will be painted with a appearance
3d.'.
Preferences
addPreference: #gradientScrollBars
categories: #(#scrolling)
default: true
balloonHelp: 'If true, the scrollbars will use a gradient look.'
projectLocal: false
changeInformee: ScrollBar
changeSelector: #changesInPreferences.
Preferences
addPreference: #alternativeButtonsInScrollBars
categories: #(#scrolling)
default: false
balloonHelp: 'If true, the buttons of scrollbars will use an
alternative set of icons.'
projectLocal: false
changeInformee: ScrollBar
changeSelector: #changesInPreferences.
!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NewLook-dgd.cs.gz
Type: application/octet-stream
Size: 32810 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031108/f7e8741c/NewLook-dgd.cs.obj
More information about the Squeak-dev
mailing list
|