home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
vos2-121.zip
/
v
/
drawex
/
drawcmdw.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-07-03
|
1KB
|
38 lines
//================================================================
// mycmdwin.h: Header file for minimal prototype V application
// Copyright (C) 1995 Bruce E. Wampler
//================================================================
#ifndef DRAWCMDW_H
#define DRAWCMDW_H
#include <v/vcmdwin.h> // So we can use vCmdWindow
#include <v/vmenu.h> // For the menu pane
#include <v/vcmdpane.h> // command pane
#include <v/vpen.h> // for a pen
#include "drawcnv.h" // myCanvasPane class
class myCmdWindow : public vCmdWindow
{
friend int AppMain(int, char**); // allow AppMain access
public: //--------------------------------- public
myCmdWindow(char*, int, int); // Constructor with size
virtual ~myCmdWindow(); // Destructor
virtual void WindowCommand(ItemVal id, ItemVal val,
CmdType cType);
protected: //------------------------------ protected
private: //-------------------------------- private
// Pointers to panes this window contains
vMenuPane* myMenu; // For the menu bar
myCanvasPane* myCanvas; // For the canvas
vCommandPane* myCmdPane; // for the command pane
// other stuff
vPen _pen; // track pen color
char _fname[100]; // file name
};
#endif