Home
last modified time | relevance | path

Searched refs:csCommandState (Results 1 – 20 of 20) sorted by relevance

/dports/x11-toolkits/wxgtk28-common/wxGTK-2.8.12/contrib/samples/ogl/studio/
H A Ddoc.h71 class csCommandState; variable
74 friend class csCommandState; variable
78 csCommandState* onlyState = NULL); // Allow for the common case of just one state to change
86 void AddState(csCommandState* state);
89 void InsertState(csCommandState* state);
95 csCommandState* FindStateByShape(wxShape* shape);
104 class csCommandState: public wxObject
108 csCommandState(int cmd, wxShape* savedState, wxShape* shapeOnCanvas);
109 ~csCommandState();
H A Ddoc.cpp108 csCommandState* onlyState): in csDiagramCommand()
124 csCommandState* state = (csCommandState*) node->GetData(); in ~csDiagramCommand()
151 csCommandState* state = (csCommandState*) node->GetData(); in RemoveLines()
161 csCommandState* newState = new csCommandState(ID_CS_CUT, NULL, line); in RemoveLines()
176 csCommandState* state = (csCommandState*) node->GetData(); in FindStateByShape()
189 csCommandState* state = (csCommandState*) node->GetData(); in Do()
204 csCommandState* state = (csCommandState*) node->GetData(); in Undo()
212 csCommandState::csCommandState(int cmd, wxShape* savedState, wxShape* shapeOnCanvas) in csCommandState() function in csCommandState
222 csCommandState::~csCommandState() in ~csCommandState()
231 bool csCommandState::Do() in Do()
[all …]
H A Dview.cpp330 csCommandState* state = new csCommandState(ID_CS_CUT, NULL, theShape); in DoCut()
364 csCommandState* state = new csCommandState(cmd, theShape, oldShape); in DoCmd()
412csCommandState* state = new csCommandState(ID_CS_CHANGE_BACKGROUND_COLOUR, newShape, theShape); in OnChangeBackgroundColour()
489 csCommandState* state = new csCommandState(ID_CS_FONT_CHANGE, newShape, theShape); in ApplyPointSize()
601 csCommandState* state = new csCommandState(ID_CS_ARROW_CHANGE, newShape, theShape); in OnToggleArrowTool()
726 csCommandState* state = new csCommandState(ID_CS_ALIGN, newShape, shape); in OnAlign()
754 csCommandState* state = new csCommandState(ID_CS_NEW_POINT, newShape, shape); in OnNewLinePoint()
775 csCommandState* state = new csCommandState(ID_CS_CUT_POINT, newShape, shape); in OnCutLinePoint()
796 csCommandState* state = new csCommandState(ID_CS_STRAIGHTEN, newShape, shape); in OnStraightenLines()
915 new csCommandState(ID_CS_ADD_SHAPE, shape, NULL)); in OnLeftClick()
[all …]
H A Dshapes.cpp115 new csCommandState(ID_CS_EDIT_PROPERTIES, newShape, GetShape()))); in OnLeftClick()
250 new csCommandState(ID_CS_ADD_LINE, lineShape, NULL))); in OnEndDragRight()
408 new csCommandState(ID_CS_MOVE, newShape, GetShape())); in OnEndDragLeft()
450 cmd->AddState(new csCommandState(ID_CS_MOVE, newShape2, shape)); in OnEndDragLeft()
556 new csCommandState(ID_CS_SIZE, newShape, shape)); in OnSizingEndDragLeft()
587 cmd->AddState(new csCommandState(ID_CS_CHANGE_LINE_ATTACHMENT, newLine, line)); in OnChangeAttachment()
593 cmd->AddState(new csCommandState(ID_CS_CHANGE_LINE_ORDERING, newShape, GetShape())); in OnChangeAttachment()
701 new csCommandState(ID_CS_EDIT_PROPERTIES, newShape, shape))); in EditProperties()
1070 new csCommandState(ID_CS_MOVE_LINE_POINT, newShape, this))); in OnMoveMiddleControlPoint()
1090 new csCommandState(ID_CS_MOVE_LABEL, newShape, this)));
[all …]
H A Dcsprint.cpp314 m_currentCmd->AddState(new csCommandState(ID_CS_ADD_LINE_SELECT, newShape, NULL)); in OnAddShape()
316 m_currentCmd->AddState(new csCommandState(ID_CS_ADD_SHAPE_SELECT, newShape, NULL)); in OnAddShape()
/dports/x11-toolkits/wxgtk28-contrib/wxGTK-2.8.12/contrib/samples/ogl/studio/
H A Ddoc.h71 class csCommandState; variable
74 friend class csCommandState; variable
78 csCommandState* onlyState = NULL); // Allow for the common case of just one state to change
86 void AddState(csCommandState* state);
89 void InsertState(csCommandState* state);
95 csCommandState* FindStateByShape(wxShape* shape);
104 class csCommandState: public wxObject
108 csCommandState(int cmd, wxShape* savedState, wxShape* shapeOnCanvas);
109 ~csCommandState();
H A Ddoc.cpp108 csCommandState* onlyState): in csDiagramCommand()
124 csCommandState* state = (csCommandState*) node->GetData(); in ~csDiagramCommand()
151 csCommandState* state = (csCommandState*) node->GetData(); in RemoveLines()
161 csCommandState* newState = new csCommandState(ID_CS_CUT, NULL, line); in RemoveLines()
176 csCommandState* state = (csCommandState*) node->GetData(); in FindStateByShape()
189 csCommandState* state = (csCommandState*) node->GetData(); in Do()
204 csCommandState* state = (csCommandState*) node->GetData(); in Undo()
212 csCommandState::csCommandState(int cmd, wxShape* savedState, wxShape* shapeOnCanvas) in csCommandState() function in csCommandState
222 csCommandState::~csCommandState() in ~csCommandState()
231 bool csCommandState::Do() in Do()
[all …]
H A Dview.cpp330 csCommandState* state = new csCommandState(ID_CS_CUT, NULL, theShape); in DoCut()
364 csCommandState* state = new csCommandState(cmd, theShape, oldShape); in DoCmd()
412csCommandState* state = new csCommandState(ID_CS_CHANGE_BACKGROUND_COLOUR, newShape, theShape); in OnChangeBackgroundColour()
489 csCommandState* state = new csCommandState(ID_CS_FONT_CHANGE, newShape, theShape); in ApplyPointSize()
601 csCommandState* state = new csCommandState(ID_CS_ARROW_CHANGE, newShape, theShape); in OnToggleArrowTool()
726 csCommandState* state = new csCommandState(ID_CS_ALIGN, newShape, shape); in OnAlign()
754 csCommandState* state = new csCommandState(ID_CS_NEW_POINT, newShape, shape); in OnNewLinePoint()
775 csCommandState* state = new csCommandState(ID_CS_CUT_POINT, newShape, shape); in OnCutLinePoint()
796 csCommandState* state = new csCommandState(ID_CS_STRAIGHTEN, newShape, shape); in OnStraightenLines()
915 new csCommandState(ID_CS_ADD_SHAPE, shape, NULL)); in OnLeftClick()
[all …]
H A Dshapes.cpp115 new csCommandState(ID_CS_EDIT_PROPERTIES, newShape, GetShape()))); in OnLeftClick()
250 new csCommandState(ID_CS_ADD_LINE, lineShape, NULL))); in OnEndDragRight()
408 new csCommandState(ID_CS_MOVE, newShape, GetShape())); in OnEndDragLeft()
450 cmd->AddState(new csCommandState(ID_CS_MOVE, newShape2, shape)); in OnEndDragLeft()
556 new csCommandState(ID_CS_SIZE, newShape, shape)); in OnSizingEndDragLeft()
587 cmd->AddState(new csCommandState(ID_CS_CHANGE_LINE_ATTACHMENT, newLine, line)); in OnChangeAttachment()
593 cmd->AddState(new csCommandState(ID_CS_CHANGE_LINE_ORDERING, newShape, GetShape())); in OnChangeAttachment()
701 new csCommandState(ID_CS_EDIT_PROPERTIES, newShape, shape))); in EditProperties()
1070 new csCommandState(ID_CS_MOVE_LINE_POINT, newShape, this))); in OnMoveMiddleControlPoint()
1090 new csCommandState(ID_CS_MOVE_LABEL, newShape, this)));
[all …]
H A Dcsprint.cpp314 m_currentCmd->AddState(new csCommandState(ID_CS_ADD_LINE_SELECT, newShape, NULL)); in OnAddShape()
316 m_currentCmd->AddState(new csCommandState(ID_CS_ADD_SHAPE_SELECT, newShape, NULL)); in OnAddShape()
/dports/x11-toolkits/wxgtk28-contrib-common/wxGTK-2.8.12/contrib/samples/ogl/studio/
H A Ddoc.h71 class csCommandState; variable
74 friend class csCommandState; variable
78 csCommandState* onlyState = NULL); // Allow for the common case of just one state to change
86 void AddState(csCommandState* state);
89 void InsertState(csCommandState* state);
95 csCommandState* FindStateByShape(wxShape* shape);
104 class csCommandState: public wxObject
108 csCommandState(int cmd, wxShape* savedState, wxShape* shapeOnCanvas);
109 ~csCommandState();
H A Ddoc.cpp108 csCommandState* onlyState): in csDiagramCommand()
124 csCommandState* state = (csCommandState*) node->GetData(); in ~csDiagramCommand()
151 csCommandState* state = (csCommandState*) node->GetData(); in RemoveLines()
161 csCommandState* newState = new csCommandState(ID_CS_CUT, NULL, line); in RemoveLines()
176 csCommandState* state = (csCommandState*) node->GetData(); in FindStateByShape()
189 csCommandState* state = (csCommandState*) node->GetData(); in Do()
204 csCommandState* state = (csCommandState*) node->GetData(); in Undo()
212 csCommandState::csCommandState(int cmd, wxShape* savedState, wxShape* shapeOnCanvas) in csCommandState() function in csCommandState
222 csCommandState::~csCommandState() in ~csCommandState()
231 bool csCommandState::Do() in Do()
[all …]
H A Dview.cpp330 csCommandState* state = new csCommandState(ID_CS_CUT, NULL, theShape); in DoCut()
364 csCommandState* state = new csCommandState(cmd, theShape, oldShape); in DoCmd()
412csCommandState* state = new csCommandState(ID_CS_CHANGE_BACKGROUND_COLOUR, newShape, theShape); in OnChangeBackgroundColour()
489 csCommandState* state = new csCommandState(ID_CS_FONT_CHANGE, newShape, theShape); in ApplyPointSize()
601 csCommandState* state = new csCommandState(ID_CS_ARROW_CHANGE, newShape, theShape); in OnToggleArrowTool()
726 csCommandState* state = new csCommandState(ID_CS_ALIGN, newShape, shape); in OnAlign()
754 csCommandState* state = new csCommandState(ID_CS_NEW_POINT, newShape, shape); in OnNewLinePoint()
775 csCommandState* state = new csCommandState(ID_CS_CUT_POINT, newShape, shape); in OnCutLinePoint()
796 csCommandState* state = new csCommandState(ID_CS_STRAIGHTEN, newShape, shape); in OnStraightenLines()
915 new csCommandState(ID_CS_ADD_SHAPE, shape, NULL)); in OnLeftClick()
[all …]
H A Dshapes.cpp115 new csCommandState(ID_CS_EDIT_PROPERTIES, newShape, GetShape()))); in OnLeftClick()
250 new csCommandState(ID_CS_ADD_LINE, lineShape, NULL))); in OnEndDragRight()
408 new csCommandState(ID_CS_MOVE, newShape, GetShape())); in OnEndDragLeft()
450 cmd->AddState(new csCommandState(ID_CS_MOVE, newShape2, shape)); in OnEndDragLeft()
556 new csCommandState(ID_CS_SIZE, newShape, shape)); in OnSizingEndDragLeft()
587 cmd->AddState(new csCommandState(ID_CS_CHANGE_LINE_ATTACHMENT, newLine, line)); in OnChangeAttachment()
593 cmd->AddState(new csCommandState(ID_CS_CHANGE_LINE_ORDERING, newShape, GetShape())); in OnChangeAttachment()
701 new csCommandState(ID_CS_EDIT_PROPERTIES, newShape, shape))); in EditProperties()
1070 new csCommandState(ID_CS_MOVE_LINE_POINT, newShape, this))); in OnMoveMiddleControlPoint()
1090 new csCommandState(ID_CS_MOVE_LABEL, newShape, this)));
[all …]
H A Dcsprint.cpp314 m_currentCmd->AddState(new csCommandState(ID_CS_ADD_LINE_SELECT, newShape, NULL)); in OnAddShape()
316 m_currentCmd->AddState(new csCommandState(ID_CS_ADD_SHAPE_SELECT, newShape, NULL)); in OnAddShape()
/dports/x11-toolkits/wxgtk28/wxGTK-2.8.12/contrib/samples/ogl/studio/
H A Ddoc.h71 class csCommandState; variable
74 friend class csCommandState; variable
78 csCommandState* onlyState = NULL); // Allow for the common case of just one state to change
86 void AddState(csCommandState* state);
89 void InsertState(csCommandState* state);
95 csCommandState* FindStateByShape(wxShape* shape);
104 class csCommandState: public wxObject
108 csCommandState(int cmd, wxShape* savedState, wxShape* shapeOnCanvas);
109 ~csCommandState();
H A Ddoc.cpp108 csCommandState* onlyState): in csDiagramCommand()
124 csCommandState* state = (csCommandState*) node->GetData(); in ~csDiagramCommand()
151 csCommandState* state = (csCommandState*) node->GetData(); in RemoveLines()
161 csCommandState* newState = new csCommandState(ID_CS_CUT, NULL, line); in RemoveLines()
176 csCommandState* state = (csCommandState*) node->GetData(); in FindStateByShape()
189 csCommandState* state = (csCommandState*) node->GetData(); in Do()
204 csCommandState* state = (csCommandState*) node->GetData(); in Undo()
212 csCommandState::csCommandState(int cmd, wxShape* savedState, wxShape* shapeOnCanvas) in csCommandState() function in csCommandState
222 csCommandState::~csCommandState() in ~csCommandState()
231 bool csCommandState::Do() in Do()
[all …]
H A Dview.cpp330 csCommandState* state = new csCommandState(ID_CS_CUT, NULL, theShape); in DoCut()
364 csCommandState* state = new csCommandState(cmd, theShape, oldShape); in DoCmd()
412csCommandState* state = new csCommandState(ID_CS_CHANGE_BACKGROUND_COLOUR, newShape, theShape); in OnChangeBackgroundColour()
489 csCommandState* state = new csCommandState(ID_CS_FONT_CHANGE, newShape, theShape); in ApplyPointSize()
601 csCommandState* state = new csCommandState(ID_CS_ARROW_CHANGE, newShape, theShape); in OnToggleArrowTool()
726 csCommandState* state = new csCommandState(ID_CS_ALIGN, newShape, shape); in OnAlign()
754 csCommandState* state = new csCommandState(ID_CS_NEW_POINT, newShape, shape); in OnNewLinePoint()
775 csCommandState* state = new csCommandState(ID_CS_CUT_POINT, newShape, shape); in OnCutLinePoint()
796 csCommandState* state = new csCommandState(ID_CS_STRAIGHTEN, newShape, shape); in OnStraightenLines()
915 new csCommandState(ID_CS_ADD_SHAPE, shape, NULL)); in OnLeftClick()
[all …]
H A Dshapes.cpp115 new csCommandState(ID_CS_EDIT_PROPERTIES, newShape, GetShape()))); in OnLeftClick()
250 new csCommandState(ID_CS_ADD_LINE, lineShape, NULL))); in OnEndDragRight()
408 new csCommandState(ID_CS_MOVE, newShape, GetShape())); in OnEndDragLeft()
450 cmd->AddState(new csCommandState(ID_CS_MOVE, newShape2, shape)); in OnEndDragLeft()
556 new csCommandState(ID_CS_SIZE, newShape, shape)); in OnSizingEndDragLeft()
587 cmd->AddState(new csCommandState(ID_CS_CHANGE_LINE_ATTACHMENT, newLine, line)); in OnChangeAttachment()
593 cmd->AddState(new csCommandState(ID_CS_CHANGE_LINE_ORDERING, newShape, GetShape())); in OnChangeAttachment()
701 new csCommandState(ID_CS_EDIT_PROPERTIES, newShape, shape))); in EditProperties()
1070 new csCommandState(ID_CS_MOVE_LINE_POINT, newShape, this))); in OnMoveMiddleControlPoint()
1090 new csCommandState(ID_CS_MOVE_LABEL, newShape, this)));
[all …]
H A Dcsprint.cpp314 m_currentCmd->AddState(new csCommandState(ID_CS_ADD_LINE_SELECT, newShape, NULL)); in OnAddShape()
316 m_currentCmd->AddState(new csCommandState(ID_CS_ADD_SHAPE_SELECT, newShape, NULL)); in OnAddShape()