mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
195 lines
4.1 KiB
C
195 lines
4.1 KiB
C
#ifndef _LC_COMMANDS_H_
|
|
#define _LC_COMMANDS_H_
|
|
|
|
enum LC_COMMANDS
|
|
{
|
|
LC_FILE_NEW,
|
|
LC_FILE_OPEN,
|
|
LC_FILE_MERGE,
|
|
LC_FILE_SAVE,
|
|
LC_FILE_SAVEAS,
|
|
LC_FILE_SAVE_IMAGE,
|
|
LC_FILE_EXPORT_3DS,
|
|
LC_FILE_EXPORT_HTML,
|
|
LC_FILE_EXPORT_BRICKLINK,
|
|
LC_FILE_EXPORT_CSV,
|
|
LC_FILE_EXPORT_POVRAY,
|
|
LC_FILE_EXPORT_WAVEFRONT,
|
|
LC_FILE_PROPERTIES,
|
|
LC_FILE_TERRAIN_EDITOR,
|
|
LC_FILE_PRINT,
|
|
LC_FILE_PRINT_PREVIEW,
|
|
LC_FILE_PRINT_BOM,
|
|
LC_FILE_RECENT_FIRST,
|
|
LC_FILE_RECENT1 = LC_FILE_RECENT_FIRST,
|
|
LC_FILE_RECENT2,
|
|
LC_FILE_RECENT3,
|
|
LC_FILE_RECENT4,
|
|
LC_FILE_RECENT_LAST = LC_FILE_RECENT4,
|
|
LC_FILE_EXIT,
|
|
LC_EDIT_UNDO,
|
|
LC_EDIT_REDO,
|
|
LC_EDIT_CUT,
|
|
LC_EDIT_COPY,
|
|
LC_EDIT_PASTE,
|
|
LC_EDIT_FIND,
|
|
LC_EDIT_FIND_NEXT,
|
|
LC_EDIT_FIND_PREVIOUS,
|
|
LC_EDIT_SELECT_ALL,
|
|
LC_EDIT_SELECT_NONE,
|
|
LC_EDIT_SELECT_INVERT,
|
|
LC_EDIT_SELECT_BY_NAME,
|
|
LC_EDIT_LOCK_X,
|
|
LC_EDIT_LOCK_Y,
|
|
LC_EDIT_LOCK_Z,
|
|
LC_EDIT_LOCK_TOGGLE,
|
|
LC_EDIT_LOCK_NONE,
|
|
LC_EDIT_SNA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ROUP_REMOVE,
|
|
LC_PIECE_GROUP_EDIT,
|
|
LC_PIECE_HIDE_SELECTED,
|
|
LC_PIECE_HIDE_UNSELECTED,
|
|
LC_PIECE_UNHIDE_ALL,
|
|
LC_PIECE_SHOW_EARLIER,
|
|
LC_PIECE_SHOW_LATER,
|
|
LC_HELP_HOMEPAGE,
|
|
LC_HELP_EMAIL,
|
|
LC_HELP_UPDATES,
|
|
LC_HELP_ABOUT,
|
|
LC_NUM_COMMANDS
|
|
};
|
|
|
|
struct lcCommand
|
|
{
|
|
const char* ID;
|
|
const char* MenuName;
|
|
const char* StatusText;
|
|
const char* DefaultShortcut;
|
|
};
|
|
|
|
extern lcCommand gCommands[LC_NUM_COMMANDS];
|
|
|
|
#endif // _LC_COMMANDS_H_
|