Jump to content

VPane

From EDM2
Revision as of 18:34, 14 November 2012 by Martini (talk | contribs) (Created page with "The <tt>vPane</tt> class serves as a base class for various pane objects contained by the <tt>[vcmdwin.htm vCmdWindow]</tt> class. There are no methods or services provided by th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The vPane class serves as a base class for various pane objects contained by the [vcmdwin.htm vCmdWindow] class. There are no methods or services provided by the vPane class that you need to use directly, but the class is used extensively by V internally, and understanding its concepts are important to using V.

There are four types of panes used by V in a vCmdWindow, including menu panes, canvas panes, command panes and status panes. To add a pane to a window, you will first define the contents of the pane (menu, commands, status info) using static arrays, then construct an instance of the pane with new vWhateverPane. Then you add the instance to the window using AddPane.

Note that using the canvas panes is described in the [drawing.htm Drawing] page of the tutorial. The commands used with a command pane are described in the [commands.htm commands] page, while menus and status bars are covered in [vmenu.htm vMenu] and [vstatus.htm vStatus].

Canvas Pane

Header:
[vquickr.htm#vCanvasPane <v/vcanvas.h>]
Class name:
vCanvasPane
Constructor:
userCanvasPane()

Command Pane

Header:
<v/vcmdpane.h>
Class name:
vCommandPane
Constructor:
vCommandPane(CommandObject* cmdbar)

Menu Pane

Header:
[vquickr.htm#vMenu <v/vmenu.h>]
Class name:
vMenuPane
Constructor:
vMenuPane(vMenu* menubar)

Status Pane

Header:
[vquickr.htm#vStatus <v/vstatusp.h>]
Class name:
vStatusPane
Constructor:
vStatusPane(vStatus* sbar)

See Also

[cmdobj.htm CommandObject], [vcanvas.htm vCanvasPane], [vcmdwin.htm vCmdWindow], [vcmdpane.htm vCommandPane], [vmenu.htm vMenu], [vstatus.htm vStatus]