Gregory John Casamento
50c93b82e2
2011-06-09 13:49-EDT Gregory John Casamento <greg.casamento@gmail.com>
...
* Source/GSTheme.m: Move notifications handling code to
setTheme: instead and add code which deactivates the notifications
and then starts listening again after activate is called.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33267 72102866-910b-0410-8b05-ffd578937521
2011-06-09 17:51:39 +00:00
Gregory John Casamento
a56d2d4fc9
2011-06-09 13:43-EDT Gregory John Casamento <greg.casamento@gmail.com>
...
* Source/GSTheme.m: Move call to listen to default changes to
activate instead of +initialize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33266 72102866-910b-0410-8b05-ffd578937521
2011-06-09 17:46:36 +00:00
David Chisnall
87d2bfba5f
More unsigned < 0 tests.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32351 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:28:20 +00:00
Eric Wasylishen
26fcda321b
Replace sel_eq with sel_isEqual
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31285 72102866-910b-0410-8b05-ffd578937521
2010-09-09 23:50:38 +00:00
Gregory John Casamento
cefa1b53e7
* Source/GSTheme.m: remove forward declaration for _setArchiveByName
...
from NSImage category.
* Source/NSImage.m: Added code in _setImage:forName: to archive
by name instead.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31075 72102866-910b-0410-8b05-ffd578937521
2010-08-03 21:11:00 +00:00
Gregory John Casamento
6d682ee88e
2010-07-22 19:35-EDT Gregory John Casamento <greg.casamento@gmail.com>
...
* Source/GSTheme.m: Call method _setArchiveByName: with YES so that
images loaded by a theme will not be persisted as image data, but
rather as references. This will avoid an issue with saving theme
images when saving files in Gorm while a theme is loaded.
* Source/NSImage.m: Added method _setArchiveByName:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31021 72102866-910b-0410-8b05-ffd578937521
2010-07-22 23:27:36 +00:00
Richard Frith-MacDonald
046be50f74
Attempt fix for Riccardos's latest issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30328 72102866-910b-0410-8b05-ffd578937521
2010-05-09 06:55:33 +00:00
Eric Wasylishen
0d365b7d10
NSBrowser header themeing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30189 72102866-910b-0410-8b05-ffd578937521
2010-04-19 03:14:36 +00:00
Fred Kiefer
00ab729bdd
Next bit of #include -> #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30029 72102866-910b-0410-8b05-ffd578937521
2010-03-24 09:18:14 +00:00
Richard Frith-MacDonald
95f7b942b9
make non-standard images persist oafter theme has unloaded, in case anything
...
in the gui is still using them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29851 72102866-910b-0410-8b05-ffd578937521
2010-03-05 10:43:40 +00:00
Richard Frith-MacDonald
2b38d4019a
Updates for changes in base
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29839 72102866-910b-0410-8b05-ffd578937521
2010-03-05 05:18:39 +00:00
Eric Wasylishen
411d3e27bc
NSColorWell themeing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29594 72102866-910b-0410-8b05-ffd578937521
2010-02-12 23:09:35 +00:00
Eric Wasylishen
e086eb3dbe
Draw borders using image tiles, if available.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29503 72102866-910b-0410-8b05-ffd578937521
2010-02-07 21:42:50 +00:00
Eric Wasylishen
82d6f25159
Add GSThemeDisabledState
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29455 72102866-910b-0410-8b05-ffd578937521
2010-02-01 08:26:40 +00:00
Eric Wasylishen
1d764b8771
Use theme tiles (if available) to draw progress bars.
...
New tile name: GSProgressIndicatorBarDeterminate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29453 72102866-910b-0410-8b05-ffd578937521
2010-02-01 06:20:11 +00:00
Eric Wasylishen
7225f6e380
Use theme tiles (if available) to draw menu backgrounds and items.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29447 72102866-910b-0410-8b05-ffd578937521
2010-01-30 05:00:29 +00:00
Eric Wasylishen
ffc734898c
Use theme tiles (if available) to draw table headers. New tile names are
...
GSTableHeader and GSTableCorner.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29444 72102866-910b-0410-8b05-ffd578937521
2010-01-29 22:21:34 +00:00
Eric Wasylishen
a3835dbe56
Add support for looking up button tiles based on bezel style
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29441 72102866-910b-0410-8b05-ffd578937521
2010-01-29 08:08:10 +00:00
David Chisnall
3c7a52388a
Made GSTheme implement fast forwarding. Should speed things up a lot with the new ABI.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29052 72102866-910b-0410-8b05-ffd578937521
2009-11-23 23:13:26 +00:00
Richard Frith-MacDonald
47f9930e07
tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29044 72102866-910b-0410-8b05-ffd578937521
2009-11-20 13:36:46 +00:00
Richard Frith-MacDonald
9abe733e93
tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29043 72102866-910b-0410-8b05-ffd578937521
2009-11-20 12:55:57 +00:00
Richard Frith-MacDonald
2f3ba4d843
Support overriding of methods in any class by the theme.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29042 72102866-910b-0410-8b05-ffd578937521
2009-11-20 12:13:10 +00:00
Richard Frith-MacDonald
f2a8d1d58c
api cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29039 72102866-910b-0410-8b05-ffd578937521
2009-11-19 20:37:43 +00:00
Richard Frith-MacDonald
09c902f201
theming cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29024 72102866-910b-0410-8b05-ffd578937521
2009-11-16 14:28:11 +00:00
Fred Kiefer
eecdf96f4b
Extract a few more drawing and colour methods to GSTheme.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28937 72102866-910b-0410-8b05-ffd578937521
2009-11-02 11:48:22 +00:00
Richard Frith-MacDonald
f43122287f
Add method to return theme version
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28883 72102866-910b-0410-8b05-ffd578937521
2009-10-26 09:48:08 +00:00
Richard Frith-MacDonald
bded0c0c91
fixup fill style name conversion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28849 72102866-910b-0410-8b05-ffd578937521
2009-10-19 14:09:05 +00:00
Richard Frith-MacDonald
7e3fc6af79
Tweak last change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28846 72102866-910b-0410-8b05-ffd578937521
2009-10-19 10:49:10 +00:00
Richard Frith-MacDonald
16ee679c7e
add functions for handling fill style names
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28845 72102866-910b-0410-8b05-ffd578937521
2009-10-19 10:34:55 +00:00
Richard Frith-MacDonald
d2e616cb73
minor fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28843 72102866-910b-0410-8b05-ffd578937521
2009-10-19 07:44:22 +00:00
Nicolas Roard
36e94f001e
Added 'NinePatch' drawing style, more efficient drawing and fixed bugs.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28841 72102866-910b-0410-8b05-ffd578937521
2009-10-19 03:19:01 +00:00
Richard Frith-MacDonald
a49d3efb05
give theme more control over drawing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28839 72102866-910b-0410-8b05-ffd578937521
2009-10-18 16:23:34 +00:00
Nicolas Roard
2c3f0453ee
Refactoring of GSDrawTiles to let it draw itself, and added a new init method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28838 72102866-910b-0410-8b05-ffd578937521
2009-10-18 14:21:57 +00:00
Richard Frith-MacDonald
73197a77aa
Fixup color changes on theme activation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28803 72102866-910b-0410-8b05-ffd578937521
2009-10-12 09:09:59 +00:00
Richard Frith-MacDonald
2be2de6735
Fix bug setting name of an image which already has a name. Added thread safety
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28743 72102866-910b-0410-8b05-ffd578937521
2009-09-27 08:54:03 +00:00
Richard Frith-MacDonald
084c8a8663
tweak theme image handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28565 72102866-910b-0410-8b05-ffd578937521
2009-08-28 09:48:00 +00:00
Richard Frith-MacDonald
eafa573824
Add trivial debug for tracking activation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28557 72102866-910b-0410-8b05-ffd578937521
2009-08-27 17:13:31 +00:00
Richard Frith-MacDonald
452ffee567
Small theme update, plus documentation fixes and tweaks to avoid warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28538 72102866-910b-0410-8b05-ffd578937521
2009-08-25 07:46:37 +00:00
Richard Frith-MacDonald
25dc9dc650
fix for bug #25553 reported by Lu Liyi
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27842 72102866-910b-0410-8b05-ffd578937521
2009-02-11 08:32:50 +00:00
Richard Frith-MacDonald
570b8a4963
Reorganize location of theme proxy code. Add some more comments too.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27831 72102866-910b-0410-8b05-ffd578937521
2009-02-10 14:32:08 +00:00
Richard Frith-MacDonald
2c9b33a1a9
limit size of theme icon
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27805 72102866-910b-0410-8b05-ffd578937521
2009-02-07 09:28:55 +00:00
Richard Frith-MacDonald
01578fe688
Some image tiling improvments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27801 72102866-910b-0410-8b05-ffd578937521
2009-02-06 15:08:14 +00:00
Richard Frith-MacDonald
774a9ec1d4
Fix typo in method to set parent window of a child, optimise color handling in themes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27742 72102866-910b-0410-8b05-ffd578937521
2009-01-31 09:59:32 +00:00
Richard Frith-MacDonald
ab54f4450e
per-window menu setting tweaks.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27686 72102866-910b-0410-8b05-ffd578937521
2009-01-25 13:47:30 +00:00
Richard Frith-MacDonald
fe56a68e5e
Fix nil pointer exception
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27559 72102866-910b-0410-8b05-ffd578937521
2009-01-08 11:30:16 +00:00
Richard Frith-MacDonald
aca8c4b62c
Improve color control for theming
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27546 72102866-910b-0410-8b05-ffd578937521
2009-01-07 06:50:14 +00:00
Richard Frith-MacDonald
2f75abcf2e
Add support for temporary elements which go away when the theme is deactivated.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27528 72102866-910b-0410-8b05-ffd578937521
2009-01-06 05:08:58 +00:00
Richard Frith-MacDonald
62492a9158
Some moves towards making scrollers more themable
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27518 72102866-910b-0410-8b05-ffd578937521
2009-01-05 09:43:25 +00:00
Richard Frith-MacDonald
99adecef26
Add names for gui elements within a larger control.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27517 72102866-910b-0410-8b05-ffd578937521
2009-01-05 06:51:59 +00:00
Richard Frith-MacDonald
0b5106a41b
Some cleanups for GSTheme
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27496 72102866-910b-0410-8b05-ffd578937521
2009-01-02 10:12:25 +00:00