wxScrolledWindow;
54 #define ID_CSCRIPTPANEL 10001 55 #define ID_CSCRIPTPANEL_SCROLLEDWND 10003 56 #define ID_CSCRIPTPANEL_SCROLLEDWND1 10004 57 #define SYMBOL_CSCRIPTPANEL_STYLE wxTAB_TRAVERSAL 58 #define SYMBOL_CSCRIPTPANEL_TITLE _("ScriptPanel")
59 #define SYMBOL_CSCRIPTPANEL_IDNAME ID_CSCRIPTPANEL 60 #define SYMBOL_CSCRIPTPANEL_SIZE wxSize(400, 300) 61 #define SYMBOL_CSCRIPTPANEL_POSITION wxDefaultPosition 92 bool Create( wxWindow* parent,
127vector<pair<CRef<macro::CMacroRep>,
bool>>
GetScript();
230DECLARE_EVENT_TABLE()
239 constwxPoint &pos=wxDefaultPosition,
240 constwxSize &
size=wxDefaultSize,
241 longstyle=wxFRAME_SHAPED|wxBORDER_NONE);
243 bool Create( wxWindow* parent,
245 constwxPoint &pos=wxDefaultPosition,
246 constwxSize &
size=wxDefaultSize,
247 longstyle=wxFRAME_SHAPED|wxBORDER_NONE);
306 voidSetShape(wxGraphicsPath&) {}
330DECLARE_EVENT_TABLE()
337 constwxPoint& pos = wxDefaultPosition,
338 constwxSize&
size= wxDefaultSize,
339 longstyle = wxTAB_TRAVERSAL );
342 bool Create( wxWindow* parent,
344 constwxPoint& pos = wxDefaultPosition,
345 constwxSize&
size= wxDefaultSize,
346 longstyle = wxTAB_TRAVERSAL );
373vector<pair<macro::IMacroVar*, wxPGProperty*> >
m_props;
CMacroLabelHandler(CMacroLabel *win)
void OnMouseDoubleClick(wxMouseEvent &event)
void OnMouseDown(wxMouseEvent &event)
void OnMouseUp(wxMouseEvent &event)
CMacroLabelHandler(CScriptPanel *panel)
wxDECLARE_NO_COPY_CLASS(CMacroLabelHandler)
void OnMouseDrag(wxMouseEvent &event)
void OnMouseAndShiftDown()
wxGenericStaticBitmap * m_bitmap
void UpdateCounter(size_t counter)
CMacroLabel()
Constructors.
void UpdateMacroRep(CRef< macro::CMacroRep > macro)
CMacroLabelHandler * m_handler5
void SetIndex(size_t index)
CMacroLabelHandler * m_handler2
CMacroLabelHandler * m_handler1
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void Init()
Initialises member variables.
~CMacroLabel()
Destructor.
CRef< macro::CMacroRep > m_macro
static wxColour GetLabelColour(const string &str)
macro::CMacroEngine m_MEngine
wxString x_ConstructTitle() const
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxFRAME_SHAPED|wxBORDER_NONE)
void CreateControls()
Creates the controls and sizers.
CRef< macro::CMacroRep > GetMacro()
int x_GetTextWidth() const
static bool ShowToolTips()
Should we show tooltips?
CMacroLabelHandler * m_handler4
void UpdateMacro(CRef< macro::CMacroRep > macro)
CMacroLabelHandler * m_handler3
CRef< macro::CMacroRep > m_macro
void CreateControls()
Creates the controls and sizers.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void Init()
Initialises member variables.
CMacroParamsPanel()
Constructors.
~CMacroParamsPanel()
Destructor.
wxPropertyGrid * m_PropGridCtrl
void OnPropertyChanged(wxPropertyGridEvent &event)
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
vector< pair< macro::IMacroVar *, wxPGProperty * > > m_props
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
Creation.
void SetMacro(CRef< macro::CMacroRep > macro, CMacroLabel *label=NULL)
static bool ShowToolTips()
Should we show tooltips?
CDragTimer(CScriptPanel *panel)
void Init()
Initialises member variables.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
size_t x_GetInsertIndex(int y, wxSizerItemList &children)
wxPoint m_CurrentMousePos
CMacroParamsPanel * m_Parameters
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
bool Create(wxWindow *parent, wxWindowID id=10001, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
void SetMousePosition(wxPoint p)
void SetPath(const wxString &path)
void x_ShowSplashWindow(CMacroFlowEditor *frame)
CScriptPanel()
Constructors.
void CreateControls()
Creates the controls and sizers.
void SetSynonymFile(const string &filename)
wxScrolledWindow * m_ScriptWindow
vector< CRef< macro::CMacroRep > > TVecMacroRep
size_t GetIndex(CMacroLabel *label)
void SetModified(bool modified)
void SelectMacro(CMacroLabel *label)
void SelectItem(size_t item)
wxPoint GetMousePosition()
const map< size_t, CMacroLabel * > & GetSelectedMacros()
CMacroLabel * AddMacro(CRef< macro::CMacroRep > macro)
map< size_t, CMacroLabel * > m_selected_macros
void SelectMacros(CMacroLabel *label)
static const string sm_Multiple
void x_ShiftBottomLabels()
const string & GetSynonymFile() const
vector< pair< CRef< macro::CMacroRep >, bool > > GetScript()
bool UpdateMacroSources(const TVecMacroRep &script)
void UpdateCounter(size_t i, size_t counter)
static bool ShowToolTips()
Should we show tooltips?
CMacroLabelHandler * m_handler
wxPoint GetCurrentMousePosition()
void LookupSynonymFiles()
void OnRightClick(wxContextMenuEvent &evt)
~CScriptPanel()
Destructor.
CMacroLabel * InsertMacro(CRef< macro::CMacroRep > macro, size_t index)
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char * str(char *buf, int n)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static const char label[]
Macro engine for macro execution.
const struct ncbi::grid::netcache::search::fields::SIZE size
wxNonOwnedWindow TMacroLabelParent
#define SYMBOL_CSCRIPTPANEL_STYLE
#define SYMBOL_CSCRIPTPANEL_POSITION
#define SYMBOL_CSCRIPTPANEL_IDNAME
#define SYMBOL_CSCRIPTPANEL_SIZE
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