16#ifndef __albaGUIViewFrame_H__
17#define __albaGUIViewFrame_H__
37 const wxString& title,
38 const wxPoint& pos = wxDefaultPosition,
39 const wxSize& size = wxDefaultSize,
40 long style = wxDEFAULT_FRAME_STYLE|wxCLIP_CHILDREN
48 static void OnQuit () {m_Quitting=
true;};
Implementation of the message object for the Subject/Observer design pattern.
void OnCloseWindow(wxCloseEvent &event)
Send the event to destroy the owned view.
void SetView(albaView *view)
Set which is the external view.
void OnSelect(wxCommandEvent &event)
Send the event to select the owned view.
albaObserver * m_Listener
void OnActivate(wxActivateEvent &event)
Send the event to select the owned view.
void OnSize(wxSizeEvent &event)
Adjust the child size.
albaGUIViewFrame(wxFrame *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxCLIP_CHILDREN)
static void OnQuit()
Set the quitting flag.
void SetListener(albaObserver *Listener)
virtual void OnEvent(albaEventBase *alba_event)
Answer to the messages coming from bottom classes.
Interface implementing the Observer of the Subject/Observer design pattern.
albaView is the base class for Views in alba.