ALBA
|
#include <albaGUIFlagSplitter.h>
Public Member Functions | |
albaGUIFlagSplitter (wxWindow *parent, wxWindowID id=-1) | |
virtual | ~albaGUIFlagSplitter () |
void | SetListener (albaObserver *Listener) |
void | SetSplitPos (int x1, int x2) |
void | Put (wxWindow *w, int i) |
Public Member Functions inherited from albaGUIPanel | |
albaGUIPanel (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name="panel") | |
Protected Member Functions | |
void | OnSize (wxSizeEvent &event) |
void | OnLayout () |
void | OnLeftMouseButtonDown (wxMouseEvent &event) |
void | OnLeftMouseButtonUp (wxMouseEvent &event) |
void | OnMouseMotion (wxMouseEvent &event) |
FlagSplitterDragModes | HitTest (wxMouseEvent &event) |
void | DrawTracker (int x) |
Protected Attributes | |
albaObserver * | m_Listener |
wxCursor * | m_CursorWE |
wxPen * | m_Pen |
FlagSplitterDragModes | m_Dragging |
int | m_Margin |
int | m_With |
int | m_Height |
int | m_XPos1 |
int | m_XPos2 |
int | m_XPosOld |
wxWindow * | m_FocusedPanel |
wxWindow * | m_ViewPanel1 |
wxWindow * | m_ViewPanel2 |
wxWindow * | m_ViewPanel3 |
bool | m_Maximized |
Additional Inherited Members | |
Public Attributes inherited from albaGUIPanel | |
albaGUIPanel * | m_NextPanel |
Use Put(w,id) to place widgets on the various pane - id should be in 0..2.
Putting a new pane delete the previous
Definition at line 47 of file albaGUIFlagSplitter.h.
albaGUIFlagSplitter::albaGUIFlagSplitter | ( | wxWindow * | parent, |
wxWindowID | id = -1 |
||
) |
|
virtual |
|
inline |
Definition at line 53 of file albaGUIFlagSplitter.h.
References m_Listener.
void albaGUIFlagSplitter::SetSplitPos | ( | int | x1, |
int | x2 | ||
) |
Set the split position and redraw the four panels.
void albaGUIFlagSplitter::Put | ( | wxWindow * | w, |
int | i | ||
) |
Put the window into the panel 'i'.
|
protected |
Adjust the panels size.
|
protected |
Adjust the panels.
|
protected |
Intercept the mouse button down and call DrawTracker with mouse position.
|
protected |
Intercept the mouse button up and call SetSplitPos with new position.
|
protected |
Manage the mouse movement to draw the cross of cross splitter.
|
protected |
Hit the mouse position and return the drag modality.
|
protected |
Draw the cross representing the position of cross splitter.
|
protected |
Definition at line 63 of file albaGUIFlagSplitter.h.
Referenced by SetListener().
|
protected |
Definition at line 64 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 65 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 67 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 69 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 70 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 70 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 71 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 71 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 72 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 74 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 75 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 76 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 77 of file albaGUIFlagSplitter.h.
|
protected |
Definition at line 102 of file albaGUIFlagSplitter.h.