mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 21:50:46 +00:00
* Images/common_DimpleH.tiff: Horizontal image for dimple. This
image is not different from the vertical dimple for the default theme. It's here so that it can be overriden by a theme, if needed. * Images/GNUmakefile: Add new image. * Source/GSThemeDrawing.m: Modify code in cellForScrollerKnob to use common_Dimple.tiff or common_DimpleH.tiff depending on the orientation of the scroller. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28567 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e91677691b
commit
b376b80f9e
4 changed files with 15 additions and 1 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2009-08-28 17:19-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
|
* Images/common_DimpleH.tiff: Horizontal image for dimple. This
|
||||||
|
image is not different from the vertical dimple for the default
|
||||||
|
theme. It's here so that it can be overriden by a theme, if
|
||||||
|
needed.
|
||||||
|
* Images/GNUmakefile: Add new image.
|
||||||
|
* Source/GSThemeDrawing.m: Modify code in cellForScrollerKnob
|
||||||
|
to use common_Dimple.tiff or common_DimpleH.tiff depending
|
||||||
|
on the orientation of the scroller.
|
||||||
|
|
||||||
2009-08-28 Richard Frith-Macdonald <rfm@gnu.org>
|
2009-08-28 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/GSTheme.m: Fixes to properly restore previous common images
|
* Source/GSTheme.m: Fixes to properly restore previous common images
|
||||||
|
|
|
@ -88,6 +88,7 @@ common_UpAndDownArrowSmall.tiff \
|
||||||
common_DownArrowSmall.tiff \
|
common_DownArrowSmall.tiff \
|
||||||
common_Nibble.tiff \
|
common_Nibble.tiff \
|
||||||
common_Dimple.tiff \
|
common_Dimple.tiff \
|
||||||
|
common_DimpleH.tiff \
|
||||||
common_ret.tiff \
|
common_ret.tiff \
|
||||||
common_retH.tiff \
|
common_retH.tiff \
|
||||||
common_Unknown.tiff \
|
common_Unknown.tiff \
|
||||||
|
|
BIN
Images/common_DimpleH.tiff
Normal file
BIN
Images/common_DimpleH.tiff
Normal file
Binary file not shown.
|
@ -348,15 +348,17 @@
|
||||||
|
|
||||||
cell = [NSButtonCell new];
|
cell = [NSButtonCell new];
|
||||||
[cell setButtonType: NSMomentaryChangeButton];
|
[cell setButtonType: NSMomentaryChangeButton];
|
||||||
[cell setImage: [NSImage imageNamed: @"common_Dimple"]];
|
|
||||||
[cell setImagePosition: NSImageOnly];
|
[cell setImagePosition: NSImageOnly];
|
||||||
if (horizontal)
|
if (horizontal)
|
||||||
{
|
{
|
||||||
[self setName: GSScrollerHorizontalKnob forElement: cell temporary: YES];
|
[self setName: GSScrollerHorizontalKnob forElement: cell temporary: YES];
|
||||||
|
[cell setImage: [NSImage imageNamed: @"common_Dimple"]];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
[self setName: GSScrollerVerticalKnob forElement: cell temporary: YES];
|
[self setName: GSScrollerVerticalKnob forElement: cell temporary: YES];
|
||||||
|
[cell setImage: [NSImage imageNamed: @"common_DimpleH"]];
|
||||||
|
|
||||||
}
|
}
|
||||||
RELEASE(cell);
|
RELEASE(cell);
|
||||||
return cell;
|
return cell;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue