VPane

The vPane class serves as a base class for various pane objects contained by the 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] page of the tutorial. The commands used with a command pane are described in the [commands] page, while menus and status bars are covered in vMenu and vStatus.

Canvas Pane

 * Header:
 * <v/vcanvas.h></tt>


 * Class name:
 * vCanvasPane


 * Constructor:
 * userCanvasPane</tt>

Command Pane

 * Header:
 * <v/vcmdpane.h></tt>


 * Class name:
 * vCommandPane


 * Constructor:
 * vCommandPane(CommandObject* cmdbar)</tt>

Menu Pane

 * Header:
 * <v/vmenu.h></tt>


 * Class name:
 * vMenuPane


 * Constructor:
 * vMenuPane(vMenu* menubar)</tt>

Status Pane

 * Header:
 * <v/vstatusp.h></tt>


 * Class name:
 * vStatusPane


 * Constructor:
 * vStatusPane(vStatus* sbar)</tt>