Code::Blocks  SVN r11506
Classes | Macros | Typedefs | Functions | Variables
watchesdlg.cpp File Reference
#include "sdk.h"
#include <numeric>
#include <map>
#include <algorithm>
#include <wx/propgrid/propgrid.h>
#include "watchesdlg.h"
#include "cbcolourmanager.h"
#include "debuggermanager.h"
Include dependency graph for watchesdlg.cpp:

Go to the source code of this file.

Classes

struct  WatchesDlg::WatchItemPredicate
 
class  cbDummyEditor
 
class  cbTextCtrlAndButtonTooltipEditor
 
class  WatchesProperty
 
class  WatchRawDialogAdapter
 
class  WatchRawDialog
 dialog to show the value of a watch More...
 
class  WatchesDropTarget
 

Macros

#define wxPG_EX_DISABLE_TLP_TRACKING   0x00000000
 

Typedefs

typedef wxString wxPG_CONST_WXCHAR_PTR
 

Functions

 IMPLEMENT_DYNAMIC_CLASS (cbDummyEditor, wxPGEditor)
 
 IMPLEMENT_DYNAMIC_CLASS (cbTextCtrlAndButtonTooltipEditor, wxPGTextCtrlAndButtonEditor)
 
 IMPLEMENT_DYNAMIC_CLASS (WatchesProperty, wxStringProperty)
 
void AppendChildren (wxPropertyGrid &grid, wxPGProperty &property, cbWatch &watch, bool readonly, const wxColour &changedColour)
 
void UpdateWatch (wxPropertyGrid *grid, wxPGProperty *property, cb::shared_ptr< cbWatch > watch, bool readonly)
 
void SetValue (WatchesProperty *prop)
 
wxPGPropertyGetRealRoot (wxPropertyGrid *grid)
 
void GetColumnWidths (wxClientDC &dc, wxPropertyGrid *grid, wxPGProperty *root, int width[3])
 
void GetColumnWidths (wxPropertyGrid *grid, wxPGProperty *root, int width[3])
 
void SetMinSize (wxPropertyGrid *grid)
 

Variables

static wxPGEditorwatchesDummyEditor = nullptr
 
static wxPGEditorwatchesPropertyEditor = nullptr
 

Macro Definition Documentation

◆ wxPG_EX_DISABLE_TLP_TRACKING

#define wxPG_EX_DISABLE_TLP_TRACKING   0x00000000

Typedef Documentation

◆ wxPG_CONST_WXCHAR_PTR

Definition at line 74 of file watchesdlg.cpp.

Function Documentation

◆ AppendChildren()

void AppendChildren ( wxPropertyGrid grid,
wxPGProperty property,
cbWatch watch,
bool  readonly,
const wxColour changedColour 
)
inline

◆ GetColumnWidths() [1/2]

void GetColumnWidths ( wxClientDC dc,
wxPropertyGrid grid,
wxPGProperty root,
int  width[3] 
)
inline

◆ GetColumnWidths() [2/2]

void GetColumnWidths ( wxPropertyGrid grid,
wxPGProperty root,
int  width[3] 
)
inline

Definition at line 1119 of file watchesdlg.cpp.

References GetColumnWidths().

◆ GetRealRoot()

wxPGProperty* GetRealRoot ( wxPropertyGrid grid)
inline

Definition at line 1074 of file watchesdlg.cpp.

Referenced by SetMinSize(), and ValueTooltip::UpdateWatch().

◆ IMPLEMENT_DYNAMIC_CLASS() [1/3]

IMPLEMENT_DYNAMIC_CLASS ( cbDummyEditor  ,
wxPGEditor   
)

◆ IMPLEMENT_DYNAMIC_CLASS() [2/3]

IMPLEMENT_DYNAMIC_CLASS ( cbTextCtrlAndButtonTooltipEditor  ,
wxPGTextCtrlAndButtonEditor   
)

◆ IMPLEMENT_DYNAMIC_CLASS() [3/3]

IMPLEMENT_DYNAMIC_CLASS ( WatchesProperty  ,
wxStringProperty   
)

◆ SetMinSize()

void SetMinSize ( wxPropertyGrid grid)
inline

◆ SetValue()

void SetValue ( WatchesProperty prop)
inline

◆ UpdateWatch()

void UpdateWatch ( wxPropertyGrid grid,
wxPGProperty property,
cb::shared_ptr< cbWatch watch,
bool  readonly 
)
inline

Variable Documentation

◆ watchesDummyEditor

wxPGEditor* watchesDummyEditor = nullptr
static

Definition at line 125 of file watchesdlg.cpp.

Referenced by WatchesProperty::DoGetEditorClass(), and WatchesDlg::WatchesDlg().

◆ watchesPropertyEditor

wxPGEditor* watchesPropertyEditor = nullptr
static

Definition at line 150 of file watchesdlg.cpp.

Referenced by WatchesProperty::DoGetEditorClass(), and WatchesDlg::WatchesDlg().