Enlightenment CVS committal
Author : doursse
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_enums.h ewl_stock.c
Log Message:
add stock buttons
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_enums.h,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -3 -r1.91 -r1.92
--- ewl_enums.h 13 Jun 2008 18:19:35 -0000 1.91
+++ ewl_enums.h 3 Jul 2008 08:35:59 -0000 1.92
@@ -382,22 +382,71 @@
*/
enum Ewl_Stock_Type
{
- EWL_STOCK_APPLY = 0,
+ EWL_STOCK_ABOUT = 0,
+ EWL_STOCK_ADD,
+ EWL_STOCK_APPLY,
+ EWL_STOCK_ARROW_BOTTOM,
EWL_STOCK_ARROW_DOWN,
+ EWL_STOCK_ARROW_FIRST,
+ EWL_STOCK_ARROW_LAST,
EWL_STOCK_ARROW_LEFT,
EWL_STOCK_ARROW_RIGHT,
+ EWL_STOCK_ARROW_TOP,
EWL_STOCK_ARROW_UP,
+ EWL_STOCK_BOLD,
EWL_STOCK_CANCEL,
- EWL_STOCK_FASTFORWARD,
+ EWL_STOCK_CLEAR,
+ EWL_STOCK_CLOSE,
+ EWL_STOCK_COPY,
+ EWL_STOCK_CUT,
+ EWL_STOCK_DELETE,
+ EWL_STOCK_EDIT,
+ EWL_STOCK_EXECUTE,
+ EWL_STOCK_FIND,
+ EWL_STOCK_FIND_REPLACE,
+ EWL_STOCK_FULLSCREEN,
+ EWL_STOCK_HELP,
EWL_STOCK_HOME,
+ EWL_STOCK_INDENT,
+ EWL_STOCK_ITALIC,
+ EWL_STOCK_JUSTIFY_CENTER,
+ EWL_STOCK_JUSTIFY_FILL,
+ EWL_STOCK_JUSTIFY_LEFT,
+ EWL_STOCK_JUSTIFY_RIGHT,
+ EWL_STOCK_MEDIA_FASTFORWARD,
+ EWL_STOCK_MEDIA_NEXT,
+ EWL_STOCK_MEDIA_PAUSE,
+ EWL_STOCK_MEDIA_PLAY,
+ EWL_STOCK_MEDIA_PREVIOUS,
+ EWL_STOCK_MEDIA_RECORD,
+ EWL_STOCK_MEDIA_REWIND,
+ EWL_STOCK_MEDIA_STOP,
+ EWL_STOCK_NEW,
EWL_STOCK_OK,
EWL_STOCK_OPEN,
- EWL_STOCK_PAUSE,
- EWL_STOCK_PLAY,
+ EWL_STOCK_PASTE,
+ EWL_STOCK_PREFERENCES,
+ EWL_STOCK_PRINT,
+ EWL_STOCK_PRINT_PREVIEW,
+ EWL_STOCK_PROPERTIES,
EWL_STOCK_QUIT,
- EWL_STOCK_REWIND,
+ EWL_STOCK_REDO,
+ EWL_STOCK_REFRESH,
+ EWL_STOCK_REMOVE,
EWL_STOCK_SAVE,
- EWL_STOCK_STOP,
+ EWL_STOCK_SAVE_AS,
+ EWL_STOCK_SELECT_ALL,
+ EWL_STOCK_SORT_ASCENDING,
+ EWL_STOCK_SORT_DESCENDING,
+ EWL_STOCK_SPELL_CHECK,
+ EWL_STOCK_STRIKETHROUGH,
+ EWL_STOCK_UNDERLINE,
+ EWL_STOCK_UNDO,
+ EWL_STOCK_UNINDENT,
+ EWL_STOCK_ZOOM_100,
+ EWL_STOCK_ZOOM_FIT,
+ EWL_STOCK_ZOOM_IN,
+ EWL_STOCK_ZOOM_OUT,
EWL_STOCK_NONE
};
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_stock.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_stock.c 7 May 2008 13:38:25 -0000 1.14
+++ ewl_stock.c 3 Jul 2008 08:35:59 -0000 1.15
@@ -16,22 +16,71 @@
const char * const image_key;
const char * const tooltip;
} ewl_stock_items[] = {
- {"Apply", EWL_ICON_DIALOG_APPLY, "Apply"},
- {/*Arrow*/"Down", EWL_ICON_GO_DOWN, "Down"},
- {/*Arrow*/"Left", EWL_ICON_GO_PREVIOUS, "Previous"},
- {/*Arrow*/"Right", EWL_ICON_GO_NEXT, "Next"},
- {/*Arrow*/"Up", EWL_ICON_GO_UP, "Up"},
- {"Cancel", EWL_ICON_DIALOG_CANCEL, "Cancel"},
- {"FF", EWL_ICON_MEDIA_SEEK_FORWARD, "Fast Forward"},
- {"Home", EWL_ICON_GO_HOME, "Home"},
- {"Ok", EWL_ICON_DIALOG_OK, "OK"},
- {"Open", EWL_ICON_DOCUMENT_OPEN, "Open"},
- {"Pause", EWL_ICON_MEDIA_PLAYBACK_PAUSE, "Pause"},
- {"Play", EWL_ICON_MEDIA_PLAYBACK_START, "Play"},
- {"Quit", EWL_ICON_SYSTEM_LOG_OUT, "Quit"},
- {"Rewind", EWL_ICON_MEDIA_SEEK_BACKWARD, "Rewind"},
- {"Save", EWL_ICON_DOCUMENT_SAVE, "Save"},
- {"Stop", EWL_ICON_MEDIA_PLAYBACK_STOP, "Stop"}
+ {"About", EWL_ICON_HELP_ABOUT, "About"},
+ {"Add", EWL_ICON_LIST_ADD, "Add"},
+ {"Apply", EWL_ICON_DIALOG_APPLY, "Apply"},
+ {/*Arrow*/"Bottom",EWL_ICON_GO_BOTTOM ,
"Bottom"},
+ {/*Arrow*/"Down", EWL_ICON_GO_DOWN , "Down"},
+ {/*Arrow*/"First", EWL_ICON_GO_FIRST , "First"},
+ {/*Arrow*/"Last", EWL_ICON_GO_LAST , "Last"},
+ {/*Arrow*/"Left", EWL_ICON_GO_PREVIOUS , "Left"},
+ {/*Arrow*/"Right", EWL_ICON_GO_NEXT , "Right"},
+ {/*Arrow*/"Top", EWL_ICON_GO_TOP , "Top"},
+ {/*Arrow*/"Up", EWL_ICON_GO_UP , "Up"},
+ {"Bold", EWL_ICON_FORMAT_TEXT_BOLD, "Bold"},
+ {"Cancel", EWL_ICON_DIALOG_CANCEL,
"Cancel"},
+ {"Clear", EWL_ICON_EDIT_DELETE, "Clear"},
+ {"Close", EWL_ICON_DIALOG_CLOSE, "Close"},
+ {"Copy", EWL_ICON_EDIT_COPY, "Copy"},
+ {"Cut", EWL_ICON_EDIT_CUT, "Cut"},
+ {"Delete", EWL_ICON_USER_TRASH,
"Delete"},
+ {"Edit", EWL_ICON_ACCESSORIES_TEXT_EDITOR , "Edit"},
+ {"Execute", EWL_ICON_SYSTEM_RUN ,
"Execute"},
+ {"Find", EWL_ICON_EDIT_FIND , "Find"},
+ {"Find and replace", EWL_ICON_EDIT_FIND_REPLACE , "Find
and replace"},
+ {"Fullscreen", EWL_ICON_VIEW_FULLSCREEN ,
"Fullscreen"},
+ {"Help", EWL_ICON_HELP_CONTENTS , "Help"},
+ {"Home", EWL_ICON_GO_HOME , "Home"},
+ {"Indent", EWL_ICON_FORMAT_INDENT_MORE ,
"Indent"},
+ {"Italic", EWL_ICON_FORMAT_TEXT_ITALIC ,
"Italic"},
+ {"Justify center", EWL_ICON_FORMAT_JUSTIFY_CENTER , "Justify
center"},
+ {"Justify fill", EWL_ICON_FORMAT_JUSTIFY_FILL , "Justify
fill"},
+ {"Justify left", EWL_ICON_FORMAT_JUSTIFY_LEFT , "Justify
left"},
+ {"Justify right", EWL_ICON_FORMAT_JUSTIFY_RIGHT , "Justify
right"},
+ {"FF", EWL_ICON_MEDIA_SEEK_FORWARD, "Fast
Forward"},
+ {"Next", EWL_ICON_MEDIA_SKIP_FORWARD, "Next"},
+ {"Pause", EWL_ICON_MEDIA_PLAYBACK_PAUSE, "Pause"},
+ {"Play", EWL_ICON_MEDIA_PLAYBACK_START, "Play"},
+ {"Previous", EWL_ICON_MEDIA_SKIP_BACKWARD,
"Previous"},
+ {"Record", EWL_ICON_MEDIA_RECORD,
"Record"},
+ {"Rewind", EWL_ICON_MEDIA_SEEK_BACKWARD,
"Rewind"},
+ {"Stop", EWL_ICON_MEDIA_PLAYBACK_STOP, "Stop"},
+ {"New", EWL_ICON_DOCUMENT_NEW, "New"},
+ {"Ok", EWL_ICON_DIALOG_OK, "OK"},
+ {"Open", EWL_ICON_DOCUMENT_OPEN, "Open"},
+ {"Paste", EWL_ICON_EDIT_PASTE, "Paste"},
+ {"Preferences", EWL_ICON_PREFERENCES_SYSTEM,
"Preferences"},
+ {"Print", EWL_ICON_DOCUMENT_PRINT, "Print"},
+ {"Print preview", EWL_ICON_DOCUMENT_PRINT_PREVIEW, "Print
preview"},
+ {"Properties", EWL_ICON_DOCUMENT_PROPERTIES,
"Properties"},
+ {"Quit", EWL_ICON_SYSTEM_LOG_OUT, "Quit"},
+ {"Redo", EWL_ICON_EDIT_REDO, "Redo"},
+ {"Refresh", EWL_ICON_VIEW_REFRESH ,
"Refresh"},
+ {"Remove", EWL_ICON_LIST_REMOVE,
"Remove"},
+ {"Save", EWL_ICON_DOCUMENT_SAVE, "Save"},
+ {"Save as", EWL_ICON_DOCUMENT_SAVE_AS, "Save
as"},
+ {"Select all", EWL_ICON_EDIT_SELECT_ALL, "Select
all"},
+ {"Sort ascending", EWL_ICON_VIEW_SORT_ASCENDING, "Sort
ascending"},
+ {"Sort descending",EWL_ICON_VIEW_SORT_DESCENDING, "Sort
descending"},
+ {"Spell check", EWL_ICON_TOOLS_CHECK_SPELLING, "Spell
check"},
+ {"Strikethrough",
EWL_ICON_FORMAT_TEXT_STRIKETHROUGH,"Strikethrough"},
+ {"Underline", EWL_ICON_FORMAT_TEXT_UNDERLINE,
"Underline"},
+ {"Undo", EWL_ICON_EDIT_UNDO, "Undo"},
+ {"Unindent", EWL_ICON_FORMAT_INDENT_LESS ,
"Unindent"},
+ {"Zoom 1:1", EWL_ICON_ZOOM_ORIGINAL , "Zoom
1:1"},
+ {"Zoom fit", EWL_ICON_ZOOM_BEST_FIT , "Zoom
fit"},
+ {"Zoom in", EWL_ICON_ZOOM_IN , "Zoom
in"},
+ {"Zoom out", EWL_ICON_ZOOM_OUT , "Zoom
out"},
};
/**
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs