Milo  0.1
Milo:EquationManipulationProgram
Protected Attributes | List of all members
UI::MiloWindow Class Referenceabstract

#include <ui.h>

Inheritance diagram for UI::MiloWindow:
Inheritance graph
[legend]
Collaboration diagram for UI::MiloWindow:
Collaboration graph
[legend]

Public Member Functions

Constructors and Virtual Destructor
 MiloWindow (MiloPanelPtr panel)
 
 MiloWindow ()
 
virtual ~MiloWindow ()
 
Public helper member functions.
MiloPanel & getPanel ()
 
void addPanel (MiloPanelPtr panel)
 
void deletePanel (MiloPanelIter it)
 
void deletePanel ()
 
Virtual Public Member Functions
virtual void makeTopWindow ()=0
 

Protected Attributes

MiloPanelVector m_panels
 List of panels for this window.
 
MiloPanelIter m_current_panel
 Current active panel.
 

Detailed Description

Abstract base class that provides a window class object and a list of panels.

Constructor & Destructor Documentation

UI::MiloWindow::MiloWindow ( MiloPanelPtr  panel)
inline

Constructor with new panel.

virtual UI::MiloWindow::~MiloWindow ( )
inlinevirtual

Abstract base class needs virtual destructor.

Member Function Documentation

void UI::MiloWindow::addPanel ( MiloPanelPtr  panel)
inline

Add new panel to window after current panel.

Parameters
panelNew panel added to window.
void UI::MiloWindow::deletePanel ( MiloPanelIter  it)
inline

Delete panel from window.

Parameters
itIterator to panel to be deleted.
void UI::MiloWindow::deletePanel ( )
inline

Delete current panel from window.

MiloPanel& UI::MiloWindow::getPanel ( )
inline

Get active panel.

Returns
Active panel.
virtual void UI::MiloWindow::makeTopWindow ( )
pure virtual

Make this window top window.

Implemented in CursesWindow.


The documentation for this class was generated from the following files: