first commit
This commit is contained in:
96
Lab7/panel.cpp
Normal file
96
Lab7/panel.cpp
Normal file
@@ -0,0 +1,96 @@
|
||||
//## begin module.cm preserve=no
|
||||
|
||||
// %X% %Q% %Z% %W%
|
||||
|
||||
//## end module.cm
|
||||
|
||||
|
||||
|
||||
//## begin module.cp preserve=no
|
||||
|
||||
//## end module.cp
|
||||
|
||||
|
||||
|
||||
//## Module: Panel; Pseudo Package body
|
||||
|
||||
//## Subsystem: lab7
|
||||
|
||||
//## Source file: H:\kurs\avC++\lab7\Panel.cpp
|
||||
|
||||
|
||||
|
||||
//## begin module.additionalIncludes preserve=no
|
||||
|
||||
//## end module.additionalIncludes
|
||||
|
||||
|
||||
|
||||
//## begin module.includes preserve=yes
|
||||
|
||||
//## end module.includes
|
||||
|
||||
|
||||
|
||||
// Panel
|
||||
|
||||
#include "Panel.h"
|
||||
|
||||
//## begin module.additionalDeclarations preserve=yes
|
||||
|
||||
//## end module.additionalDeclarations
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Class Panel
|
||||
|
||||
|
||||
|
||||
Panel::Panel()
|
||||
|
||||
//## begin Panel::Panel%.hasinit preserve=no
|
||||
|
||||
//## end Panel::Panel%.hasinit
|
||||
|
||||
//## begin Panel::Panel%.initialization preserve=yes
|
||||
|
||||
//## end Panel::Panel%.initialization
|
||||
|
||||
{
|
||||
|
||||
//## begin Panel::Panel%.body preserve=yes
|
||||
|
||||
//## end Panel::Panel%.body
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Panel::Panel (int xpos, int ypos, int width, int height)
|
||||
|
||||
//## begin Panel::Panel%940854126.hasinit preserve=no
|
||||
|
||||
//## end Panel::Panel%940854126.hasinit
|
||||
|
||||
//## begin Panel::Panel%940854126.initialization preserve=yes
|
||||
|
||||
//## end Panel::Panel%940854126.initialization
|
||||
|
||||
{
|
||||
|
||||
//## begin Panel::Panel%940854126.body preserve=yes
|
||||
|
||||
Panel::xpos = xpos;
|
||||
|
||||
Panel::ypos = ypos;
|
||||
|
||||
Panel::width = width;
|
||||
|
||||
Panel::height = height;
|
||||
|
||||
//## end Panel::Panel%940854126.body
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user