class
Editor
: public
InputHandler
(Return to index)
base class for top-level windows in an application.
Type:
Instantiable
Base Classes:
public
InputHandler
Derived Classes
Include file:
Unidraw/editor.h
Description:
man page
Public:
virtual void
Close
()
virtual boolean
DependsOn
(
Component
*)
virtual
Component
*
GetComponent
()
virtual
Tool
*
GetCurTool
()
virtual
KeyMap
*
GetKeyMap
()
virtual
Selection
*
GetSelection
()
virtual
StateVar
*
GetState
(const char*)
virtual
Viewer
*
GetViewer
(int = 0)
virtual
ManagedWindow
*
GetWindow
() const
virtual void
InsertDialog
(
Glyph
*)
virtual void
Open
()
virtual void
RemoveDialog
(
Glyph
*)
virtual void
SetClassName
(const char*)
virtual void
SetComponent
(
Component
*)
virtual void
SetCurTool
(
Tool
*)
virtual void
SetInstance
(const char*)
virtual void
SetKeyMap
(
KeyMap
*)
virtual void
SetSelection
(
Selection
*)
virtual void
SetViewer
(
Viewer
*, int = 0)
virtual void
SetWindow
(
ManagedWindow
*)
virtual void
Update
()
virtual void
keystroke
(const
Event
&)
virtual
~Editor
()
Protected:
Editor
()
void
Insert
(
Interactor
*)
EditorImpl*
_impl
ManagedWindow
*
_window
(more documentation)