Commit graph

47 commits

Author SHA1 Message Date
Fred Kiefer
a047b10a51
16bit (#123)
* Fix compiler warnings

* Attempt to sort out byte order for 15 bit images.

* Try to get integer types from standard location

* Remove extra swap code by using more complex condition.
Thanks to Riccardo Mottola.
2021-11-08 22:46:25 +01:00
Riccardo Mottola
02af4bbcd9 Add russian translation 2017-08-09 01:45:05 +02:00
Alex
fa2fabb5b7 Add Polish translation. 2017-08-06 18:41:16 +00:00
Alex
b0b5e51a1e Add German translation for ColorPickers's StandardPicker.strings 2017-08-04 12:41:07 +01:00
Fred Kiefer
0f94132171 * Source/NSMatrix.m: Warn about wrong cell array size on
row/column insert, as Cocoa does.
        Clean up and more NSInteger changes.
        * ColorPickers/GSStandardColorPicker.m,
        * Source/NSColorPanel.m (-_setupPickers): Prevent warning from
        NSMatrix.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38883 72102866-910b-0410-8b05-ffd578937521
2015-08-14 12:52:09 +00:00
Eric Wasylishen
7e6fef4418 * ColorPickers/GSColorSliderCell.m (-drawBarInside:flipped:):
Set alpha to 1 before drawing because the current value could be
not 1, and PSsetrgbcolor doesn't set it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37235 72102866-910b-0410-8b05-ffd578937521
2013-10-15 17:57:24 +00:00
Sebastian Reitenbach
63aa317bd8 * ColorPickers/GSColorSliderCell.m
more float -> CGFloat transitions

like the one before, OK Fred



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36239 72102866-910b-0410-8b05-ffd578937521
2013-03-02 18:07:47 +00:00
David Chisnall
40fb48e5de Next bit of NSInteger cleanup for -gui.
Fix all of the current warnings in Gorm so that it can be used to test
NSInteger things.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36039 72102866-910b-0410-8b05-ffd578937521
2013-01-30 12:43:27 +00:00
David Chisnall
4850a9feac Fix all current compiler warnings on FreeBSD/x86-64.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36038 72102866-910b-0410-8b05-ffd578937521
2013-01-30 09:48:54 +00:00
Fred Kiefer
ac6909e871 Merged changes from gnustep_testplant_branch branch and cleaned them up
a bit.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35417 72102866-910b-0410-8b05-ffd578937521
2012-08-17 13:16:12 +00:00
Fred Kiefer
8ad4aa86c4 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
Eric Wasylishen
25c6770196 * 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
Eric Wasylishen
dd335948b1 * 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
Fred Kiefer
2e738f7ba2 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
Fred Kiefer
b7d056ae43 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
Fred Kiefer
b216539303 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
Fred Kiefer
6daffd89d7 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
Wolfgang Lux
8e4ca1e17e 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
Eric Wasylishen
f44eeebd53 * 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
Fred Kiefer
03cdf3355c 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
Wolfgang Lux
61187ead14 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 Pero
fba094c591 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
Eric Wasylishen
64756bf553 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
Germán Arias
f59546bebf 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
Germán Arias
dd19af06f4 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
Germán Arias
bb004206c3 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 Pero
041abd2cdd 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 Pero
8326c8fb5e 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
Richard Frith-MacDonald
74aae24e15 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
Adam Fedor
7afdd32ac1 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
Fred Kiefer
f22c862811 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
Fred Kiefer
ec5e0a3c38 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
Fred Kiefer
193e31e678 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 Pero
fb51fe62fe 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
David Ayers
66fd293df6 * 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
Adam Fedor
303dd1baf9 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
David Ayers
b18f1c4ac4 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
Fred Kiefer
f54c12a2c5 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
Fred Kiefer
c10e3fe9f7 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
Fred Kiefer
52965d1804 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
Fred Kiefer
2bf8409c3d 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
Fred Kiefer
5e14596773 *** 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
Adam Fedor
0de7e778fe 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 Silva
e9ccc289d5 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
Richard Frith-Macdonald
90078d0392 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
Pierre-Yves Rivaille
ed7570937a * 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
Alexander Malmberg
58ffd50370 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