Search Toolkit Book for CScriptPanel
#include <gui/widgets/edit/scriptpanel.hpp>
CScriptPanel class declaration
Definition at line 73 of file scriptpanel.hpp.
◆ TVecMacroRep ◆ CScriptPanel() [1/2] CScriptPanel::CScriptPanel ( ) ◆ CScriptPanel() [2/2] CScriptPanel::CScriptPanel ( wxWindow * parent, wxWindowID id =10001
, const wxPoint & pos = wxDefaultPosition
, const wxSize & size = wxSize(400, 300)
, long style = wxTAB_TRAVERSAL
) ◆ ~CScriptPanel() CScriptPanel::~CScriptPanel ( ) ◆ AddMacro() ◆ CommitChanges() void CScriptPanel::CommitChanges ( ) ◆ Create() bool CScriptPanel::Create ( wxWindow * parent, wxWindowID id = 10001
, const wxPoint & pos = wxDefaultPosition
, const wxSize & size = wxSize(400, 300)
, long style = wxTAB_TRAVERSAL
) ◆ CreateControls() void CScriptPanel::CreateControls ( ) ◆ DecreaseFont() void CScriptPanel::DecreaseFont ( ) ◆ DeleteSelected() void CScriptPanel::DeleteSelected ( )
Definition at line 620 of file scriptpanel.cpp.
References map_checker< Container >::clear(), map_checker< Container >::empty(), i, m_drag, m_once_per_drag, m_Parameters, m_ScriptWindow, m_selected_macros, m_timer, NULL, CMacroLabel::SetIndex(), and CMacroParamsPanel::SetMacro().
Referenced by CMacroFlowEditor::OnCutClick(), and CMacroFlowEditor::OnDeleteClick().
◆ DragMacro() void CScriptPanel::DragMacro ( )Definition at line 651 of file scriptpanel.cpp.
References abs, map_checker< Container >::empty(), m_CurrentMousePos, m_drag, m_once_per_drag, m_Position, m_ScriptWindow, m_selected_macros, m_timer, NULL, SetMousePosition(), and x_ShiftBottomLabels().
Referenced by CScriptPanel::CDragTimer::Notify(), CMacroLabel::OnMouseDrag(), and CMacroLabelHandler::OnMouseDrag().
◆ DropMacro() void CScriptPanel::DropMacro ( )Definition at line 496 of file scriptpanel.cpp.
References map_checker< Container >::empty(), CMacroFlowEditor::GetLockDrag(), i, m_displaced, m_drag, m_modified, m_once_per_drag, m_ScriptWindow, m_selected_macros, m_timer, CMacroLabel::SetIndex(), CMacroFlowEditor::Shake(), UnselectMacro(), x_GetInsertIndex(), and x_ShowSplashWindow().
Referenced by OnMouseUp(), and CMacroLabel::OnMouseUp().
◆ FitPage() void CScriptPanel::FitPage ( ) ◆ GetBitmapResource() wxBitmap CScriptPanel::GetBitmapResource ( const wxString & name ) ◆ GetCount() size_t CScriptPanel::GetCount ( ) ◆ GetCurrentMousePosition() wxPoint CScriptPanel::GetCurrentMousePosition ( ) inline ◆ GetIconResource() wxIcon CScriptPanel::GetIconResource ( const wxString & name ) ◆ GetIndex() ◆ GetMacros() ◆ GetMousePosition() wxPoint CScriptPanel::GetMousePosition ( ) inline ◆ GetPath() wxString CScriptPanel::GetPath ( void ) inline ◆ GetScript() vector< pair< CRef< macro::CMacroRep >, bool > > CScriptPanel::GetScript ( )Definition at line 407 of file scriptpanel.cpp.
References CMacroLabel::GetMacro(), i, CMacroLabel::IsSkipped(), and m_ScriptWindow.
Referenced by CMacroFlowEditor::OnExportStepsClick(), CMacroFlowEditor::OnFindClick(), CMacroFlowEditor::OnForwardClick(), CMacroFlowEditor::OnForwardUpdate(), CMacroFlowEditor::OnSaveAsClick(), CMacroFlowEditor::OnSaveAsUpdate(), CMacroFlowEditor::OnSaveClick(), and CMacroFlowEditor::OnSaveUpdate().
◆ GetSelectedMacros() ◆ GetSynonymFile() ◆ IncreaseFont() void CScriptPanel::IncreaseFont ( ) ◆ Init() void CScriptPanel::Init ( void )Initialises member variables.
Definition at line 137 of file scriptpanel.cpp.
References wxFileArtProvider::AddDirectory(), m_copy_cursor, m_displaced, m_drag, m_font, m_modified, m_once_per_drag, m_ScriptWindow, m_scroll_pos, NULL, wxFileArtProvider::RegisterFileAlias(), CSysPath::ResolvePath(), and wxT.
Referenced by CScriptPanel().
◆ InsertMacro() CMacroLabel * CScriptPanel::InsertMacro ( CRef< macro::CMacroRep > macro, size_t index ) ◆ IsDragging() bool CScriptPanel::IsDragging ( void ) inlineDefinition at line 153 of file scriptpanel.hpp.
References m_drag.
Referenced by CScriptPanel::CDragTimer::Notify(), CMacroFlowEditor::OnAddUpdate(), CMacroFlowEditor::OnDuplicateUpdate(), CMacroFlowEditor::OnEditUpdate(), CMacroFlowEditor::OnFindUpdate(), CMacroFlowEditor::OnForwardUpdate(), CMacroFlowEditor::OnManualEditMacroUpdate(), CMacroFlowEditor::OnPasteUpdate(), CMacroFlowEditor::OnSaveAsUpdate(), CMacroFlowEditor::OnSaveUpdate(), and CMacroFlowEditor::OnSkipStepUpdate().
◆ IsMacroSelected() bool CScriptPanel::IsMacroSelected ( ) inline ◆ IsModified() bool CScriptPanel::IsModified ( ) inline ◆ LoadScrollPos() void CScriptPanel::LoadScrollPos ( ) ◆ LookupSynonymFiles() void CScriptPanel::LookupSynonymFiles ( ) ◆ OnMouseDown() void CScriptPanel::OnMouseDown ( ) ◆ OnMouseUp() void CScriptPanel::OnMouseUp ( ) ◆ OnRightClick() void CScriptPanel::OnRightClick ( wxContextMenuEvent & evt )Definition at line 845 of file scriptpanel.cpp.
References _, ID_MACROFLOW_ADD, ID_MACROFLOW_APPEND, ID_MACROFLOW_COPY, ID_MACROFLOW_CUT, ID_MACROFLOW_DELETE, ID_MACROFLOW_DUPLICATE, ID_MACROFLOW_PASTE, ID_MACROFLOW_ZOOM_IN, ID_MACROFLOW_ZOOM_OUT, ID_MANUALEDITMACRO, ID_SKIP_STEP, and m_drag.
◆ ResetCounters() void CScriptPanel::ResetCounters ( ) ◆ SaveScrollPos() void CScriptPanel::SaveScrollPos ( ) ◆ ScrollToBottom() void CScriptPanel::ScrollToBottom ( ) ◆ SelectItem() void CScriptPanel::SelectItem ( size_t item ) ◆ SelectMacro() ◆ SelectMacros() void CScriptPanel::SelectMacros ( CMacroLabel * label )Definition at line 297 of file scriptpanel.cpp.
References map_checker< Container >::begin(), map_checker< Container >::empty(), map_checker< Container >::end(), map_checker< Container >::find(), GetIndex(), i, label, m_Parameters, m_ScriptWindow, m_selected_macros, max(), min(), CMacroLabel::Select(), and CMacroParamsPanel::SetMacro().
Referenced by CMacroLabel::OnMouseAndShiftDown().
◆ SetModified() void CScriptPanel::SetModified ( bool modified ) inlineDefinition at line 161 of file scriptpanel.hpp.
References m_modified.
Referenced by CMacroFlowEditor::AddNewMacro(), CMacroFlowEditor::OnCutClick(), CMacroFlowEditor::OnDeleteClick(), CMacroFlowEditor::OnDuplicateClick(), CMacroFlowEditor::OnLibToScript(), CMacroFlowEditor::OnPasteClick(), CMacroFlowEditor::OnSaveAsClick(), CMacroFlowEditor::OnSaveClick(), CMacroFlowEditor::OnTreectrlItemActivated(), CMacroFlowEditor::OnTreectrlItemDrag(), CMacroFlowEditor::OnTreectrlItemDrop(), CMacroFlowEditor::OnUpdateSynonymFile(), and CMacroLabel::UpdateText().
◆ SetMousePosition() void CScriptPanel::SetMousePosition ( wxPoint p ) inline ◆ SetPath() void CScriptPanel::SetPath ( const wxString & path ) inline ◆ SetSynonymFile() void CScriptPanel::SetSynonymFile ( const string & filename ) inline ◆ ShowToolTips() bool CScriptPanel::ShowToolTips ( ) static ◆ ToggleSkip() [1/2] void CScriptPanel::ToggleSkip ( ) ◆ ToggleSkip() [2/2] ◆ UnselectMacro() void CScriptPanel::UnselectMacro ( )Definition at line 275 of file scriptpanel.cpp.
References map_checker< Container >::clear(), label, m_Parameters, m_selected_macros, NULL, and CMacroParamsPanel::SetMacro().
Referenced by DropMacro(), CMacroFlowEditor::OnAppendClick(), CMacroFlowEditor::OnCopyClick(), CMacroFlowEditor::OnFindClick(), OnMouseDown(), and CMacroLabelHandler::OnMouseDown().
◆ UpdateCounter() void CScriptPanel::UpdateCounter ( size_t i, size_t counter ) ◆ UpdateMacroSources() ◆ UpdateParamsPanel() void CScriptPanel::UpdateParamsPanel ( ) ◆ x_GetInsertIndex() size_t CScriptPanel::x_GetInsertIndex ( int y, wxSizerItemList & children ) private ◆ x_ShiftBottomLabels() void CScriptPanel::x_ShiftBottomLabels ( ) private ◆ x_ShowSplashWindow() ◆ m_copy_cursor wxCursor CScriptPanel::m_copy_cursor private ◆ m_CurrentMousePos wxPoint CScriptPanel::m_CurrentMousePos private ◆ m_displaced size_t CScriptPanel::m_displaced private ◆ m_drag bool CScriptPanel::m_drag private ◆ m_font wxFont CScriptPanel::m_font private ◆ m_handler ◆ m_modified bool CScriptPanel::m_modified private ◆ m_once_per_drag bool CScriptPanel::m_once_per_drag private ◆ m_Parameters ◆ m_path wxString CScriptPanel::m_path private ◆ m_Position wxPoint CScriptPanel::m_Position private ◆ m_ScriptWindow wxScrolledWindow* CScriptPanel::m_ScriptWindow privateDefinition at line 181 of file scriptpanel.hpp.
Referenced by AddMacro(), CreateControls(), DecreaseFont(), DeleteSelected(), DragMacro(), DropMacro(), FitPage(), GetCount(), GetIndex(), GetMacros(), GetScript(), IncreaseFont(), Init(), InsertMacro(), LoadScrollPos(), ResetCounters(), SaveScrollPos(), ScrollToBottom(), SelectItem(), SelectMacros(), UpdateCounter(), UpdateMacroSources(), x_ShiftBottomLabels(), and ~CScriptPanel().
◆ m_scroll_pos int CScriptPanel::m_scroll_pos private ◆ m_selected_macrosDefinition at line 184 of file scriptpanel.hpp.
Referenced by DeleteSelected(), DragMacro(), DropMacro(), GetSelectedMacros(), IsMacroSelected(), OnMouseDown(), OnMouseUp(), SelectMacro(), SelectMacros(), ToggleSkip(), UnselectMacro(), x_GetInsertIndex(), and x_ShiftBottomLabels().
◆ m_SynonymFile string CScriptPanel::m_SynonymFile private ◆ m_timer ◆ sm_Multiple const string CScriptPanel::sm_Multiple = "Multiple files are present" staticThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4