mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 21:47:00 -04:00
Added the necessery classes to handle symmetry objects/mirrors in symbols; What used to be SymbolPart is now SymbolShape, SymbolPart is a base class.
This should also pave the way for grouping. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@526 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -44,7 +44,7 @@ class SymbolControl : public wxControl, public SymbolViewer {
|
||||
/// The selection has changed, tell the part list
|
||||
void signalSelectionChange();
|
||||
|
||||
/// Activate a part, open it in the point editor
|
||||
/// Activate a part, open it in the point editor, if it is a shape
|
||||
void activatePart(const SymbolPartP& part);
|
||||
|
||||
/// Select a specific part from the symbol
|
||||
@@ -70,9 +70,9 @@ class SymbolControl : public wxControl, public SymbolViewer {
|
||||
// --------------------------------------------------- : Data
|
||||
|
||||
public:
|
||||
/// What parts are selected
|
||||
/// What parts are selected?
|
||||
set<SymbolPartP> selected_parts;
|
||||
SymbolPartP single_selection;
|
||||
SymbolShapeP selected_shape; // if there is a single selection
|
||||
|
||||
/// Parent window
|
||||
SymbolWindow* parent;
|
||||
|
||||
Reference in New Issue
Block a user