91 lines
2.1 KiB
C++
91 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: Panel; Pseudo Package specification
|
|
|
|
//## Subsystem: lab7
|
|
|
|
//## Source file: H:\kurs\avC++\lab7\Panel.h
|
|
|
|
|
|
|
|
#ifndef Panel_h
|
|
|
|
#define Panel_h 1
|
|
|
|
|
|
|
|
//## begin module.additionalIncludes preserve=no
|
|
|
|
//## end module.additionalIncludes
|
|
|
|
|
|
|
|
//## begin module.includes preserve=yes
|
|
|
|
//## end module.includes
|
|
|
|
|
|
|
|
// CompositeComponent
|
|
|
|
#include "CmpstCmp.h"
|
|
|
|
//## begin module.additionalDeclarations preserve=yes
|
|
|
|
class CompositeComponent;
|
|
|
|
//## end module.additionalDeclarations
|
|
|
|
|
|
|
|
|
|
|
|
//## Class: Panel
|
|
|
|
//## Category: lab7
|
|
|
|
//## Subsystem: lab7
|
|
|
|
//## Persistence: Transient
|
|
|
|
//## Cardinality/Multiplicity: n
|
|
|
|
|
|
|
|
class Panel : public CompositeComponent //## Inherits: <unnamed>
|
|
|
|
{
|
|
|
|
//## begin Panel.initialDeclarations preserve=yes
|
|
|
|
//## end Panel.initialDeclarations
|
|
|
|
|
|
|
|
public:
|
|
|
|
//## Constructors (generated)
|
|
|
|
Panel();
|
|
|
|
|
|
|
|
//## Constructors (specified)
|
|
|
|
//## Operation: Panel%940854126
|
|
|
|
Panel (int xpos, int ypos, int width, int height);
|
|
|
|
|
|
|
|
//## Destructor (generated)
|
|
|
|
~Panel();
|
|
|
|
|
|
|
|
|
|
|
|
//## Other Operations (specified)
|
|
|
|
//## Operation: getAbsPos%940945807
|
|
|
|
void getAbsPos (Rectangle* r);
|
|
|
|
|
|
|
|
//## Operation: add%940945809
|
|
|
|
void add (Component* c);
|
|
|
|
|
|
|
|
// Additional Public Declarations
|
|
|
|
//## begin Panel.public preserve=yes
|
|
|
|
//## end Panel.public
|
|
|
|
|
|
|
|
protected:
|
|
|
|
// Additional Protected Declarations
|
|
|
|
//## begin Panel.protected preserve=yes
|
|
|
|
//## end Panel.protected
|
|
|
|
|
|
|
|
private:
|
|
|
|
// Additional Private Declarations
|
|
|
|
//## begin Panel.private preserve=yes
|
|
|
|
//## end Panel.private
|
|
|
|
|
|
|
|
private: //## implementation
|
|
|
|
// Additional Implementation Declarations
|
|
|
|
//## begin Panel.implementation preserve=yes
|
|
|
|
//## end Panel.implementation
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
//## begin Panel.postscript preserve=yes
|
|
|
|
//## end Panel.postscript
|
|
|
|
|
|
|
|
// Class Panel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//## begin module.epilog preserve=yes
|
|
|
|
//## end module.epilog
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|