|
ALBA
|
#include <albaGUICrossSplitter.h>


Public Member Functions | |
| albaGUICrossSplitter (wxWindow *parent, wxWindowID id=-1) | |
| virtual | ~albaGUICrossSplitter () |
| void | SetListener (albaObserver *Listener) |
| void | Split (CrossSplitterModes mode) |
| void | SetSplitPos (int x, int y) |
| void | SetSplitPosRel (float x, float y) |
| void | Maximize () |
| void | Put (wxWindow *w, int i) |
| void | SetFocusedPanel (wxWindow *w) |
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 | OnLeftMouseButtonDown (wxMouseEvent &event) |
| void | OnLeftMouseButtonUp (wxMouseEvent &event) |
| void | OnMouseMotion (wxMouseEvent &event) |
| void | OnLayout () |
| CrossSplitterDragModes | HitTest (wxMouseEvent &event) |
| void | DrawTracker (int x, int y) |
Protected Attributes | |
| albaObserver * | m_Listener |
| wxCursor * | m_CursorWE |
| wxCursor * | m_CursorNS |
| wxCursor * | m_CursorNSWE |
| wxPen * | m_Pen |
| CrossSplitterModes | m_Mode |
| CrossSplitterDragModes | m_Dragging |
| int | m_Margin |
| int | m_XPos |
| int | m_YPos |
| int | m_With |
| int | m_Height |
| int | m_OldXPos |
| int | m_OldYPos |
| float | m_RelXPos |
| float | m_RelYPos |
| wxWindow * | m_FocusedPanel |
| wxWindow * | m_ViewPanel1 |
| wxWindow * | m_ViewPanel2 |
| wxWindow * | m_ViewPanel3 |
| wxWindow * | m_ViewPanel4 |
| 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..3.
Putting a new pane delete the previous
Definition at line 58 of file albaGUICrossSplitter.h.
| albaGUICrossSplitter::albaGUICrossSplitter | ( | wxWindow * | parent, |
| wxWindowID | id = -1 |
||
| ) |
|
virtual |
|
inline |
Definition at line 64 of file albaGUICrossSplitter.h.
| void albaGUICrossSplitter::Split | ( | CrossSplitterModes | mode | ) |
Show/Hide the four panel according to a splitting modality.
| void albaGUICrossSplitter::SetSplitPos | ( | int | x, |
| int | y | ||
| ) |
Set the split position and redraw the four panels.
| void albaGUICrossSplitter::SetSplitPosRel | ( | float | x, |
| float | y | ||
| ) |
Set the split position in relative coordinates and redraw the four panels.
| void albaGUICrossSplitter::Maximize | ( | ) |
Maximize the founded panel.
| void albaGUICrossSplitter::Put | ( | wxWindow * | w, |
| int | i | ||
| ) |
Put the window into the panel 'i'.
| void albaGUICrossSplitter::SetFocusedPanel | ( | wxWindow * | w | ) |
Set the focus on window 'w'.
|
protected |
Adjust the panels size.
|
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 |
Adjust the four panel.
|
protected |
Hit the mouse position and return the drag modality.
|
protected |
Draw the cross representing the position of creoss splitter.
|
protected |
Definition at line 86 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 88 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 89 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 90 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 91 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 93 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 94 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 96 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 97 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 97 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 97 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 97 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 98 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 98 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 99 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 99 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 101 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 102 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 103 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 104 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 105 of file albaGUICrossSplitter.h.
|
protected |
Definition at line 129 of file albaGUICrossSplitter.h.