Commit graph

37 commits

Author SHA1 Message Date
fredkiefer
ccf59ac3ca Replace some occurences of int with NSInteger
and unsigned with NSUInteger. This allows to recompile gui on 
64 bit systems after the change to NSNotFound in base.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34312 72102866-910b-0410-8b05-ffd578937521
2011-12-17 17:16:09 +00:00
ericwa
bc71005837 * Source/NSBitmapImageRep.m:
* Source/NSColor.m:
* Source/GSThemeTools.m:
* Source/NSGraphicsContext.m:
* Headers/AppKit/NSColor.h:
* Headers/AppKit/NSGraphicsContext.h:
* ColorPickers/GSGrayColorPicker.m:
* ColorPickers/GSCMYKColorPicker.m:
* ColorPickers/GSWheelColorPicker.m:
* ColorPickers/GSRGBColorPicker.m:
* ColorPickers/GSHSBColorPicker.m: Migrate float to CGFloat in
NSColor


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34070 72102866-910b-0410-8b05-ffd578937521
2011-10-26 00:21:57 +00:00
ericwa
8a5712d421 * ColorPickers/GSWheelColorPicker.m: Choose the color wheel bitmap size
by converting the bounds rect to window base coordinates


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32899 72102866-910b-0410-8b05-ffd578937521
2011-04-19 08:59:03 +00:00
fredkiefer
8cf1cd3bab Correct issues with missing or incorrect self
tests in initXXX methods pointed out by static analyser.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32588 72102866-910b-0410-8b05-ffd578937521
2011-03-14 22:59:20 +00:00
fredkiefer
9fcd522c8a Removed dead assignments found by static code analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32551 72102866-910b-0410-8b05-ffd578937521
2011-03-13 15:26:20 +00:00
fredkiefer
0713446436 Fix dead initialisation found by static analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32530 72102866-910b-0410-8b05-ffd578937521
2011-03-10 23:21:04 +00:00
fredkiefer
7c2a5cddf0 Fix memory leaks found by analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32255 72102866-910b-0410-8b05-ffd578937521
2011-02-20 22:36:49 +00:00
wlux
6ad089f443 Fix color wheel color picker to display correct image on big endian
machines.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31901 72102866-910b-0410-8b05-ffd578937521
2011-01-16 23:21:08 +00:00
ericwa
b5fc41a47b * ColorPickers/GSWheelColorPicker.m: Rewrite to draw the HSV
wheel in a bitmap. This gives a pretty large performance improvement.
* Source/NSColorPanel.m: Set a sensible min and max size for the
color panel.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31195 72102866-910b-0410-8b05-ffd578937521
2010-08-23 23:34:06 +00:00
fredkiefer
211d150a79 Remove some stupid compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30091 72102866-910b-0410-8b05-ffd578937521
2010-04-06 08:12:47 +00:00
wlux
5515a56fd2 Usability improvement: Make color and font panels key only when
necessary. Avoids annoying and unnecessary focus shifts when changing
colors or fonts.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29681 72102866-910b-0410-8b05-ffd578937521
2010-02-20 00:20:30 +00:00
nicola
b2ba810510 Minor tidy-ups of makefiles - removed some obsolete code and fixed a few typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29557 72102866-910b-0410-8b05-ffd578937521
2010-02-11 18:21:07 +00:00
ericwa
d892c00c4f Make the brightness slider for the wheel picker continuous.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29505 72102866-910b-0410-8b05-ffd578937521
2010-02-07 22:26:01 +00:00
espectador
fe8751cc67 Added translation to string 'Opacity'
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29338 72102866-910b-0410-8b05-ffd578937521
2010-01-21 01:37:23 +00:00
espectador
8e524df4fe Fixed some spanish characters
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29187 72102866-910b-0410-8b05-ffd578937521
2010-01-01 00:29:20 +00:00
espectador
52c8f9c6a4 Added ColorPickers in spanish
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29183 72102866-910b-0410-8b05-ffd578937521
2009-12-30 23:59:16 +00:00
nicola
1f1789e6f5 Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-gui
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27347 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:00:47 +00:00
nicola
63885e2dd5 Set GNUSTEP_CORE_SOFTWARE to YES so that gnustep-gui is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27334 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:45:01 +00:00
rfm
71dba184a5 Fix bug #24672
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27193 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:54:38 +00:00
fedor
ce41d782c1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
fredkiefer
8ae77cbbb3 Correct Window linking problem and add support for dynamically changing
colour slides.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25710 72102866-910b-0410-8b05-ffd578937521
2007-12-10 12:28:03 +00:00
fredkiefer
9c8d8b8015 Correct colour sliders to work in flipped views and simplified code.
Let text fields and controls pass on not used mouse down events to next
responder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25707 72102866-910b-0410-8b05-ffd578937521
2007-12-08 22:12:48 +00:00
fredkiefer
e25cceb710 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
nicola
445af8595d Updated to use GNUSTEP_INSTALLATION_DOMAIN instead of GNUSTEP_INSTALLATION_DIR; DESTDIR instead of INSTALL_ROOT_DIR; and fixed some makefile installation bugs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24094 72102866-910b-0410-8b05-ffd578937521
2006-11-15 16:59:32 +00:00
ayers
928f25d9e9 * ColorPickers/GSNamedColorPicker.m ([-browser:selectRow:inColumn:]):
Return NO as default value.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22839 72102866-910b-0410-8b05-ffd578937521
2006-04-30 08:29:58 +00:00
fedor
db3c52eab8 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
ayers
9732999fd8 Header reorganization - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
FredKiefer
eead457353 Activate GSNamedColorPicker.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17355 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:27:55 +00:00
FredKiefer
16d993a183 Removed background of image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17354 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:27:38 +00:00
FredKiefer
c2af6146e6 Now basically working.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17353 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:27:19 +00:00
FredKiefer
2f56a6a783 In [_setupPickers] release cell array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17352 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:26:58 +00:00
FredKiefer
ff41f56dea *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17350 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:25:52 +00:00
fedor
ac8269a377 Updates for filesystem change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16566 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:33:10 +00:00
michael
8df511620b Multiple commits from Michael, see ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16458 72102866-910b-0410-8b05-ffd578937521
2003-04-13 23:45:39 +00:00
CaS
eb244eff47 Fix to link properly when not already installed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15889 72102866-910b-0410-8b05-ffd578937521
2003-02-05 15:04:43 +00:00
pyr
89ef1d72c9 * Source/NSSplitView.m ([NSSplitView -resizeSubviewsWithOldSize:]):
Move code from setFrame: & resizeWithOldSuperviewSize:
  to resizeSubviewsWithOldSize:.

* Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]):
  make the window a little bit higher. Some ColorPickers would not fit.
* ColorPickers/GSCMYKColorPicker.tiff:
* ColorPickers/GSGrayColorPicker.tiff:
* ColorPickers/GSHSBColorPicker.tiff:
* ColorPickers/GSRGBColorPicker.tiff:
  resize so that the image fits within the NSButton.
  (only blank area was removed)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14868 72102866-910b-0410-8b05-ffd578937521
2002-10-29 18:00:15 +00:00
alexm
fa7a2d58f1 Add basic color picker bundles.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13761 72102866-910b-0410-8b05-ffd578937521
2002-06-02 21:00:34 +00:00