NCBI C++ ToolKit
|
Search Toolkit Book for CPseudoTransparentFrame
CPseudoTransparentFrame - this is a transparent window that is used as a visual hint during D&D docking. More...
#include <gui/widgets/wx/dock_hint_frame.hpp>
Public Member Functions | |
CPseudoTransparentFrame (wxWindow *parent, CDockManager &manager) | |
virtual bool | SetTransparent (wxByte alpha) |
void | OnKeyUp (wxKeyEvent &event) |
Define functions that are the same for all platforms. More... | |
void | OnKeyDown (wxKeyEvent &event) |
Protected Member Functions | |
void | OnPaint (wxPaintEvent &event) |
for all platforms except for GTK 20 adding the code below More... | |
void | OnSize (wxSizeEvent &event) |
Define OnWindowCreate() only for __WXGTK__. More... | |
Protected Attributes | |
CDockManager & | m_DockManager |
wxByte | m_Amount |
int | m_MaxWidth |
int | m_MaxHeight |
bool | m_CanSetShape |
int | m_LastWidth |
int | m_LastHeight |
wxRegion | m_Region |
CPseudoTransparentFrame - this is a transparent window that is used as a visual hint during D&D docking.
The frame is displayed as a transparent overlay on top of the Window Manager.
Definition at line 55 of file dock_hint_frame.hpp.
CPseudoTransparentFrame::CPseudoTransparentFrame | ( | wxWindow * | parent, |
CDockManager & | manager | ||
) |
Definition at line 122 of file dock_hint_frame.cpp.
References m_Amount, m_CanSetShape, m_LastHeight, m_LastWidth, m_MaxHeight, m_MaxWidth, m_Region, and SetTransparent().
void CPseudoTransparentFrame::OnKeyDown | ( | wxKeyEvent & | event | ) |
Definition at line 240 of file dock_hint_frame.cpp.
References m_DockManager, and CDockManager::OnKeyDown().
void CPseudoTransparentFrame::OnKeyUp | ( | wxKeyEvent & | event | ) |
Define functions that are the same for all platforms.
Definition at line 234 of file dock_hint_frame.cpp.
References m_DockManager, and CDockManager::OnKeyUp().
|
protected |
for all platforms except for GTK 20 adding the code below
Definition at line 172 of file dock_hint_frame.cpp.
References m_Region.
|
protected |
Define OnWindowCreate() only for __WXGTK__.
Definition at line 207 of file dock_hint_frame.cpp.
References m_Amount, m_LastHeight, m_LastWidth, m_Region, and SetTransparent().
|
virtual |
Definition at line 146 of file dock_hint_frame.cpp.
References m_Amount, m_CanSetShape, m_MaxHeight, m_MaxWidth, and m_Region.
Referenced by CPseudoTransparentFrame(), and OnSize().
|
protected |
Definition at line 79 of file dock_hint_frame.hpp.
Referenced by CPseudoTransparentFrame(), OnSize(), and SetTransparent().
|
protected |
Definition at line 82 of file dock_hint_frame.hpp.
Referenced by CPseudoTransparentFrame(), and SetTransparent().
|
protected |
Definition at line 66 of file dock_hint_frame.hpp.
Referenced by OnKeyDown(), and OnKeyUp().
|
protected |
Definition at line 84 of file dock_hint_frame.hpp.
Referenced by CPseudoTransparentFrame(), and OnSize().
|
protected |
Definition at line 83 of file dock_hint_frame.hpp.
Referenced by CPseudoTransparentFrame(), and OnSize().
|
protected |
Definition at line 81 of file dock_hint_frame.hpp.
Referenced by CPseudoTransparentFrame(), and SetTransparent().
|
protected |
Definition at line 80 of file dock_hint_frame.hpp.
Referenced by CPseudoTransparentFrame(), and SetTransparent().
|
protected |
Definition at line 86 of file dock_hint_frame.hpp.
Referenced by CPseudoTransparentFrame(), OnPaint(), OnSize(), and SetTransparent().