17#ifndef __albaGUIListCtrlBitmap_H__
18#define __albaGUIListCtrlBitmap_H__
25#include <wx/imaglist.h>
26#include <wx/listctrl.h>
64 bool AddItem(
long item_id, wxString label, wxBitmap *bmp = NULL);
ITEM_ICONS
possible values for icon
albaGUIListCtrlBitmap allows a simplified use of a wxWindows ListCtrl widget.
void Reset()
Clear the control list.
albaGUIListCtrlBitmap(wxWindow *parent, wxWindowID id=-1, bool CloseButton=false, bool HideTitle=false)
bool AddItem(long item_id, wxString label, wxBitmap *bmp=NULL)
Add one item to the list.
ITEM_ICONS GetItemIcon(long item_id)
Get the item's icon.
wxString GetItemLabel(long item_id)
Get the item's label.
bool DeleteItem(long item_id)
Remove the item from the list.
bool SetItemIcon(long item_id, wxBitmap *bmp)
Set the item's icon, return true on success.
bool SetItemLabel(long item_id, wxString label)
Set the item's label.
virtual ~albaGUIListCtrlBitmap()
void SetColumnLabel(int col, wxString label)
Set the label for the list's column.
void SetListener(albaObserver *listener)
albaObserver * m_Listener
void OnSelectionChanged(wxListEvent &event)
Notify the Listener of item selection and deselection.
bool SelectItem(long item_id)
Select the item 'id'.
Class Name: albaGUINamedPanel.
Interface implementing the Observer of the Subject/Observer design pattern.