wxPoint& pos = wxDefaultPosition,
67 constwxSize&
size= wxDefaultSize,
68 longstyle = wxNO_BORDER | wxHSCROLL | wxVSCROLL);
79 void OnPaint(wxPaintEvent& event);
105 bool FindText(
const string& search);
Defines a scrollable canvas for drawing purposes.
TItemList m_DisplayList
List of items to be displayed.
void PaintBackground(wxDC &dc)
list< CIRef< IDesktopItem > > TItemList
void OnEraseBackground(wxEraseEvent &event)
void x_ScrollToSelectedItem()
void SetMainItem(IDesktopItem *main_item, int state=0)
void OnMouseEvent(wxMouseEvent &event)
Handler for all mouse events.
CIRef< IDesktopItem > m_RootItem
The root item to be displayed.
void x_OnContextMenu(wxContextMenuEvent &event)
CIRef< IDesktopItem > m_Selected
the selected item
void OnPaint(wxPaintEvent &event)
CIRef< IDesktopItem > FindItem(const wxPoint &pt) const
void SetContext(CDesktopViewContext *context)
void ObjectSelectionChanged()
void SetHost(IGuiWidgetHost *host)
CDesktopViewContext * GetContext() const
int GetExpansionLevel() const
CIRef< IDesktopItem > GetRootItem() const
map< const CObject *, CIRef< IDesktopItem > > TObjectToItem
TObjectToItem & GetObjectToItem()
CDesktopCanvas(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxNO_BORDER|wxHSCROLL|wxVSCROLL)
CIRef< IDesktopItem > m_Highlighted
the highlighted item
void SetSelectedObjects(const TConstObjects &objs)
bool FindText(const string &search)
void GetSelectedObjects(TConstObjects &objects) const
unique_ptr< CDesktopViewContext > m_Context
void x_EraseItem(CIRef< IDesktopItem > item, wxDC &dc)
TObjectToItem m_ObjectToItem
IDesktopItem * GetSelection() const
vector< CConstRef< CObject > > TConstObjects
TObjectType * GetNCPointerOrNull(void) const THROWS_NONE
Get pointer value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
const struct ncbi::grid::netcache::search::fields::SIZE size
The NCBI C++/STL use hints.
static CS_CONTEXT * context
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