1 /*****************************************************************************/ 2 // ShowImageConstants 3 // Written by Fernando Francisco de Oliveira, Michael Wilber, Michael Pfeiffer 4 // 5 // ShowImageConstants.h 6 // 7 // 8 // Copyright (c) 2003 OpenBeOS Project 9 // 10 // Permission is hereby granted, free of charge, to any person obtaining a 11 // copy of this software and associated documentation files (the "Software"), 12 // to deal in the Software without restriction, including without limitation 13 // the rights to use, copy, modify, merge, publish, distribute, sublicense, 14 // and/or sell copies of the Software, and to permit persons to whom the 15 // Software is furnished to do so, subject to the following conditions: 16 // 17 // The above copyright notice and this permission notice shall be included 18 // in all copies or substantial portions of the Software. 19 // 20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 21 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 23 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 25 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 26 // DEALINGS IN THE SOFTWARE. 27 /*****************************************************************************/ 28 29 #ifndef _ShowImageConstants_ 30 #define _ShowImageConstants_ 31 32 #include <SupportDefs.h> 33 34 const uint32 MSG_CAPTURE_MOUSE = 'mCPM'; 35 const uint32 MSG_CHANGE_FOCUS = 'mCFS'; 36 const uint32 MSG_FILE_OPEN = 'mFOP'; 37 const uint32 MSG_CLOSE = 'mCLS'; 38 const uint32 MSG_WINDOW_QUIT = 'mWQT'; 39 const uint32 MSG_OUTPUT_TYPE = 'BTMN'; 40 const uint32 MSG_SAVE_PANEL = 'mFSP'; 41 const uint32 MSG_CLEAR_SELECT = 'mCSL'; 42 const uint32 MSG_SELECT_ALL = 'mSAL'; 43 const uint32 MSG_CLIPBOARD_CHANGED = 'mCLP'; 44 const uint32 MSG_DITHER_IMAGE = 'mDIM'; 45 const uint32 MSG_MODIFIED = 'mMOD'; 46 const uint32 MSG_UPDATE_STATUS = 'mUPS'; 47 const uint32 MSG_UNDO_STATE = 'mUNS'; 48 const uint32 MSG_SELECTION = 'mSEL'; 49 const uint32 MSG_SELECTION_BITMAP = 'mSBT'; 50 const uint32 MSG_PAGE_FIRST = 'mPGF'; 51 const uint32 MSG_PAGE_LAST = 'mPGL'; 52 const uint32 MSG_PAGE_NEXT = 'mPGN'; 53 const uint32 MSG_PAGE_PREV = 'mPGP'; 54 const uint32 MSG_GOTO_PAGE = 'mGTP'; 55 const uint32 MSG_FILE_NEXT = 'mFLN'; 56 const uint32 MSG_FILE_PREV = 'mFLP'; 57 const uint32 MSG_SHRINK_TO_WINDOW = 'mSTW'; 58 const uint32 MSG_ZOOM_TO_WINDOW = 'mZTW'; 59 const uint32 MSG_ROTATE_90 = 'mR90'; 60 const uint32 MSG_ROTATE_270 = 'mR27'; 61 const uint32 MSG_MIRROR_VERTICAL = 'mMIV'; 62 const uint32 MSG_MIRROR_HORIZONTAL = 'mMIH'; 63 const uint32 MSG_INVERT = 'mINV'; 64 const uint32 MSG_SLIDE_SHOW = 'mSSW'; 65 const uint32 MSG_SLIDE_SHOW_DELAY = 'mSSD'; 66 const uint32 MSG_FULL_SCREEN = 'mFSC'; 67 const uint32 MSG_SHOW_CAPTION = 'mSCP'; 68 const uint32 MSG_PAGE_SETUP = 'mPSU'; 69 const uint32 MSG_PREPARE_PRINT = 'mPPT'; 70 const uint32 MSG_PRINT = 'mPRT'; 71 const uint32 MSG_ZOOM_IN = 'mZIN'; 72 const uint32 MSG_ZOOM_OUT = 'mZOU'; 73 const uint32 MSG_ORIGINAL_SIZE = 'mOSZ'; 74 const uint32 MSG_INVALIDATE = 'mIVD'; 75 const uint32 MSG_SCALE_BILINEAR = 'mSBL'; 76 77 extern const char *APP_SIG; 78 79 80 #endif /* _ShowImageConstants_ */ 81