16#ifndef __albaGUIFrame_H__
17#define __albaGUIFrame_H__
39 albaGUIFrame (
const wxString& title,
const wxPoint& pos,
const wxSize& size);
47 void Put (wxWindow* w);
Class Name: albaGUIFrame.
~albaGUIFrame()
destructor.
void Put(wxWindow *w)
Set the window shown on the Client Area, (hide the previous contents).
void SetListener(albaObserver *Listener)
Set the Listener that will receive event-notification.
void OnLayout(wxCommandEvent &event)
Call LayoutWindow() method.
void OnCloseWindow(wxCloseEvent &event)
Send an event with the men 'Quit' item's id.
void OnMenu(wxCommandEvent &e)
Send an event with the men item's id.
void OnSize(wxSizeEvent &event)
Redraw the frame.
void LayoutWindow()
Redraw method.
void OnSashDrag(wxSashEvent &event)
Redraw the frame's sash panel.
albaObserver * m_Listener
void OnMenuOp(wxCommandEvent &e)
Send an event with the men operation's id.
albaGUIFrame(const wxString &title, const wxPoint &pos, const wxSize &size)
constructor.
void Update()
Redraw the frame.
void CreateStatusbar()
Create the status bar into the main frame.
void OnUpdateUI(wxUpdateUIEvent &e)
Send an event with the UI item's id.
Interface implementing the Observer of the Subject/Observer design pattern.