wxLuaStackDialog Class Reference

#include <wxlstack.h>

Inheritance diagram for wxLuaStackDialog:
[legend]
Collaboration diagram for wxLuaStackDialog:
[legend]

List of all members.

Public Types

enum  {
  IMG_UNKNOWN, IMG_NONE, IMG_NIL, IMG_BOOLEAN,
  IMG_LIGHTUSERDATA, IMG_NUMBER, IMG_STRING, IMG_TABLE,
  IMG_LUAFUNCTION, IMG_USERDATA, IMG_THREAD, IMG_INTEGER,
  IMG_CFUNCTION, IMG_TABLE_OPEN, IMG__COUNT
}
enum  {
  LIST_COL_KEY, LIST_COL_LEVEL, LIST_COL_KEY_TYPE, LIST_COL_VALUE_TYPE,
  LIST_COL_VALUE
}

Public Member Functions

 wxLuaStackDialog ()
 wxLuaStackDialog (const wxLuaState &wxlState, wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("wxLua Stack"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)
virtual ~wxLuaStackDialog ()
bool Create (const wxLuaState &wxlState, wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("wxLua Stack"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)
virtual wxBitmap CreateBmpString (const wxBitmap &bmp, const wxString &s)
virtual int GetItemImage (const wxLuaDebugItem *dbgItem)
virtual wxString GetItemText (long item, long column, bool exact_value=false)
virtual void EnumerateStack ()
virtual void EnumerateStackEntry (int nEntry)
virtual void EnumerateTable (int nRef, int nEntry, long lc_item)
virtual void EnumerateGlobalData (long lc_item)
void FillStackCombobox (const wxLuaDebugData &debugData)
void FillStackEntry (int nEntry, const wxLuaDebugData &debugData)
void FillTableEntry (long lc_item, const wxLuaDebugData &debugData)
void BeginBatch ()
void EndBatch ()
long FindListItem (wxLuaStackListData *stkListData, bool get_parent=false) const
void OnExpandButton (wxCommandEvent &event)
void OnMenu (wxCommandEvent &event)
void OnFind (wxCommandEvent &event)
void OnSelectStack (wxCommandEvent &event)
void SelectStack (int stack_sel)
void OnTreeItem (wxTreeEvent &event)
void OnListItem (wxListEvent &event)
void OnListRightClick (wxListEvent &event)
bool ExpandItem (long lc_item)
bool ExpandItemChildren (long lc_item)
bool CollapseItem (long lc_item)
void SetShowDuplicateExpandMessage (bool show)
void DeleteAllListItemData ()
void RemoveAllLuaReferences ()

Public Attributes

wxSplitterWindowm_splitterWin
wxListCtrlm_listCtrl
wxTreeCtrl * m_treeCtrl
wxMenu * m_listMenu
wxChoice * m_stackChoice
int m_stack_sel
wxArrayInt m_stackEntries
wxComboBox * m_findComboBox
wxMenu * m_findMenu
wxLuaState m_wxlState
wxArrayInt m_luaReferences
wxImageList * m_imageList
wxColour m_typeColours [IMG__COUNT]
int m_img_font_size
bool m_show_dup_expand_msg
int m_batch_count
wxLongToLongHashMap m_expandedItems
wxArrayPtrVoid m_listData

Static Public Attributes

static wxSize m_defaultSize

Private Member Functions

void Init ()

Detailed Description

Definition at line 103 of file wxlstack.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
IMG_UNKNOWN 
IMG_NONE 
IMG_NIL 
IMG_BOOLEAN 
IMG_LIGHTUSERDATA 
IMG_NUMBER 
IMG_STRING 
IMG_TABLE 
IMG_LUAFUNCTION 
IMG_USERDATA 
IMG_THREAD 
IMG_INTEGER 
IMG_CFUNCTION 
IMG_TABLE_OPEN 
IMG__COUNT 

Definition at line 127 of file wxlstack.h.

anonymous enum
Enumerator:
LIST_COL_KEY 
LIST_COL_LEVEL 
LIST_COL_KEY_TYPE 
LIST_COL_VALUE_TYPE 
LIST_COL_VALUE 

Definition at line 148 of file wxlstack.h.


Constructor & Destructor Documentation

wxLuaStackDialog::wxLuaStackDialog (  ) 

Definition at line 106 of file wxlstack.h.

wxLuaStackDialog::wxLuaStackDialog ( const wxLuaState wxlState,
wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  title = wxT("wxLua Stack"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize 
)

Definition at line 108 of file wxlstack.h.

wxLuaStackDialog::~wxLuaStackDialog (  )  [virtual]

Member Function Documentation

void wxLuaStackDialog::BeginBatch (  ) 

Definition at line 694 of file wxlstack.cpp.

References m_batch_count, m_listCtrl, and m_treeCtrl.

Referenced by CollapseItem(), ExpandItemChildren(), and FillTableEntry().

bool wxLuaStackDialog::CollapseItem ( long  lc_item  ) 
bool wxLuaStackDialog::Create ( const wxLuaState wxlState,
wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  title = wxT("wxLua Stack"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize 
)
wxBitmap wxLuaStackDialog::CreateBmpString ( const wxBitmap &  bmp,
const wxString &  s 
) [virtual]

Definition at line 397 of file wxlstack.cpp.

References m_img_font_size.

Referenced by Create().

void wxLuaStackDialog::DeleteAllListItemData (  ) 

Definition at line 1209 of file wxlstack.cpp.

References m_expandedItems, and m_listData.

Referenced by FillStackEntry(), and ~wxLuaStackDialog().

void wxLuaStackDialog::EndBatch (  ) 

Definition at line 705 of file wxlstack.cpp.

References m_batch_count, m_listCtrl, and m_treeCtrl.

Referenced by CollapseItem(), ExpandItemChildren(), and FillTableEntry().

void wxLuaStackDialog::EnumerateGlobalData ( long  lc_item  )  [virtual]
void wxLuaStackDialog::EnumerateStack (  )  [virtual]

Reimplemented in wxLuaDebuggerStackDialog.

Definition at line 507 of file wxlstack.cpp.

References wxLuaDebugData::EnumerateStack(), FillStackCombobox(), m_wxlState, and wxLuaState::Ok().

Referenced by Create().

void wxLuaStackDialog::EnumerateStackEntry ( int  nEntry  )  [virtual]
void wxLuaStackDialog::EnumerateTable ( int  nRef,
int  nEntry,
long  lc_item 
) [virtual]
bool wxLuaStackDialog::ExpandItem ( long  lc_item  ) 
bool wxLuaStackDialog::ExpandItemChildren ( long  lc_item  ) 
void wxLuaStackDialog::FillStackCombobox ( const wxLuaDebugData debugData  ) 
void wxLuaStackDialog::FillStackEntry ( int  nEntry,
const wxLuaDebugData debugData 
)
void wxLuaStackDialog::FillTableEntry ( long  lc_item,
const wxLuaDebugData debugData 
)
long wxLuaStackDialog::FindListItem ( wxLuaStackListData stkListData,
bool  get_parent = false 
) const
int wxLuaStackDialog::GetItemImage ( const wxLuaDebugItem dbgItem  )  [virtual]
wxString wxLuaStackDialog::GetItemText ( long  item,
long  column,
bool  exact_value = false 
) [virtual]
void wxLuaStackDialog::Init (  )  [private]

Definition at line 167 of file wxlstack.cpp.

void wxLuaStackDialog::OnExpandButton ( wxCommandEvent &  event  ) 
void wxLuaStackDialog::OnFind ( wxCommandEvent &  event  ) 
void wxLuaStackDialog::OnListItem ( wxListEvent event  ) 
void wxLuaStackDialog::OnListRightClick ( wxListEvent event  ) 

Definition at line 1001 of file wxlstack.cpp.

References m_listCtrl, and m_listMenu.

void wxLuaStackDialog::OnMenu ( wxCommandEvent &  event  ) 
void wxLuaStackDialog::OnSelectStack ( wxCommandEvent &  event  ) 

Definition at line 911 of file wxlstack.cpp.

References SelectStack().

void wxLuaStackDialog::OnTreeItem ( wxTreeEvent &  event  ) 
void wxLuaStackDialog::RemoveAllLuaReferences (  ) 
void wxLuaStackDialog::SelectStack ( int  stack_sel  ) 

Definition at line 917 of file wxlstack.cpp.

References EnumerateStackEntry(), m_stack_sel, and m_stackEntries.

Referenced by FillStackCombobox(), and OnSelectStack().

void wxLuaStackDialog::SetShowDuplicateExpandMessage ( bool  show  ) 

Definition at line 211 of file wxlstack.h.


Member Data Documentation

Definition at line 237 of file wxlstack.h.

Referenced by BeginBatch(), EndBatch(), and OnTreeItem().

Definition at line 243 of file wxlstack.h.

Referenced by Create(), and ~wxLuaStackDialog().

wxLongToLongHashMap wxLuaStackDialog::m_expandedItems

Definition at line 239 of file wxlstack.h.

Referenced by CollapseItem(), DeleteAllListItemData(), ExpandItem(), and FillStackEntry().

Definition at line 226 of file wxlstack.h.

Referenced by Create(), and OnFind().

Definition at line 227 of file wxlstack.h.

Referenced by Create(), OnFind(), OnMenu(), and ~wxLuaStackDialog().

Definition at line 232 of file wxlstack.h.

Referenced by Create(), and ~wxLuaStackDialog().

Definition at line 234 of file wxlstack.h.

Referenced by CreateBmpString().

Definition at line 220 of file wxlstack.h.

Referenced by Create(), OnListRightClick(), and ~wxLuaStackDialog().

Definition at line 236 of file wxlstack.h.

Referenced by ExpandItem(), and ExpandItemChildren().

Definition at line 217 of file wxlstack.h.

Referenced by Create().

Definition at line 223 of file wxlstack.h.

Referenced by FillStackEntry(), and SelectStack().

Definition at line 222 of file wxlstack.h.

Referenced by Create(), and FillStackCombobox().

Definition at line 224 of file wxlstack.h.

Referenced by FillStackCombobox(), FillStackEntry(), and SelectStack().

wxColour wxLuaStackDialog::m_typeColours[IMG__COUNT]

Definition at line 233 of file wxlstack.h.

Referenced by Create(), and wxLuaStackListCtrl::OnGetItemAttr().


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 10:30:39 2010 for wxLua by  doxygen 1.6.3