2017-07-19 23:20:32 +02:00
|
|
|
#pragma once
|
2013-08-09 06:57:18 +02:00
|
|
|
|
2014-12-04 02:47:28 +01:00
|
|
|
enum lcCommandId
|
2013-08-09 06:57:18 +02:00
|
|
|
{
|
|
|
|
LC_FILE_NEW,
|
|
|
|
LC_FILE_OPEN,
|
|
|
|
LC_FILE_MERGE,
|
|
|
|
LC_FILE_SAVE,
|
|
|
|
LC_FILE_SAVEAS,
|
|
|
|
LC_FILE_SAVE_IMAGE,
|
2017-06-26 03:20:34 +02:00
|
|
|
LC_FILE_IMPORT_LDD,
|
2017-08-20 22:47:53 +02:00
|
|
|
LC_FILE_IMPORT_INVENTORY,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_FILE_EXPORT_3DS,
|
2017-08-11 03:40:43 +02:00
|
|
|
LC_FILE_EXPORT_COLLADA,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_FILE_EXPORT_HTML,
|
|
|
|
LC_FILE_EXPORT_BRICKLINK,
|
|
|
|
LC_FILE_EXPORT_CSV,
|
|
|
|
LC_FILE_EXPORT_POVRAY,
|
|
|
|
LC_FILE_EXPORT_WAVEFRONT,
|
2017-09-22 19:08:02 +02:00
|
|
|
LC_FILE_RENDER,
|
2020-06-01 03:46:36 +02:00
|
|
|
LC_FILE_INSTRUCTIONS,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_FILE_PRINT,
|
|
|
|
LC_FILE_PRINT_PREVIEW,
|
|
|
|
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,
|
2021-02-07 19:48:23 +01:00
|
|
|
LC_EDIT_PASTE_STEPS,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_EDIT_FIND,
|
|
|
|
LC_EDIT_FIND_NEXT,
|
|
|
|
LC_EDIT_FIND_PREVIOUS,
|
2021-01-31 20:02:50 +01:00
|
|
|
LC_EDIT_FIND_ALL,
|
2021-01-31 00:37:17 +01:00
|
|
|
LC_EDIT_REPLACE,
|
|
|
|
LC_EDIT_REPLACE_NEXT,
|
2021-01-31 20:02:50 +01:00
|
|
|
LC_EDIT_REPLACE_ALL,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_EDIT_SELECT_ALL,
|
|
|
|
LC_EDIT_SELECT_NONE,
|
|
|
|
LC_EDIT_SELECT_INVERT,
|
|
|
|
LC_EDIT_SELECT_BY_NAME,
|
2017-11-22 02:58:36 +01:00
|
|
|
LC_EDIT_SELECTION_MODE_FIRST,
|
|
|
|
LC_EDIT_SELECTION_SINGLE = LC_EDIT_SELECTION_MODE_FIRST,
|
|
|
|
LC_EDIT_SELECTION_PIECE,
|
|
|
|
LC_EDIT_SELECTION_COLOR,
|
|
|
|
LC_EDIT_SELECTION_PIECE_COLOR,
|
|
|
|
LC_EDIT_SELECTION_MODE_LAST = LC_EDIT_SELECTION_PIECE_COLOR,
|
2015-01-18 06:36:14 +01:00
|
|
|
LC_EDIT_TRANSFORM_RELATIVE,
|
2021-01-30 00:18:02 +01:00
|
|
|
LC_EDIT_TRANSFORM_ABSOLUTE,
|
|
|
|
LC_EDIT_TRANSFORM_TOGGLE_RELATIVE,
|
|
|
|
LC_EDIT_TRANSFORM_SEPARATELY,
|
|
|
|
LC_EDIT_TRANSFORM_TOGETHER,
|
|
|
|
LC_EDIT_TRANSFORM_TOGGLE_SEPARATE,
|
2015-04-25 00:11:50 +02:00
|
|
|
LC_EDIT_SNAP_MOVE_TOGGLE,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_EDIT_SNAP_MOV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|
|
|
|
LC_EDIT_TRANSFORM_RELATIVE_TRANSLATION,
|
|
|
|
LC_EDIT_TRANSFORM_ABSOLUTE_ROTATION,
|
|
|
|
LC_EDIT_TRANSFORM_RELATIVE_ROTATION,
|
|
|
|
LC_EDIT_ACTION_FIRST,
|
|
|
|
LC_EDIT_ACTION_INSERT = LC_EDIT_ACTION_FIRST,
|
|
|
|
LC_EDIT_ACTION_LIGHT,
|
|
|
|
LC_EDIT_ACTION_SPOTLIGHT,
|
|
|
|
LC_EDIT_ACTION_CAMERA,
|
|
|
|
LC_EDIT_ACTION_SELECT,
|
|
|
|
LC_EDIT_ACTION_MOVE,
|
|
|
|
LC_EDIT_ACTION_ROTATE,
|
|
|
|
LC_EDIT_ACTION_DELETE,
|
|
|
|
LC_EDIT_ACTION_PAINT,
|
2020-02-15 20:14:12 +01:00
|
|
|
LC_EDIT_ACTION_COLOR_PICKER,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_EDIT_ACTION_ZOOM,
|
|
|
|
LC_EDIT_ACTION_PAN,
|
|
|
|
LC_EDIT_ACTION_ROTATE_VIEW,
|
|
|
|
LC_EDIT_ACTION_ROLL,
|
|
|
|
LC_EDIT_ACTION_ZOOM_REGION,
|
|
|
|
LC_EDIT_ACTION_LAST = LC_EDIT_ACTION_ZOOM_REGION,
|
|
|
|
LC_EDIT_CANCEL,
|
|
|
|
LC_VIEW_PREFERENCES,
|
|
|
|
LC_VIEW_ZOOM_IN,
|
|
|
|
LC_VIEW_ZOOM_OUT,
|
|
|
|
LC_VIEW_ZOOM_EXTENTS,
|
2013-12-17 23:23:41 +01:00
|
|
|
LC_VIEW_LOOK_AT,
|
2018-01-15 20:35:15 +01:00
|
|
|
LC_VIEW_MOVE_FORWARD,
|
|
|
|
LC_VIEW_MOVE_BACKWARD,
|
|
|
|
LC_VIEW_MOVE_LEFT,
|
|
|
|
LC_VIEW_MOVE_RIGHT,
|
|
|
|
LC_VIEW_MOVE_UP,
|
|
|
|
LC_VIEW_MO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LIT_HORIZONTAL,
|
|
|
|
LC_VIEW_SPLIT_VERTICAL,
|
|
|
|
LC_VIEW_REMOVE_VIEW,
|
|
|
|
LC_VIEW_RESET_VIEWS,
|
2020-07-11 21:22:01 +02:00
|
|
|
LC_VIEW_TOOLBAR_STANDARD,
|
|
|
|
LC_VIEW_TOOLBAR_FIRST = LC_VIEW_TOOLBAR_STANDARD,
|
|
|
|
LC_VIEW_TOOLBAR_TOOLS,
|
|
|
|
LC_VIEW_TOOLBAR_TIME,
|
|
|
|
LC_VIEW_TOOLBAR_PARTS,
|
|
|
|
LC_VIEW_TOOLBAR_COLORS,
|
|
|
|
LC_VIEW_TOOLBAR_PROPERTIES,
|
|
|
|
LC_VIEW_TOOLBAR_TIMELINE,
|
2020-10-13 01:23:15 +02:00
|
|
|
LC_VIEW_TOOLBAR_PREVIEW,
|
|
|
|
LC_VIEW_TOOLBAR_LAST = LC_VIEW_TOOLBAR_PREVIEW,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_VIEW_FULLSCREEN,
|
2019-01-21 01:36:59 +01:00
|
|
|
LC_VIEW_CLOSE_CURRENT_TAB,
|
2017-08-25 21:57:14 +02:00
|
|
|
LC_VIEW_SHADING_FIRST,
|
|
|
|
LC_VIEW_SHADING_WIREFRAME = LC_VIEW_SHADING_FIRST,
|
|
|
|
LC_VIEW_SHADING_FLAT,
|
|
|
|
LC_VIEW_SHADING_DEFAULT_LIGHTS,
|
|
|
|
LC_VIEW_SHADING_LAST = LC_VIEW_SHADING_DEFAULT_LIGHTS,
|
2013-12-17 03:43:16 +01:00
|
|
|
LC_VIEW_PROJECTION_FIRST,
|
|
|
|
LC_VIEW_PROJECTION_PERSPECTIVE = LC_VIEW_PROJECTION_FIRST,
|
|
|
|
LC_VIEW_PROJECTION_ORTHO,
|
|
|
|
LC_VIEW_PROJECTION_LAST = LC_VIEW_PROJECTION_ORTHO,
|
2020-01-05 20:38:24 +01:00
|
|
|
LC_VIEW_TOGGLE_VIEW_SPHERE,
|
2020-09-13 19:04:34 +02:00
|
|
|
LC_VIEW_TOGGLE_AXIS_ICON,
|
2020-12-24 04:10:54 +01:00
|
|
|
LC_VIEW_TOGGLE_GRID,
|
2020-04-11 20:16:21 +02:00
|
|
|
LC_VIEW_FADE_PREVIOUS_STEPS,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_PIECE_INSERT,
|
|
|
|
LC_PIECE_DELETE,
|
2017-03-09 00:55:38 +01:00
|
|
|
LC_PIECE_DUPLICATE,
|
2020-12-30 04:20:03 +01:00
|
|
|
LC_PIECE_PAINT_SELECTED,
|
2015-12-14 19:01:17 +01:00
|
|
|
LC_PIECE_RESET_PIVOT_POINT,
|
2018-02-24 21:47:19 +01:00
|
|
|
LC_PIECE_REMOVE_KEY_FRAMES,
|
2016-03-03 01:04:49 +01:00
|
|
|
LC_PIECE_CONTROL_POINT_INSERT,
|
|
|
|
LC_PIECE_CONTROL_POINT_REMOVE,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_PIECE_MOVE_PLUSX,
|
|
|
|
LC_PIECE_MOVE_MINUSX,
|
|
|
|
LC_PIECE_MOVE_PLUSY,
|
|
|
|
LC_PIECE_MOVE_MINUSY,
|
|
|
|
LC_PIECE_MOVE_PLUSZ,
|
|
|
|
LC_PIECE_MOVE_MINUSZ,
|
|
|
|
LC_PIECE_ROTATE_PLUSX,
|
|
|
|
LC_PIECE_ROTATE_MINUSX,
|
|
|
|
LC_PIECE_ROTATE_PLUSY,
|
|
|
|
LC_PIECE_ROTATE_MINUSY,
|
|
|
|
LC_PIECE_ROTATE_PLUSZ,
|
|
|
|
LC_PIECE_ROTATE_MINUSZ,
|
|
|
|
LC_PIECE_MINIFIG_WIZARD,
|
|
|
|
LC_PIECE_ARRAY,
|
2015-12-04 23:41:08 +01:00
|
|
|
LC_PIECE_VIEW_SELECTED_MODEL,
|
2015-12-02 00:31:28 +01:00
|
|
|
LC_PIECE_MOVE_SELECTION_TO_MODEL,
|
|
|
|
LC_PIECE_INLINE_SELECTED_MODELS,
|
2018-03-29 19:20:36 +02:00
|
|
|
LC_PIECE_EDIT_SELECTED_SUBMODEL,
|
2018-10-14 17:47:28 +02:00
|
|
|
LC_PIECE_EDIT_END_SUBMODEL,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_PIECE_GROUP,
|
|
|
|
LC_PIECE_UNGROUP,
|
|
|
|
LC_PIECE_GROUP_ADD,
|
|
|
|
LC_PIECE_GROUP_REMOVE,
|
|
|
|
LC_PIECE_GROUP_EDIT,
|
|
|
|
LC_PIECE_HIDE_SELECTED,
|
|
|
|
LC_PIECE_HIDE_UNSELECTED,
|
2015-03-15 21:01:07 +01:00
|
|
|
LC_PIECE_UNHIDE_SELECTED,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_PIECE_UNHIDE_ALL,
|
|
|
|
LC_PIECE_SHOW_EARLIER,
|
|
|
|
LC_PIECE_SHOW_LATER,
|
2014-12-10 00:56:29 +01:00
|
|
|
LC_MODEL_NEW,
|
2014-12-31 18:05:23 +01:00
|
|
|
LC_MODEL_PROPERTIES,
|
2014-12-10 00:56:29 +01:00
|
|
|
LC_MODEL_LIST,
|
|
|
|
LC_MODEL_FIRST,
|
|
|
|
LC_MODEL_01 = LC_MODEL_FIRST,
|
|
|
|
LC_MODEL_02,
|
|
|
|
LC_MODEL_03,
|
|
|
|
LC_MODEL_04,
|
|
|
|
LC_MODEL_05,
|
|
|
|
LC_MODEL_06,
|
|
|
|
LC_MODEL_07,
|
|
|
|
LC_MODEL_08,
|
|
|
|
LC_MODEL_09,
|
|
|
|
LC_MODEL_10,
|
|
|
|
LC_MODEL_11,
|
|
|
|
LC_MODEL_12,
|
|
|
|
LC_MODEL_13,
|
|
|
|
LC_MODEL_14,
|
|
|
|
LC_MODEL_15,
|
|
|
|
LC_MODEL_16,
|
2016-02-20 20:39:42 +01:00
|
|
|
LC_MODEL_17,
|
|
|
|
LC_MODEL_18,
|
|
|
|
LC_MODEL_19,
|
|
|
|
LC_MODEL_20,
|
|
|
|
LC_MODEL_21,
|
|
|
|
LC_MODEL_22,
|
|
|
|
LC_MODEL_23,
|
|
|
|
LC_MODEL_24,
|
2020-12-19 01:34:11 +01:00
|
|
|
LC_MODEL_25,
|
|
|
|
LC_MODEL_26,
|
|
|
|
LC_MODEL_27,
|
|
|
|
LC_MODEL_28,
|
|
|
|
LC_MODEL_29,
|
|
|
|
LC_MODEL_30,
|
|
|
|
LC_MODEL_31,
|
|
|
|
LC_MODEL_32,
|
|
|
|
LC_MODEL_33,
|
|
|
|
LC_MODEL_34,
|
|
|
|
LC_MODEL_35,
|
|
|
|
LC_MODEL_36,
|
|
|
|
LC_MODEL_37,
|
|
|
|
LC_MODEL_38,
|
|
|
|
LC_MODEL_39,
|
|
|
|
LC_MODEL_40,
|
|
|
|
LC_MODEL_LAST = LC_MODEL_40,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_HELP_HOMEPAGE,
|
2018-02-19 01:17:48 +01:00
|
|
|
LC_HELP_BUG_REPORT,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_HELP_UPDATES,
|
|
|
|
LC_HELP_ABOUT,
|
2020-01-27 03:41:31 +01:00
|
|
|
LC_TIMELINE_INSERT_BEFORE,
|
|
|
|
LC_TIMELINE_INSERT_AFTER,
|
2017-02-05 03:40:46 +01:00
|
|
|
LC_TIMELINE_DELETE,
|
|
|
|
LC_TIMELINE_MOVE_SELECTION,
|
2023-01-09 02:22:54 +01:00
|
|
|
LC_TIMELINE_MOVE_SELECTION_BEFORE,
|
|
|
|
LC_TIMELINE_MOVE_SELECTION_AFTER,
|
2017-02-05 03:40:46 +01:00
|
|
|
LC_TIMELINE_SET_CURRENT,
|
2013-08-09 06:57:18 +02:00
|
|
|
LC_NUM_COMMANDS
|
|
|
|
};
|
|
|
|
|
|
|
|
struct lcCommand
|
|
|
|
{
|
|
|
|
const char* ID;
|
|
|
|
const char* MenuName;
|
|
|
|
const char* StatusText;
|
|
|
|
const char* DefaultShortcut;
|
|
|
|
};
|
|
|
|
|
2020-12-19 01:34:11 +01:00
|
|
|
extern const lcCommand gCommands[];
|
2013-08-09 06:57:18 +02:00
|
|
|
|
2020-12-05 00:38:49 +01:00
|
|
|
enum class lcTool
|
2016-04-25 07:26:34 +02:00
|
|
|
{
|
2020-12-05 00:38:49 +01:00
|
|
|
Insert,
|
|
|
|
Light,
|
|
|
|
SpotLight,
|
|
|
|
Camera,
|
|
|
|
Select,
|
|
|
|
Move,
|
|
|
|
Rotate,
|
|
|
|
Eraser,
|
|
|
|
Paint,
|
|
|
|
ColorPicker,
|
|
|
|
Zoom,
|
|
|
|
Pan,
|
|
|
|
RotateView,
|
|
|
|
Roll,
|
|
|
|
ZoomRegion,
|
|
|
|
Count
|
2016-04-25 07:26:34 +02:00
|
|
|
};
|
|
|
|
|
2020-12-06 20:26:55 +01:00
|
|
|
extern const char* gToolNames[];
|
2016-04-25 07:26:34 +02:00
|
|
|
|