NCBI C++ ToolKit
|
Search Toolkit Book for CProgressPanel
#include <gui/widgets/gl/progress_panel.hpp>
Public Member Functions | |
CProgressPanel () | |
CProgressPanel. More... | |
virtual | ~CProgressPanel () |
virtual void | Update (float progress, const string &msg) |
IRenderable implementation | |
virtual void | Render (CGlPane &pane) |
virtual TVPPoint | PreferredSize () |
Public Member Functions inherited from CRenderableImpl | |
CRenderableImpl () | |
CRenderableImpl. More... | |
virtual | ~CRenderableImpl () |
virtual TVPRect | GetVPRect () const |
virtual void | SetVPRect (const TVPRect &rc) |
virtual TModelRect | GetModelRect () const |
virtual void | SetModelRect (const TModelRect &rc) |
virtual bool | IsVisible () |
virtual void | SetVisible (bool set) |
virtual bool | NeedTooltip (CGlPane &pane, TVPUnit vp_x, TVPUnit vp_y) |
virtual string | GetTooltip () |
virtual void | SetOrder (int order) |
virtual int | GetOrder () const |
Public Member Functions inherited from IRenderable | |
virtual | ~IRenderable (void) |
Protected Attributes | |
CGlTextureFont | m_Font |
float | m_Progress |
string | m_Message |
Protected Attributes inherited from CRenderableImpl | |
TVPRect | m_VPRect |
TModelRect | m_ModelRect |
bool | m_Visible |
int | m_Order = 0 |
Definition at line 45 of file progress_panel.hpp.
CProgressPanel::CProgressPanel | ( | ) |
Definition at line 45 of file progress_panel.cpp.
|
virtual |
Definition at line 52 of file progress_panel.cpp.
|
virtual |
Reimplemented from CRenderableImpl.
Definition at line 126 of file progress_panel.cpp.
References int, kPrH, kPrOff, m_Font, and CGlTextureFont::TextHeight().
Referenced by Render(), and CAlnMultiPane::x_RenderProgressPanel().
|
virtual |
Implements IRenderable.
Definition at line 68 of file progress_panel.cpp.
References CGlRect< T >::Bottom(), CGlPane::Close(), IGlFont::eAlign_Left, CGlRect< T >::Height(), int, kAlpha, kPrH, kPrOff, CGlRect< T >::Left(), m_Font, m_Message, m_Progress, CRenderableImpl::m_VPRect, CGlPane::OpenPixels(), PreferredSize(), CGlRect< T >::Right(), CGlTextureFont::TextOut(), CGlRect< T >::Top(), CGlRect< T >::Width(), CGlPoint< T >::X(), and CGlPoint< T >::Y().
Referenced by CAlnMultiPane::x_RenderProgressPanel().
Definition at line 57 of file progress_panel.cpp.
References m_Message, m_Progress, and msg().
Referenced by CAlnMultiPane::ShowProgressPanel().
|
protected |
Definition at line 62 of file progress_panel.hpp.
Referenced by PreferredSize(), and Render().
|
protected |
Definition at line 65 of file progress_panel.hpp.
|
protected |
Definition at line 64 of file progress_panel.hpp.