* Source/NSColorPanel.m: Remove left over GModel loading code.
Set default mode to colour wheel.
Small cleanups mostly in comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40229 72102866-910b-0410-8b05-ffd578937521
bottom wells.
* Source/NSColorWell.m (-performClick:): Add this method and use
it in -mouseUp:.
Patch by Josh Freeman <pikopixel@twilightedge.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40228 72102866-910b-0410-8b05-ffd578937521
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
the color changes. NSColorPanel is always "continuous" for now...
to support -isContinuous == NO, we need to augment the API between
the color panel and the pickers so they can send a message when
the mouse is released.
* Source/NSTextView.m: Change typing attributes in response to
colorChanged:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34105 72102866-910b-0410-8b05-ffd578937521
the magnifying glass color picker. back/x11 isn't displaying
the cursor at the moment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33543 72102866-910b-0410-8b05-ffd578937521
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
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
Also remove the NSMiniaturizableWindowMask from NSFontPanel.
This makes the panels behave as they do on Mac OS.
Feel free to revert/discuss if you disagree with this.. :-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31081 72102866-910b-0410-8b05-ffd578937521
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
- activation of the now happens on mouseUp, not mouseDown
- non-bordered NSColorWells can't be activated by clicking
- non-bordered NSColorWells start a drag operation upon mouseDown
- disabled NSColorWells don't accept colours being dropped on them
- dropping a colour on the well inside the NSColorPanel now
also updates the active NSColorWell
Also moved the static variable for keeping track of where the mouseDown
occurred to an instance variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29150 72102866-910b-0410-8b05-ffd578937521
new tracking code. The menu feels snappier now (at least for me).
* Source/NSColorWell.m ([-activate:], [-deactivate])
register/unregister for NSColorPanelColorChangedNotification.
([NSColorWell _takeColorFromPanel:]): new method to prevent endless
loop when setting the well's color from the color panel.
([NSColorWell -initWithCoder:]): register for NSColorPboardType.
* Source/NSColorPanel.m ([NSColorPanel -_bottomWellAction:]):
called when hitting one of the well at the bottom of the panel.
Previous behaviour would not send a
NSColorPanelColorChangedNotification.
([NSColorPanel -initWithCoder:]): update bottom wells construction to
call _bottomWellAction: instead of takeColorFrom:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14853 72102866-910b-0410-8b05-ffd578937521
reference to GMModel, with more general call on NSBundle. (This is
commented out, but some time in the futur we might use NIB files)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9661 72102866-910b-0410-8b05-ffd578937521
don't retain target. In [sharedColorPanel] the picker mode is used
only to create the panel, not each time the panel is shown. Show
the alpha value multiplied by 100.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8499 72102866-910b-0410-8b05-ffd578937521
The config.h files should not be installed with the other
header files; it is only used for compilation, so the source
files should include it not the header files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2439 72102866-910b-0410-8b05-ffd578937521
Each header file includes only the header files it needs and it uses
@class to forward reference a class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2189 72102866-910b-0410-8b05-ffd578937521
support into SUPPORT file.
Additional NSImage work.
Added resources for common TIFF images.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1869 72102866-910b-0410-8b05-ffd578937521