84 lines
2.1 KiB
C++
84 lines
2.1 KiB
C++
//## begin module.cm preserve=no
|
|
|
|
// %X% %Q% %Z% %W%
|
|
|
|
//## end module.cm
|
|
|
|
|
|
|
|
//## begin module.cp preserve=no
|
|
|
|
//## end module.cp
|
|
|
|
|
|
|
|
//## Module: Graphics; Pseudo Package specification
|
|
|
|
//## Subsystem: lab7
|
|
|
|
//## Source file: H:\kurs\avC++\lab7\Graphics.h
|
|
|
|
|
|
|
|
#ifndef Graphics_h
|
|
|
|
#define Graphics_h 1
|
|
|
|
|
|
|
|
//## begin module.additionalIncludes preserve=no
|
|
|
|
//## end module.additionalIncludes
|
|
|
|
|
|
|
|
//## begin module.includes preserve=yes
|
|
|
|
//## end module.includes
|
|
|
|
|
|
|
|
//## begin module.additionalDeclarations preserve=yes
|
|
|
|
//## end module.additionalDeclarations
|
|
|
|
|
|
|
|
|
|
|
|
//## Class: Graphics; Abstract
|
|
|
|
//## Category: lab7
|
|
|
|
//## Subsystem: lab7
|
|
|
|
//## Persistence: Transient
|
|
|
|
//## Cardinality/Multiplicity: n
|
|
|
|
|
|
|
|
class Graphics
|
|
|
|
{
|
|
|
|
//## begin Graphics.initialDeclarations preserve=yes
|
|
|
|
//## end Graphics.initialDeclarations
|
|
|
|
|
|
|
|
public:
|
|
|
|
//## Constructors (generated)
|
|
|
|
Graphics();
|
|
|
|
|
|
|
|
//## Destructor (generated)
|
|
|
|
~Graphics();
|
|
|
|
|
|
|
|
|
|
|
|
//## Other Operations (specified)
|
|
|
|
//## Operation: drawWindow%940929793
|
|
|
|
virtual void drawWindow (int xpos, int ypos, int width, int height, char* name) = 0;
|
|
|
|
|
|
|
|
//## Operation: drawButton%940929794
|
|
|
|
virtual void drawButton (int xpos, int ypos, int width, int height, char* text) = 0;
|
|
|
|
|
|
|
|
// Additional Public Declarations
|
|
|
|
//## begin Graphics.public preserve=yes
|
|
|
|
//## end Graphics.public
|
|
|
|
|
|
|
|
protected:
|
|
|
|
// Additional Protected Declarations
|
|
|
|
//## begin Graphics.protected preserve=yes
|
|
|
|
//## end Graphics.protected
|
|
|
|
|
|
|
|
private:
|
|
|
|
// Additional Private Declarations
|
|
|
|
//## begin Graphics.private preserve=yes
|
|
|
|
//## end Graphics.private
|
|
|
|
|
|
|
|
private: //## implementation
|
|
|
|
// Additional Implementation Declarations
|
|
|
|
//## begin Graphics.implementation preserve=yes
|
|
|
|
//## end Graphics.implementation
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
//## begin Graphics.postscript preserve=yes
|
|
|
|
//## end Graphics.postscript
|
|
|
|
|
|
|
|
// Class Graphics
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//## begin module.epilog preserve=yes
|
|
|
|
//## end module.epilog
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|