ALBA
albaGUIMutexPanel.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaGUIMutexPanel
5 Authors: Silvano Imboden
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16#ifndef __albaGUIMutexPanel_H__
17#define __albaGUIMutexPanel_H__
18//----------------------------------------------------------------------------
19// Include:
20//----------------------------------------------------------------------------
21#include <wx/scrolwin.h>
22#include "albaGUINamedPanel.h"
24#include "albaGUI.h"
25
31{
32public:
34 albaGUIMutexPanel(wxWindow* parent,wxWindowID id );
37
39 bool Put(wxWindow *win);
40
43
45 wxWindow *GetCurrentClient();
46
47protected:
48 //wxWindow *m_Client;
49 wxBoxSizer *m_Sizer;
50 //Event Table Declaration
51 DECLARE_EVENT_TABLE()
52};
53#endif
Class Name: albaGUIMutexPanel.
virtual ~albaGUIMutexPanel()
destructor.
bool Put(wxWindow *win)
Put the gui onto the panel removing the previous GUI.
bool RemoveCurrentClient()
Remove the current gui.
wxWindow * GetCurrentClient()
retrieve the current gui on panel.
albaGUIMutexPanel(wxWindow *parent, wxWindowID id)
constructor.
wxBoxSizer * m_Sizer
class name: albaGUIPanel Inherits directly from wxPanel and adds the pointer to the next panel
Definition: albaGUIPanel.h:27