Commit graph

174 commits

Author SHA1 Message Date
Gregory Casamento
61ff6962df Add common_MenuToolbarItem.tiff and corresponding mapping 2024-05-04 06:21:28 -04:00
Jamie Ramone
c43bbb8a81
Update nsmapping.strings (#266)
Fixed the visual menu/browser arrow glitch where it didn't change the image when highlighted. This file was missing the "common_3DArrowRightH = NSHighlightedMenuArrow;" line.
2024-04-26 09:59:25 +02:00
Sergii Stoian
9a58a93ee5 * Images/common_StepperDown.tiff,
* Images/common_StepperDownHighlighted.tiff,
* Images/common_StepperUp.tiff,
* Images/common_StepperUpHighlighted.tiff: new images with arrows
similar to scroll view buttons'.

* Source/GSThemeDrawing.m (stepperUpButtonRectWithFrame:),
(stepperDownButtonRectWithFrame:): center buttons horizontally; simplify
and cleanup.

* Source/NSStepper.m (acceptsFirstResponder): return NO. Returning
YES makes sense only if `keyDown:` is implemented.
(acceptsFirstMouse:): return YES.

* Source/NSStepperCell.m (cellSize): initial implementation. Retruns
minimum size based on up and button sizes.
2020-01-10 15:46:22 +02:00
Sergii Stoian
130018ae63 Make old cursor images to be installed. 2019-05-10 14:23:16 +03:00
Sergii Stoian
dc766834f6 Old cursor images mapping was removed from nsmapping.strings. 2019-05-10 14:19:27 +03:00
Sergii Stoian
31446eb0f9 Revert "Unused images were removed."
This reverts commit 18aa6980c6.
2019-05-10 14:14:51 +03:00
Sergii Stoian
22f5fa78d4 * Images/GNUmakefile (Images_RESOURCE_FILES): Update resource
list according to cursor images addition/removal.
2019-04-17 18:54:10 +03:00
Sergii Stoian
18aa6980c6 Unused images were removed. 2019-04-17 17:48:18 +03:00
Sergii Stoian
315e04e1f0 New cursor images were added. 2019-04-17 17:46:45 +03:00
Riccardo Mottola
f239292cb8 clean alpha channel of images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39688 72102866-910b-0410-8b05-ffd578937521
2016-04-21 07:49:51 +00:00
Riccardo Mottola
527e90ca73 resize clean to 48x48
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39654 72102866-910b-0410-8b05-ffd578937521
2016-04-08 23:24:25 +00:00
Riccardo Mottola
f2698c83e0 resize clean to 48x48
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39653 72102866-910b-0410-8b05-ffd578937521
2016-04-08 23:05:25 +00:00
Riccardo Mottola
a26b5a6b25 Add Application folder (patch by Bertrand Dekoninck)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39627 72102866-910b-0410-8b05-ffd578937521
2016-04-06 01:01:58 +00:00
Riccardo Mottola
5412c14ee1 try to cleanup alpha channel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39626 72102866-910b-0410-8b05-ffd578937521
2016-04-06 00:33:41 +00:00
Riccardo Mottola
c450544e03 try to cleanup alpha channel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39625 72102866-910b-0410-8b05-ffd578937521
2016-04-06 00:18:35 +00:00
Riccardo Mottola
c51df6b189 new video folder icon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39517 72102866-910b-0410-8b05-ffd578937521
2016-03-10 10:35:54 +00:00
Riccardo Mottola
2f7b7f4249 add new Cocoa images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39500 72102866-910b-0410-8b05-ffd578937521
2016-03-09 14:12:57 +00:00
Riccardo Mottola
d6f8d9ff7c resaved
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39499 72102866-910b-0410-8b05-ffd578937521
2016-03-09 14:08:04 +00:00
Riccardo Mottola
79e6bc01af Add NSImageNameColorPanel named image
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39450 72102866-910b-0410-8b05-ffd578937521
2016-03-04 00:10:16 +00:00
Riccardo Mottola
3ac59cea1d Provide NSImageNameTrashEmpty NSImageNameTrashFull NSImageNameMultipleDocuments image, both constants and actual icon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39183 72102866-910b-0410-8b05-ffd578937521
2015-11-18 23:05:00 +00:00
Fred Kiefer
6d27cf76b1 * Images/NSRemoveTemplate.tiff: Add file.
* Images/GNUmakefile: Handle new file.
        * Source/GSXibLoader.m: Better error reporting for wrong
        application class.
        * Source/NSOutline.m (-drawRow:clipRect:): Don't set the value
        for the edited cell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38408 72102866-910b-0410-8b05-ffd578937521
2015-03-15 23:31:43 +00:00
Eric Wasylishen
5c7627d474 * Images/common_SliderHoriz.tiff:
* Images/common_SliderVert.tiff: Bake in the control background
color because the NSSliderCell now draws these without filling
with [NSColor controlBackgroundColor] first.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37250 72102866-910b-0410-8b05-ffd578937521
2013-10-18 02:42:50 +00:00
Eric Wasylishen
77b7b9558e * Source/GSThemeDrawing.m: Change stepper drawing methods to use
images. The stepper is too small to make decomposing it in to
border + bezel + arrow worthwhile; it's simpler to just use images.
* Images/GNUmakefile:
* Images/common_StepperDown.tiff:
* Images/common_StepperDownHighlighted.tiff:
* Images/common_StepperUp.tiff:
* Images/common_StepperUpHighlighted.tiff: Add stepper images


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37229 72102866-910b-0410-8b05-ffd578937521
2013-10-14 20:52:55 +00:00
Eric Wasylishen
7d7cac6780 * Source/GSThemeDrawing.m: Rewrite tab drawing code to be more
organized, lay out the images in a straightforward way, and
allow themeing the fill part of the tab between the end images.
The output is almost pixel-identical to
the old code (only some unnoticable 1-pixel differences
in where shadows end). It's also organized so that adding support
for left and right tabs should be easy.
* Headers/Additions/GNUstepGUI/GSTheme.h: Add some part names
* Images/common_Tab*.tiff: Tweak to work with the new layout code.
All top images are now the same size, as are all bottom images.
* Images/GNUmakefile:
* Images/common_TabUnSelectToSelectedJunction.tiff: Renamed to
Images/common_TabUnSelectedToSelectedJunction.tiff
* Source/GSThemePrivate.h:
* Source/GSTheme.m: Add GSStringFromTabViewType utility function


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37205 72102866-910b-0410-8b05-ffd578937521
2013-10-08 08:01:23 +00:00
Quentin Mathe
4db314841a Fixed missing theme images if not listed in the theme bundle Info.plist.
Theme bundles that contain theme images named using either GNUstep or 
OPENSTEP names now work properly again (bug introduced in r36836).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36916 72102866-910b-0410-8b05-ffd578937521
2013-07-22 15:24:32 +00:00
Riccardo Mottola
84475d435d Do not remap GNUstep image itself.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36894 72102866-910b-0410-8b05-ffd578937521
2013-07-15 22:02:56 +00:00
Quentin Mathe
da2351d2b2 Added support for providing custom theme control images (e.g. checkbox) in the same way we support it for tiles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36836 72102866-910b-0410-8b05-ffd578937521
2013-07-04 15:46:11 +00:00
Eric Wasylishen
d1231704e8 Add NSInfo image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36320 72102866-910b-0410-8b05-ffd578937521
2013-03-09 23:07:46 +00:00
Eric Wasylishen
51e255fffe * Images: Add NSAddTemplate.tiff
* Images/GNUmakefile: Update


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35001 72102866-910b-0410-8b05-ffd578937521
2012-03-27 04:02:02 +00:00
Eric Wasylishen
d81adfe61d * Images/common_ToolbarClippedItemsMark.tiff: Revert to older
version because 48x48 scaled version looks too big. Also add
high-DPI version.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34673 72102866-910b-0410-8b05-ffd578937521
2012-01-31 02:15:12 +00:00
Fred Kiefer
598ea8d989 * Images/common_ToolbarClippedItemsMark.tiff: Revert to an older
version, scaled up to 48x48.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34649 72102866-910b-0410-8b05-ffd578937521
2012-01-27 21:06:13 +00:00
Eric Wasylishen
addf80b350 * Images/nsmapping.strings: Add a few more mappings, including toolbar images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34193 72102866-910b-0410-8b05-ffd578937521
2011-11-18 22:15:06 +00:00
Eric Wasylishen
8dc626f845 * Images/common_RadioOn.tiff:
* Images/common_RadioOff.tiff: Add high-dpi versions


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33685 72102866-910b-0410-8b05-ffd578937521
2011-08-03 03:15:34 +00:00
Eric Wasylishen
3ad54a9a3c * Images/common_SwitchOff.tiff:
* Images/common_SwitchOn.tiff:
* Images/common_2DCheckMark.tiff: Add a few more high-res images


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33679 72102866-910b-0410-8b05-ffd578937521
2011-08-02 08:19:45 +00:00
Eric Wasylishen
b3f1a4fee3 Missed images in last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33320 72102866-910b-0410-8b05-ffd578937521
2011-06-16 21:07:33 +00:00
Eric Wasylishen
a2649030db Ensure both sub-images have the same colorspace
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33319 72102866-910b-0410-8b05-ffd578937521
2011-06-16 20:56:13 +00:00
Eric Wasylishen
26de455df5 * Images/common_3DArrowRightH.tiff: Add high-res version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33318 72102866-910b-0410-8b05-ffd578937521
2011-06-16 20:51:08 +00:00
Riccardo Mottola
31405c56f5 revert image but with correct DPI of 72
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33215 72102866-910b-0410-8b05-ffd578937521
2011-05-31 15:59:19 +00:00
Eric Wasylishen
d5c2d502e2 2 more high-res images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32981 72102866-910b-0410-8b05-ffd578937521
2011-05-04 20:14:47 +00:00
Eric Wasylishen
95263d9d43 * Images: Add a few more high-res images (arrows)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32977 72102866-910b-0410-8b05-ffd578937521
2011-05-04 10:16:26 +00:00
Eric Wasylishen
ce051d9bd8 * Source/NSScreen.m: Use -userSpaceScaleFactor to calculate
NSDeviceResolution
* Source/NSImage.m: Implement -_bestRep:withResolutionMatch:
* Images/common_Dimple.tiff:
* Images/common_3DArrowRight.tiff: Add to these images
a second 'page' at 4x the original resolution which I drew.

If you use GSScaleFactor > 1 then the high resolution version
of these images should be used.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32975 72102866-910b-0410-8b05-ffd578937521
2011-05-04 01:33:21 +00:00
Eric Wasylishen
2873a337e6 * Images: Ensure all images have their DPI metadata set to 72.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32965 72102866-910b-0410-8b05-ffd578937521
2011-05-01 22:57:08 +00:00
Fred Kiefer
0a2f6bd2df * Source/NSMatrix.m (_shiftModifier:): Use correct column index
for old cell.
* Headers/AppKit/NSCursor.h
* gui/Source/NSCursor.m: Add Mac 10.6 methods and implement
keyed coding/decoding properly.
* Images/nsmapping.strings: Add mappings for some new cursors.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32538 72102866-910b-0410-8b05-ffd578937521
2011-03-12 19:01:54 +00:00
Wolfgang Lux
da2407140a Add some support for help links and markers in RTF documents. These
end up as dedicated attachments in attributed strings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31828 72102866-910b-0410-8b05-ffd578937521
2011-01-03 11:48:57 +00:00
Riccardo Mottola
774ac5ba02 added Icon for the Music folder
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31731 72102866-910b-0410-8b05-ffd578937521
2010-12-14 10:22:50 +00:00
Riccardo Mottola
4e154ce3ef Match NeXT 15x15 dimension and tweak check alpha
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31717 72102866-910b-0410-8b05-ffd578937521
2010-12-07 17:04:33 +00:00
Riccardo Mottola
d4a93852ff Added handling of a Desktop icon (and added the icon itself)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31713 72102866-910b-0410-8b05-ffd578937521
2010-12-06 00:46:58 +00:00
Riccardo Mottola
d4ae38ee6c new download folder icon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31609 72102866-910b-0410-8b05-ffd578937521
2010-11-13 13:53:22 +00:00
Riccardo Mottola
46b28a6701 rename .tif to .tiff extension
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31599 72102866-910b-0410-8b05-ffd578937521
2010-11-11 13:43:48 +00:00
Riccardo Mottola
c2d143bb74 new icons
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31598 72102866-910b-0410-8b05-ffd578937521
2010-11-11 11:50:15 +00:00