You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

527 lines
16 KiB

#ifndef COMP_H
#define COMP_H
#define LOOPS 1000
#define THEME "Tango"
#define SIZE 16
#define ADDRESS_BOOK_NEW "address-book-new"
#define APPLICATION_EXIT "application-exit"
#define APPOINTMENT_NEW "appointment-new"
#define CONTACT_NEW "contact-new"
#define DIALOG_APPLY "dialog-apply"
#define DIALOG_CANCEL "dialog-cancel"
#define DIALOG_CLOSE "dialog-close"
#define DIALOG_OK "dialog-ok"
#define DOCUMENT_NEW "document-new"
#define DOCUMENT_OPEN "document-open"
#define DOCUMENT_OPEN_RECENT "document-open-recent"
#define DOCUMENT_PAGE_SETUP "document-page-setup"
#define DOCUMENT_PRINT "document-print"
#define DOCUMENT_PRINT_PREVIEW "document-print-preview"
#define DOCUMENT_PROPERTIES "document-properties"
#define DOCUMENT_REVERT "document-revert"
#define DOCUMENT_SAVE "document-save"
#define DOCUMENT_SAVE_AS "document-save-as"
#define EDIT_COPY "edit-copy"
#define EDIT_CUT "edit-cut"
#define EDIT_DELETE "edit-delete"
#define EDIT_FIND "edit-find"
#define EDIT_FIND_REPLACE "edit-find-replace"
#define EDIT_PASTE "edit-paste"
#define EDIT_REDO "edit-redo"
#define EDIT_SELECT_ALL "edit-select-all"
#define EDIT_UNDO "edit-undo"
#define FORMAT_INDENT_LESS "format-indent-less"
#define FORMAT_INDENT_MORE "format-indent-more"
#define FORMAT_JUSTIFY_CENTER "format-justify-center"
#define FORMAT_JUSTIFY_FILL "format-justify-fill"
#define FORMAT_JUSTIFY_LEFT "format-justify-left"
#define FORMAT_JUSTIFY_RIGHT "format-justify-right"
#define FORMAT_TEXT_DIRECTION_LTR "format-text-direction-ltr"
#define FORMAT_TEXT_DIRECTION_RTL "format-text-direction-rtl"
#define FORMAT_TEXT_BOLD "format-text-bold"
#define FORMAT_TEXT_ITALIC "format-text-italic"
#define FORMAT_TEXT_UNDERLINE "format-text-underline"
#define FORMAT_TEXT_STRIKETHROUGH "format-text-strikethrough"
#define GO_BOTTOM "go-bottom"
#define GO_DOWN "go-down"
#define GO_FIRST "go-first"
#define GO_HOME "go-home"
#define GO_JUMP "go-jump"
#define GO_LAST "go-last"
#define GO_NEXT "go-next"
#define GO_PREVIOUS "go-previous"
#define GO_TOP "go-top"
#define GO_UP "go-up"
#define HELP_ABOUT "help-about"
#define HELP_CONTENTS "help-contents"
#define HELP_FAQ "help-faq"
#define INSERT_IMAGE "insert-image"
#define INSERT_LINK "insert-link"
#define INSERT_OBJECT "insert-object"
#define INSERT_TEXT "insert-text"
#define LIST_ADD "list-add"
#define LIST_REMOVE "list-remove"
#define MAIL_FORWARD "mail-forward"
#define MAIL_MARK_IMPORTANT "mail-mark-important"
#define MAIL_MARK_JUNK "mail-mark-junk"
#define MAIL_MARK_NOTJUNK "mail-mark-notjunk"
#define MAIL_MARK_READ "mail-mark-read"
#define MAIL_MARK_UNREAD "mail-mark-unread"
#define MAIL_MESSAGE_NEW "mail-message-new"
#define MAIL_REPLY_ALL "mail-reply-all"
#define MAIL_REPLY_SENDER "mail-reply-sender"
#define MAIL_SEND_RECEIVE "mail-send-receive"
#define MEDIA_EJECT "media-eject"
#define MEDIA_PLAYBACK_PAUSE "media-playback-pause"
#define MEDIA_PLAYBACK_START "media-playback-start"
#define MEDIA_PLAYBACK_STOP "media-playback-stop"
#define MEDIA_RECORD "media-record"
#define MEDIA_SEEK_BACKWARD "media-seek-backward"
#define MEDIA_SEEK_FORWARD "media-seek-forward"
#define MEDIA_SKIP_BACKWARD "media-skip-backward"
#define MEDIA_SKIP_FORWARD "media-skip-forward"
#define SYSTEM_LOCK_SCREEN "system-lock-screen"
#define SYSTEM_LOG_OUT "system-log-out"
#define SYSTEM_RUN "system-run"
#define SYSTEM_SEARCH "system-search"
#define TOOLS_CHECK_SPELLING "tools-check-spelling"
#define VIEW_FULLSCREEN "view-fullscreen"
#define VIEW_REFRESH "view-refresh"
#define VIEW_SORT_ASCENDING "view-sort-ascending"
#define VIEW_SORT_DESCENDING "view-sort-descending"
#define WINDOW_CLOSE "window-close"
#define WINDOW_NEW "window-new"
#define ZOOM_BEST_FIT "zoom-best-fit"
#define ZOOM_IN "zoom-in"
#define ZOOM_ORIGINAL "zoom-original"
#define ZOOM_OUT "zoom-out"
#define PROCESS_WORKING "process-working"
#define ACCESSORIES_CALCULATOR "accessories-calculator"
#define ACCESSORIES_CHARACTER_MAP "accessories-character-map"
#define ACCESSORIES_DICTIONARY "accessories-dictionary"
#define ACCESSORIES_TEXT_EDITOR "accessories-text-editor"
#define HELP_BROWSER "help-browser"
#define MULTIMEDIA_VOLUME_CONTROL "multimedia-volume-control"
#define PREFERENCES_DESKTOP_ACCESSIBILITY "preferences-desktop-accessibility"
#define PREFERENCES_DESKTOP_FONT "preferences-desktop-font"
#define PREFERENCES_DESKTOP_KEYBOARD "preferences-desktop-keyboard"
#define PREFERENCES_DESKTOP_LOCALE "preferences-desktop-locale"
#define PREFERENCES_DESKTOP_MULTIMEDIA "preferences-desktop-multimedia"
#define PREFERENCES_DESKTOP_SCREENSAVER "preferences-desktop-screensaver"
#define PREFERENCES_DESKTOP_THEME "preferences-desktop-theme"
#define PREFERENCES_DESKTOP_WALLPAPER "preferences-desktop-wallpaper"
#define SYSTEM_FILE_MANAGER "system-file-manager"
#define SYSTEM_SOFTWARE_UPDATE "system-software-update"
#define UTILITIES_TERMINAL "utilities-terminal"
#define APPLICATIONS_ACCESSORIES "applications-accessories"
#define APPLICATIONS_DEVELOPMENT "applications-development"
#define APPLICATIONS_GAMES "applications-games"
#define APPLICATIONS_GRAPHICS "applications-graphics"
#define APPLICATIONS_INTERNET "applications-internet"
#define APPLICATIONS_MULTIMEDIA "applications-multimedia"
#define APPLICATIONS_OFFICE "applications-office"
#define APPLICATIONS_OTHER "applications-other"
#define APPLICATIONS_SYSTEM "applications-system"
#define APPLICATIONS_UTILITIES "applications-utilities"
#define PREFERENCES_DESKTOP "preferences-desktop"
#define PREFERENCES_DESKTOP_ACCESSIBILITY "preferences-desktop-accessibility"
#define PREFERENCES_DESKTOP_PERIPHERALS "preferences-desktop-peripherals"
#define PREFERENCES_DESKTOP_PERSONAL "preferences-desktop-personal"
#define PREFERENCES_OTHER "preferences-other"
#define PREFERENCES_SYSTEM "preferences-system"
#define PREFERENCES_SYSTEM_NETWORK "preferences-system-network"
#define SYSTEM_HELP "system-help"
#define AUDIO_CARD "audio-card"
#define AUDIO_INPUT_MICROPHONE "audio-input-microphone"
#define BATTERY "battery"
#define CAMERA_PHOTO "camera-photo"
#define CAMERA_VIDEO "camera-video"
#define COMPUTER "computer"
#define DRIVE_CDROM "drive-cdrom"
#define DRIVE_HARDDISK "drive-harddisk"
#define DRIVE_REMOVABLE_MEDIA "drive-removable-media"
#define INPUT_GAMING "input-gaming"
#define INPUT_KEYBOARD "input-keyboard"
#define INPUT_MOUSE "input-mouse"
#define MEDIA_CDROM "media-cdrom"
#define MEDIA_FLOPPY "media-floppy"
#define MULTIMEDIA_PLAYER "multimedia-player"
#define NETWORK_WIRED "network-wired"
#define NETWORK_WIRELESS "network-wireless"
#define PRINTER "printer"
#define EMBLEM_DEFAULT "emblem-default"
#define EMBLEM_DOCUMENTS "emblem-documents"
#define EMBLEM_DOWNLOADS "emblem-downloads"
#define EMBLEM_FAVORITE "emblem-favorite"
#define EMBLEM_IMPORTANT "emblem-important"
#define EMBLEM_MAIL "emblem-mail"
#define EMBLEM_PHOTOS "emblem-photos"
#define EMBLEM_READONLY "emblem-readonly"
#define EMBLEM_SHARED "emblem-shared"
#define EMBLEM_SYMBOLIC_LINK "emblem-symbolic-link"
#define EMBLEM_SYNCHRONIZED "emblem-synchronized"
#define EMBLEM_SYSTEM "emblem-system"
#define EMBLEM_UNREADABLE "emblem-unreadable"
#define FACE_ANGEL "face-angel"
#define FACE_CRYING "face-crying"
#define FACE_DEVIL_GRIN "face-devil-grin"
#define FACE_DEVIL_SAD "face-devil-sad"
#define FACE_GLASSES "face-glasses"
#define FACE_KISS "face-kiss"
#define FACE_MONKEY "face-monkey"
#define FACE_PLAIN "face-plain"
#define FACE_SAD "face-sad"
#define FACE_SMILE "face-smile"
#define FACE_SMILE_BIG "face-smile-big"
#define FACE_SMIRK "face-smirk"
#define FACE_SURPRISE "face-surprise"
#define FACE_WINK "face-wink"
#define APPLICATION_X_EXECUTABLE "application-x-executable"
#define AUDIO_X_GENERIC "audio-x-generic"
#define FONT_X_GENERIC "font-x-generic"
#define IMAGE_X_GENERIC "image-x-generic"
#define PACKAGE_X_GENERIC "package-x-generic"
#define TEXT_HTML "text-html"
#define TEXT_X_GENERIC "text-x-generic"
#define TEXT_X_GENERIC_TEMPLATE "text-x-generic-template"
#define TEXT_X_SCRIPT "text-x-script"
#define VIDEO_X_GENERIC "video-x-generic"
#define X_OFFICE_ADDRESS_BOOK "x-office-address-book"
#define X_OFFICE_CALENDAR "x-office-calendar"
#define X_OFFICE_DOCUMENT "x-office-document"
#define X_OFFICE_PRESENTATION "x-office-presentation"
#define X_OFFICE_SPREADSHEET "x-office-spreadsheet"
#define FOLDER "folder"
#define FOLDER_REMOTE "folder-remote"
#define NETWORK_SERVER "network-server"
#define NETWORK_WORKGROUP "network-workgroup"
#define START_HERE "start-here"
#define USER_DESKTOP "user-desktop"
#define USER_HOME "user-home"
#define USER_TRASH "user-trash"
#define APPOINTMENT_MISSED "appointment-missed"
#define APPOINTMENT_SOON "appointment-soon"
#define AUDIO_VOLUME_HIGH "audio-volume-high"
#define AUDIO_VOLUME_LOW "audio-volume-low"
#define AUDIO_VOLUME_MEDIUM "audio-volume-medium"
#define AUDIO_VOLUME_MUTED "audio-volume-muted"
#define BATTERY_CAUTION "battery-caution"
#define BATTERY_LOW "battery-low"
#define DIALOG_ERROR "dialog-error"
#define DIALOG_INFORMATION "dialog-information"
#define DIALOG_PASSWORD "dialog-password"
#define DIALOG_QUESTION "dialog-question"
#define DIALOG_WARNING "dialog-warning"
#define FOLDER_DRAG_ACCEPT "folder-drag-accept"
#define FOLDER_OPEN "folder-open"
#define FOLDER_VISITING "folder-visiting"
#define IMAGE_LOADING "image-loading"
#define IMAGE_MISSING "image-missing"
#define MAIL_ATTACHMENT "mail-attachment"
#define MAIL_UNREAD "mail-unread"
#define MAIL_READ "mail-read"
#define MAIL_REPLIED "mail-replied"
#define MAIL_SIGNED "mail-signed"
#define MAIL_SIGNED_VERIFIED "mail-signed-verified"
#define MEDIA_PLAYLIST_REPEAT "media-playlist-repeat"
#define MEDIA_PLAYLIST_SHUFFLE "media-playlist-shuffle"
#define NETWORK_ERROR "network-error"
#define NETWORK_IDLE "network-idle"
#define NETWORK_OFFLINE "network-offline"
#define NETWORK_RECEIVE "network-receive"
#define NETWORK_TRANSMIT "network-transmit"
#define NETWORK_TRANSMIT_RECEIVE "network-transmit-receive"
#define PRINTER_ERROR "printer-error"
#define PRINTER_PRINTING "printer-printing"
#define SOFTWARE_UPDATE_AVAILABLE "software-update-available"
#define SOFTWARE_UPDATE_URGENT "software-update-urgent"
#define SYNC_ERROR "sync-error"
#define SYNC_SYNCHRONIZING "sync-synchronizing"
#define TASK_DUE "task-due"
#define TASK_PASSED_DUE "task-passed-due"
#define USER_AWAY "user-away"
#define USER_IDLE "user-idle"
#define USER_OFFLINE "user-offline"
#define USER_ONLINE "user-online"
#define USER_TRASH_FULL "user-trash-full"
#define WEATHER_CLEAR "weather-clear"
#define WEATHER_CLEAR_NIGHT "weather-clear-night"
#define WEATHER_FEW_CLOUDS "weather-few-clouds"
#define WEATHER_FEW_CLOUDS_NIGHT "weather-few-clouds-night"
#define WEATHER_FOG "weather-fog"
#define WEATHER_OVERCAST "weather-overcast"
#define WEATHER_SEVERE_ALERT "weather-severe-alert"
#define WEATHER_SHOWERS "weather-showers"
#define WEATHER_SHOWERS_SCATTERED "weather-showers-scattered"
#define WEATHER_SNOW "weather-snow"
#define WEATHER_STORM "weather-storm"
const char *icons[] = {
ADDRESS_BOOK_NEW,
APPLICATION_EXIT,
APPOINTMENT_NEW,
CONTACT_NEW,
DIALOG_APPLY,
DIALOG_CANCEL,
DIALOG_CLOSE,
DIALOG_OK,
DOCUMENT_NEW,
DOCUMENT_OPEN,
DOCUMENT_OPEN_RECENT,
DOCUMENT_PAGE_SETUP,
DOCUMENT_PRINT,
DOCUMENT_PRINT_PREVIEW,
DOCUMENT_PROPERTIES,
DOCUMENT_REVERT,
DOCUMENT_SAVE,
DOCUMENT_SAVE_AS,
EDIT_COPY,
EDIT_CUT,
EDIT_DELETE,
EDIT_FIND,
EDIT_FIND_REPLACE,
EDIT_PASTE,
EDIT_REDO,
EDIT_SELECT_ALL,
EDIT_UNDO,
FORMAT_INDENT_LESS,
FORMAT_INDENT_MORE,
FORMAT_JUSTIFY_CENTER,
FORMAT_JUSTIFY_FILL,
FORMAT_JUSTIFY_LEFT,
FORMAT_JUSTIFY_RIGHT,
FORMAT_TEXT_DIRECTION_LTR,
FORMAT_TEXT_DIRECTION_RTL,
FORMAT_TEXT_BOLD,
FORMAT_TEXT_ITALIC,
FORMAT_TEXT_UNDERLINE,
FORMAT_TEXT_STRIKETHROUGH,
GO_BOTTOM,
GO_DOWN,
GO_FIRST,
GO_HOME,
GO_JUMP,
GO_LAST,
GO_NEXT,
GO_PREVIOUS,
GO_TOP,
GO_UP,
HELP_ABOUT,
HELP_CONTENTS,
HELP_FAQ,
INSERT_IMAGE,
INSERT_LINK,
INSERT_OBJECT,
INSERT_TEXT,
LIST_ADD,
LIST_REMOVE,
MAIL_FORWARD,
MAIL_MARK_IMPORTANT,
MAIL_MARK_JUNK,
MAIL_MARK_NOTJUNK,
MAIL_MARK_READ,
MAIL_MARK_UNREAD,
MAIL_MESSAGE_NEW,
MAIL_REPLY_ALL,
MAIL_REPLY_SENDER,
MAIL_SEND_RECEIVE,
MEDIA_EJECT,
MEDIA_PLAYBACK_PAUSE,
MEDIA_PLAYBACK_START,
MEDIA_PLAYBACK_STOP,
MEDIA_RECORD,
MEDIA_SEEK_BACKWARD,
MEDIA_SEEK_FORWARD,
MEDIA_SKIP_BACKWARD,
MEDIA_SKIP_FORWARD,
SYSTEM_LOCK_SCREEN,
SYSTEM_LOG_OUT,
SYSTEM_RUN,
SYSTEM_SEARCH,
TOOLS_CHECK_SPELLING,
VIEW_FULLSCREEN,
VIEW_REFRESH,
VIEW_SORT_ASCENDING,
VIEW_SORT_DESCENDING,
WINDOW_CLOSE,
WINDOW_NEW,
ZOOM_BEST_FIT,
ZOOM_IN,
ZOOM_ORIGINAL,
ZOOM_OUT,
PROCESS_WORKING,
ACCESSORIES_CALCULATOR,
ACCESSORIES_CHARACTER_MAP,
ACCESSORIES_DICTIONARY,
ACCESSORIES_TEXT_EDITOR,
HELP_BROWSER,
MULTIMEDIA_VOLUME_CONTROL,
PREFERENCES_DESKTOP_ACCESSIBILITY,
PREFERENCES_DESKTOP_FONT,
PREFERENCES_DESKTOP_KEYBOARD,
PREFERENCES_DESKTOP_LOCALE,
PREFERENCES_DESKTOP_MULTIMEDIA,
PREFERENCES_DESKTOP_SCREENSAVER,
PREFERENCES_DESKTOP_THEME,
PREFERENCES_DESKTOP_WALLPAPER,
SYSTEM_FILE_MANAGER,
SYSTEM_SOFTWARE_UPDATE,
UTILITIES_TERMINAL,
APPLICATIONS_ACCESSORIES,
APPLICATIONS_DEVELOPMENT,
APPLICATIONS_GAMES,
APPLICATIONS_GRAPHICS,
APPLICATIONS_INTERNET,
APPLICATIONS_MULTIMEDIA,
APPLICATIONS_OFFICE,
APPLICATIONS_OTHER,
APPLICATIONS_SYSTEM,
APPLICATIONS_UTILITIES,
PREFERENCES_DESKTOP,
PREFERENCES_DESKTOP_ACCESSIBILITY,
PREFERENCES_DESKTOP_PERIPHERALS,
PREFERENCES_DESKTOP_PERSONAL,
PREFERENCES_OTHER,
PREFERENCES_SYSTEM,
PREFERENCES_SYSTEM_NETWORK,
SYSTEM_HELP,
AUDIO_CARD,
AUDIO_INPUT_MICROPHONE,
BATTERY,
CAMERA_PHOTO,
CAMERA_VIDEO,
COMPUTER,
DRIVE_CDROM,
DRIVE_HARDDISK,
DRIVE_REMOVABLE_MEDIA,
INPUT_GAMING,
INPUT_KEYBOARD,
INPUT_MOUSE,
MEDIA_CDROM,
MEDIA_FLOPPY,
MULTIMEDIA_PLAYER,
NETWORK_WIRED,
NETWORK_WIRELESS,
PRINTER,
EMBLEM_DEFAULT,
EMBLEM_DOCUMENTS,
EMBLEM_DOWNLOADS,
EMBLEM_FAVORITE,
EMBLEM_IMPORTANT,
EMBLEM_MAIL,
EMBLEM_PHOTOS,
EMBLEM_READONLY,
EMBLEM_SHARED,
EMBLEM_SYMBOLIC_LINK,
EMBLEM_SYNCHRONIZED,
EMBLEM_SYSTEM,
EMBLEM_UNREADABLE,
FACE_ANGEL,
FACE_CRYING,
FACE_DEVIL_GRIN,
FACE_DEVIL_SAD,
FACE_GLASSES,
FACE_KISS,
FACE_MONKEY,
FACE_PLAIN,
FACE_SAD,
FACE_SMILE,
FACE_SMILE_BIG,
FACE_SMIRK,
FACE_SURPRISE,
FACE_WINK,
APPLICATION_X_EXECUTABLE,
AUDIO_X_GENERIC,
FONT_X_GENERIC,
IMAGE_X_GENERIC,
PACKAGE_X_GENERIC,
TEXT_HTML,
TEXT_X_GENERIC,
TEXT_X_GENERIC_TEMPLATE,
TEXT_X_SCRIPT,
VIDEO_X_GENERIC,
X_OFFICE_ADDRESS_BOOK,
X_OFFICE_CALENDAR,
X_OFFICE_DOCUMENT,
X_OFFICE_PRESENTATION,
X_OFFICE_SPREADSHEET,
FOLDER,
FOLDER_REMOTE,
NETWORK_SERVER,
NETWORK_WORKGROUP,
START_HERE,
USER_DESKTOP,
USER_HOME,
USER_TRASH,
APPOINTMENT_MISSED,
APPOINTMENT_SOON,
AUDIO_VOLUME_HIGH,
AUDIO_VOLUME_LOW,
AUDIO_VOLUME_MEDIUM,
AUDIO_VOLUME_MUTED,
BATTERY_CAUTION,
BATTERY_LOW,
DIALOG_ERROR,
DIALOG_INFORMATION,
DIALOG_PASSWORD,
DIALOG_QUESTION,
DIALOG_WARNING,
FOLDER_DRAG_ACCEPT,
FOLDER_OPEN,
FOLDER_VISITING,
IMAGE_LOADING,
IMAGE_MISSING,
MAIL_ATTACHMENT,
MAIL_UNREAD,
MAIL_READ,
MAIL_REPLIED,
MAIL_SIGNED,
MAIL_SIGNED_VERIFIED,
MEDIA_PLAYLIST_REPEAT,
MEDIA_PLAYLIST_SHUFFLE,
NETWORK_ERROR,
NETWORK_IDLE,
NETWORK_OFFLINE,
NETWORK_RECEIVE,
NETWORK_TRANSMIT,
NETWORK_TRANSMIT_RECEIVE,
PRINTER_ERROR,
PRINTER_PRINTING,
SOFTWARE_UPDATE_AVAILABLE,
SOFTWARE_UPDATE_URGENT,
SYNC_ERROR,
SYNC_SYNCHRONIZING,
TASK_DUE,
TASK_PASSED_DUE,
USER_AWAY,
USER_IDLE,
USER_OFFLINE,
USER_ONLINE,
USER_TRASH_FULL,
WEATHER_CLEAR,
WEATHER_CLEAR_NIGHT,
WEATHER_FEW_CLOUDS,
WEATHER_FEW_CLOUDS_NIGHT,
WEATHER_FOG,
WEATHER_OVERCAST,
WEATHER_SEVERE_ALERT,
WEATHER_SHOWERS,
WEATHER_SHOWERS_SCATTERED,
WEATHER_SNOW,
WEATHER_STORM,
NULL
};
#endif