#include "Tools/List.h"
#include "Tools/Debugging/DebugDrawings.h"
#include "Tools/Debugging/DebugImages.h"
Include dependency graph for View.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | ImageViewBase |
| The class is a base class for image views. More... | |
| class | FieldViewBase |
| The class is a base class for field views. More... | |
Defines | |
| #define | IMAGE_VIEW(name, background) |
| The macro begins the definition of an image view. | |
| #define | FIELD_VIEW(name) |
| The macro begins the definition of a field view. | |
| #define | END_VIEW(name) |
| The macro finishes the definition of a view. | |
Definition in file View.h.
|
|
Value: class _View##name : public ImageViewBase\ { \ public: \ static const char* viewName; \ static Drawings::ImageDrawing layers[]; \ static int numOfLayers; \ public: \ virtual void getInfo(const char*& s,Drawings::ImageDrawing*& l,int& n,Images::ImageID& id) \ {s = viewName; l = layers + 1; n = numOfLayers; id = Images::background;} \ } _view##name; \ const char* _View##name::viewName = "image." #name; \ Drawings::ImageDrawing _View##name::layers[] = {Drawings::numberOfImageDrawings, It must be followed by a list of Drawings::ImageDrawing constants. These constants define the layers that will be drawn in the view. The list must be finished by the END_VIEW macro.
|
|
|
Value: class _View##name : public FieldViewBase\ { \ public: \ static const char* viewName; \ static Drawings::FieldDrawing layers[]; \ static int numOfLayers; \ public: \ virtual void getInfo(const char*& s,Drawings::FieldDrawing*& l,int& n) \ {s = viewName; l = layers + 1; n = numOfLayers;} \ } _view##name; \ const char* _View##name::viewName = "field." #name; \ Drawings::FieldDrawing _View##name::layers[] = {Drawings::numberOfFieldDrawings, It must be followed by a list of Drawings::FieldDrawing constants. These constants define the layers that will be drawn on the view. The list must be finished by the END_VIEW macro.
|
|
|
Value: }; \ int _View##name::numOfLayers = sizeof(_View##name::layers) / sizeof(_View##name::layers[0]) - 1;
|
1.3.6