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/desktop__item_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/widgets/seq_desktop/desktop_item.hpp Source File

1 #ifndef GUI_WIDGETS_SEQ_DESKTOP___DESKTOP_ITEM__HPP 2 #define GUI_WIDGETS_SEQ_DESKTOP___DESKTOP_ITEM__HPP 41 #include <wx/string.h> 70  virtual bool FindSearchItem

(

const string

& search,

bool

case_sensitive)

const

= 0;

75  virtual void Draw

(wxDC& dc,

bool

highlight =

false

)

const

= 0;

82  virtual const string

&

GetType

()

const

= 0;

113  virtual bool FindSearchItem

(

const string

& search,

bool

case_sensitive)

const

;

118  virtual void Draw

(wxDC& dc,

bool

highlight =

false

)

const

;

123  virtual void Init

();

125  virtual const string

&

GetType

()

const

;

237  virtual void Init

();

A desktop item with children.

TDeskItemList m_ItemList

List of child items.

list< CIRef< IDesktopItem > > TDeskItemList

virtual IDesktopItem * FindItem(const wxPoint &pt) const

void x_SetTextToDrawAndSize()

Sets the size of the rectangle based on the height and width of the displayed text.

virtual wxSize x_GetVisibleTextSize(wxDC &dc)=0

Determines the size of the text to be displayed corresponding to the current expansion level.

virtual void Add(IDesktopItem &)

vector< string > m_Text

Text that appears in the rectangle.

bool m_Show

Flag to show or hide the item.

int m_TextHeight

Height of the text within the rectangle.

virtual wxSize GetSize() const

wxColour m_FrameCol

Colour of rectangle's outline.

virtual void SetBkgdBrush(const wxBrush &bkgd_brush)

wxPoint m_Origin

Point where the drawing starts.

virtual void SetPosition(const wxPoint &pos)

CConstRef< IDesktopDataItem > m_Item

Storing actual data.

virtual void SetPosX(int x_val)

virtual CConstRef< IDesktopDataItem > GetDataItem() const

virtual wxPoint GetPosition() const

virtual bool Traverse(IDesktopCompositeTraverser &traverser)

virtual const wxColour & GetFrameColor() const

virtual int GetRelevantHeight() const

wxPoint m_Pos

Position of the item on the canvas.

virtual void Show(bool value)

virtual const string & GetType() const

virtual const wxBrush & GetBkgdBrush() const

virtual void ShowTillBioseq(bool value)

virtual void Draw(wxDC &dc, bool highlight=false) const

virtual const CConstRef< CObject > GetAssociatedObject() const

wxColour m_TextCol

Foreground colour of the text.

virtual const string & GetDescr() const

virtual void SetFrameColor(const wxColour &color)

bool m_Selected

Flag to indicate selection of this item.

CDesktopItem(CConstRef< IDesktopDataItem > item)

int m_Indent

Text indentation.

wxString m_CurrentText

Text that appears on the screen corresponding to the current level of expansion.

virtual void SetSelected(bool val)

wxBrush m_BkgdBrush

Background colour of the rectangle.

virtual void SetPosY(int y_val)

int m_ExpandLevel

State(level) of expansion.

virtual bool IsShown() const

virtual bool FindSearchItem(const string &search, bool case_sensitive) const

wxSize m_Size

Size of the rectangle.

A special composite desktop item (one that has children).

wxSize m_OrigSize

Original size corresponding to 0 expansion level.

A desktop item that has no children.

virtual int GetRelevantHeight() const

virtual bool ProcessItem(CDesktopItem &textItem)=0

virtual void UpdatePositions(int *cumY, int depth=0)

virtual void SetBkgdBrush(const wxBrush &bkgd_brush)=0

virtual wxPoint GetPosition() const =0

virtual IDesktopItem * FindItem(const wxPoint &pt) const =0

virtual const string & GetType() const =0

virtual void Draw(wxDC &dc, bool highlight=false) const =0

virtual wxRect GetRect() const

virtual wxSize GetSize() const =0

virtual void SetPosX(int x_val)=0

virtual const wxColour & GetFrameColor() const =0

virtual void Collapse()=0

virtual const string & GetDescr() const =0

virtual bool FindSearchItem(const string &search, bool case_sensitive) const =0

virtual int GetRelevantHeight() const =0

virtual const wxBrush & GetBkgdBrush() const =0

virtual const CConstRef< CObject > GetAssociatedObject() const

virtual void Add(IDesktopItem &)=0

virtual void UpdateSize()

virtual void ShowTillBioseq(bool value)=0

virtual CConstRef< IDesktopDataItem > GetDataItem() const =0

virtual void SetPosition(const wxPoint &pos)=0

virtual void SetPosY(int y_val)=0

virtual bool Traverse(IDesktopCompositeTraverser &)=0

virtual bool IsShown() const =0

virtual void Show(bool value)=0

virtual void SetSelected(bool val)=0

virtual void SetFrameColor(const wxColour &color)=0

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

static unsigned char depth[2 *(256+1+29)+1]

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIWIDGETS_DESKTOP_EXPORT

Defines to provide correct exporting from DLLs in Windows.

const GenericPointer< typename T::ValueType > T2 value

Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.


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