A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/map__item_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/widgets/wx/map_item.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_WIDGETS_WX___MAP_ITEM__HPP 2 #define GUI_WIDGETS_WX___MAP_ITEM__HPP 57  const string

& descr,

bool

separator =

false

);

60  const string

&

GetLabel

()

const

{

return

m_Label; }

61  const string

&

GetDescr

()

const

{

return

m_Descr; }

63  void

SetIcon(wxBitmap& image);

67  virtual void

SetCommand(

TCmdID cmd

, wxEvtHandler* target);

71  virtual void SetRect

(

const

wxRect& rc);

72  virtual void GetRect

(wxRect& rc)

const

;

78  virtual bool OnHotTrack

(

const

wxPoint& ms_pos) {

return false

; }

86  virtual int

x_GetItemShift()

const

;

89  virtual int

x_PreferredSeparatorHeight(wxDC& dc)

const

;

96  virtual void

x_DrawText(wxDC& dc,

const string

&

text

,

const

wxRect& rc,

bool

selected,

bool

focused,

CMapItem This is a base class for IwxMapItem implementations.

virtual void OnMouseDown(const wxPoint &ms_pos)

virtual bool OnHotTrack(const wxPoint &ms_pos)

const string & GetLabel() const

wxEvtHandler * m_CmdTarget

const string & GetDescr() const

virtual void OnLeftDoubleClick(const wxPoint &ms_pos)

IwxMapItem Abstarct item of the Map Control.

virtual void Layout(wxDC &dc, SwxMapItemProperties &props)=0

virtual bool IsGroupSeparator() const =0

virtual int PreferredHeight(wxDC &dc, SwxMapItemProperties &props, int width)=0

virtual void SetRect(const wxRect &rc)=0

virtual void Draw(wxDC &dc, int state, SwxMapItemProperties &props)=0

Draws item in the given rectangle, state is a combination of EItemState flags.

virtual void OnDefaultAction()=0

a callback to perform a default action associated with the item

virtual void GetRect(wxRect &rc) const =0

Include a standard set of the NCBI C++ Toolkit most basic headers.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIWIDGETS_WX_EXPORT

static const char label[]

static void text(MDB_val *v)

SwxMapItemProperties - properties of the IwxMapItem.


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