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
This commit is contained in:
Riccardo Mottola 2015-11-18 23:05:00 +00:00
parent 79e04b545a
commit 3ac59cea1d
8 changed files with 38 additions and 4 deletions

View file

@ -1,3 +1,17 @@
2015-11-19 Riccardo Mottola <rm@gnu.org>
* Images/common_MultipleSelection.tiff
* Images/common_RecyclerEmpty.tiff
* Images/common_RecyclerFull.tiff
* Images/GNUmakefile
Added icons
* Headers/AppKit/NSImage.h
* Images/nsmapping.strings
* Source/externs.m
Provide NSImageNameTrashEmpty NSImageNameTrashFull NSImageNameMultipleDocuments image, both constants and actual icon.
2015-11-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSImage.m: Move theme based image lookup code to the

View file

@ -3,7 +3,7 @@
Load, manipulate and display images
Copyright (C) 1996, 2005 Free Software Foundation, Inc.
Copyright (C) 1996-2015 Free Software Foundation, Inc.
Written by: Adam Fedor <fedor@colorado.edu>
Date: Feb 1996
@ -45,6 +45,12 @@
@class NSColor;
@class NSView;
/* Named images */
APPKIT_EXPORT NSString *NSImageNameMultipleDocuments;
APPKIT_EXPORT NSString *NSImageNameTrashEmpty;
APPKIT_EXPORT NSString *NSImageNameTrashFull;
/** Defines how an NSImage is to be cached. Possible values are:
* <list>
* <item>NSImageCacheDefault</item>

View file

@ -1,6 +1,6 @@
#
# Images makefile for GNUstep GUI Library
# Copyright (C) 2009-2010 Free Software Foundation, Inc.
# Copyright (C) 2009-2015 Free Software Foundation, Inc.
#
# Author: Nicola Pero <nicola.pero@meta-innovation.com>
# Date: September 2009
@ -159,6 +159,10 @@ Images_RESOURCE_FILES = \
common_ProgressSpinning_8.tiff \
nsmapping.strings \
page_landscape.tiff \
page_portrait.tiff
page_portrait.tiff \
common_MultipleSelection.tiff \
common_RecyclerEmpty.tiff \
common_RecyclerFull.tiff \
include $(GNUSTEP_MAKEFILES)/resource-set.make

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -48,12 +48,16 @@ common_ToolbarCustomizeToolbarItem = NSToolbarCustomizeToolbarItemImage;
common_Printer = NSToolbarPrint;
common_ToolbarShowColorsItem = NSToolbarShowColors;
common_ToolbarShowFontsItem = NSToolbarShowFonts;
common_RecyclerEmpty = NSImageTrashEmpty;
common_RecyclerFull = NSImageTrashFull;
/* Misc. */
common_MultipleSelection = NSImageNameMultipleDocuments;
common_ToolbarShowColorsItem = NSColorPanel;
common_Root_PC = NSComputer;
GSStop = NSStopProgressTemplate;
common_ToolbarShowFontsItem = NSFontPanel;
common_Folder = NSFolder;
common_Info = NSInfo;

View file

@ -614,6 +614,12 @@ NSString *NSToolbarShowFontsItemIdentifier = @"NSToolbarShowFontsItem";
NSString *NSToolbarCustomizeToolbarItemIdentifier = @"NSToolbarCustomizeToolbarItem";
NSString *NSToolbarPrintItemIdentifier = @"NSToolbarPrintItem";
NSString *NSImageNameTrashEmpty = @"NSImageTrashEmpty";
NSString *NSImageNameTrashFull = @"NSImageTrashFull";
// Misc named images
NSString *NSImageNameMultipleDocuments = @"NSImageNameMultipleDocuments";
/*
* NSTextView userInfo for notifications
*/