first commit
This commit is contained in:
71
Lab4/graphic/dbggrphc.cpp
Normal file
71
Lab4/graphic/dbggrphc.cpp
Normal file
@@ -0,0 +1,71 @@
|
||||
//## begin module.cm preserve=no
|
||||
|
||||
// %X% %Q% %Z% %W%
|
||||
|
||||
//## end module.cm
|
||||
|
||||
|
||||
|
||||
//## begin module.cp preserve=no
|
||||
|
||||
//## end module.cp
|
||||
|
||||
|
||||
|
||||
//## Module: DebugGraphics; Pseudo Package body
|
||||
|
||||
//## Subsystem: Graphic
|
||||
|
||||
//## Source file: H:\WebDocs\skola\Avancerad_C++\Lab4\Rose\Graphic\DbgGrphc.cpp
|
||||
|
||||
|
||||
|
||||
//## begin module.additionalIncludes preserve=no
|
||||
|
||||
//## end module.additionalIncludes
|
||||
|
||||
|
||||
|
||||
//## begin module.includes preserve=yes
|
||||
|
||||
//## end module.includes
|
||||
|
||||
|
||||
|
||||
// DebugGraphics
|
||||
|
||||
#include "Graphic\DbgGrphc.h"
|
||||
|
||||
//## begin module.additionalDeclarations preserve=yes
|
||||
|
||||
//## end module.additionalDeclarations
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Class DebugGraphics
|
||||
|
||||
|
||||
|
||||
DebugGraphics::DebugGraphics()
|
||||
|
||||
//## begin DebugGraphics::DebugGraphics%.hasinit preserve=no
|
||||
|
||||
//## end DebugGraphics::DebugGraphics%.hasinit
|
||||
|
||||
//## begin DebugGraphics::DebugGraphics%.initialization preserve=yes
|
||||
|
||||
//## end DebugGraphics::DebugGraphics%.initialization
|
||||
|
||||
{
|
||||
|
||||
//## begin DebugGraphics::DebugGraphics%.body preserve=yes
|
||||
|
||||
//## end DebugGraphics::DebugGraphics%.body
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
89
Lab4/graphic/dbggrphc.h
Normal file
89
Lab4/graphic/dbggrphc.h
Normal file
@@ -0,0 +1,89 @@
|
||||
//## begin module.cm preserve=no
|
||||
|
||||
// %X% %Q% %Z% %W%
|
||||
|
||||
//## end module.cm
|
||||
|
||||
|
||||
|
||||
//## begin module.cp preserve=no
|
||||
|
||||
//## end module.cp
|
||||
|
||||
|
||||
|
||||
//## Module: DebugGraphics; Pseudo Package specification
|
||||
|
||||
//## Subsystem: Graphic
|
||||
|
||||
//## Source file: H:\WebDocs\skola\Avancerad_C++\Lab4\Rose\Graphic\DbgGrphc.h
|
||||
|
||||
|
||||
|
||||
#ifndef DbgGrphc_h
|
||||
|
||||
#define DbgGrphc_h 1
|
||||
|
||||
|
||||
|
||||
//## begin module.additionalIncludes preserve=no
|
||||
|
||||
//## end module.additionalIncludes
|
||||
|
||||
|
||||
|
||||
//## begin module.includes preserve=yes
|
||||
|
||||
//## end module.includes
|
||||
|
||||
|
||||
|
||||
// Graphics
|
||||
|
||||
#include "Graphic\Graphics.h"
|
||||
|
||||
//## begin module.additionalDeclarations preserve=yes
|
||||
|
||||
#include "H:\WebDocs\skola\Avancerad_C++\Lab4\Rose\Graphic\DbgGrphc.h"
|
||||
|
||||
//## end module.additionalDeclarations
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//## Class: DebugGraphics
|
||||
|
||||
//## Category: Graphic
|
||||
|
||||
//## Subsystem: Graphic
|
||||
|
||||
//## Persistence: Transient
|
||||
|
||||
//## Cardinality/Multiplicity: n
|
||||
|
||||
|
||||
|
||||
class DebugGraphics : public Graphics //## Inherits: <unnamed>
|
||||
|
||||
{
|
||||
|
||||
//## begin DebugGraphics.initialDeclarations preserve=yes
|
||||
|
||||
//## end DebugGraphics.initialDeclarations
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//## Constructors (generated)
|
||||
|
||||
DebugGraphics();
|
||||
|
||||
|
||||
|
||||
//## Destructor (generated)
|
||||
|
||||
~DebugGraphics();
|
||||
|
||||
|
||||
82
Lab4/graphic/graphics.cpp
Normal file
82
Lab4/graphic/graphics.cpp
Normal file
@@ -0,0 +1,82 @@
|
||||
//## begin module.cm preserve=no
|
||||
|
||||
// %X% %Q% %Z% %W%
|
||||
|
||||
//## end module.cm
|
||||
|
||||
|
||||
|
||||
//## begin module.cp preserve=no
|
||||
|
||||
//## end module.cp
|
||||
|
||||
|
||||
|
||||
//## Module: Graphics; Pseudo Package body
|
||||
|
||||
//## Subsystem: Graphic
|
||||
|
||||
//## Source file: H:\WebDocs\skola\Avancerad_C++\Lab4\Rose\Graphic\Graphics.cpp
|
||||
|
||||
|
||||
|
||||
//## begin module.additionalIncludes preserve=no
|
||||
|
||||
//## end module.additionalIncludes
|
||||
|
||||
|
||||
|
||||
//## begin module.includes preserve=yes
|
||||
|
||||
//## end module.includes
|
||||
|
||||
|
||||
|
||||
// Graphics
|
||||
|
||||
#include "Graphic\Graphics.h"
|
||||
|
||||
//## begin module.additionalDeclarations preserve=yes
|
||||
|
||||
#include <iostream.h>
|
||||
|
||||
//## end module.additionalDeclarations
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Class Graphics
|
||||
|
||||
|
||||
|
||||
Graphics::Graphics()
|
||||
|
||||
//## begin Graphics::Graphics%.hasinit preserve=no
|
||||
|
||||
//## end Graphics::Graphics%.hasinit
|
||||
|
||||
//## begin Graphics::Graphics%.initialization preserve=yes
|
||||
|
||||
//## end Graphics::Graphics%.initialization
|
||||
|
||||
{
|
||||
|
||||
//## begin Graphics::Graphics%.body preserve=yes
|
||||
|
||||
//## end Graphics::Graphics%.body
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Graphics::~Graphics()
|
||||
|
||||
{
|
||||
|
||||
//## begin Graphics::~Graphics%.body preserve=yes
|
||||
|
||||
//## end Graphics::~Graphics%.body
|
||||
|
||||
95
Lab4/graphic/graphics.h
Normal file
95
Lab4/graphic/graphics.h
Normal file
@@ -0,0 +1,95 @@
|
||||
//## 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: Graphic
|
||||
|
||||
//## Source file: H:\WebDocs\skola\Avancerad_C++\Lab4\Rose\Graphic\Graphics.h
|
||||
|
||||
|
||||
|
||||
#ifndef Graphics_h
|
||||
|
||||
#define Graphics_h 1
|
||||
|
||||
|
||||
|
||||
//## begin module.additionalIncludes preserve=no
|
||||
|
||||
//## end module.additionalIncludes
|
||||
|
||||
|
||||
|
||||
//## begin module.includes preserve=yes
|
||||
|
||||
#include "Point.h"
|
||||
|
||||
//## end module.includes
|
||||
|
||||
|
||||
|
||||
// Point
|
||||
|
||||
#include "H:\WebDocs\skola\Avancerad_C++\Lab4\Rose\Point.h"
|
||||
|
||||
//## begin module.additionalDeclarations preserve=yes
|
||||
|
||||
typedef int Color;
|
||||
|
||||
//## end module.additionalDeclarations
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//## Class: Graphics; Abstract
|
||||
|
||||
//## Category: Graphic
|
||||
|
||||
//## Subsystem: Graphic
|
||||
|
||||
//## Persistence: Transient
|
||||
|
||||
//## Cardinality/Multiplicity: n
|
||||
|
||||
|
||||
|
||||
//## Uses: <unnamed>; Point { -> }
|
||||
|
||||
|
||||
|
||||
class Graphics
|
||||
|
||||
{
|
||||
|
||||
//## begin Graphics.initialDeclarations preserve=yes
|
||||
|
||||
//## end Graphics.initialDeclarations
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//## Constructors (generated)
|
||||
|
||||
Graphics();
|
||||
|
||||
|
||||
|
||||
//## Destructor (generated)
|
||||
|
||||
~Graphics();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user