Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUIPoint.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#ifndef GUIPOINT__H_
11#define GUIPOINT__H_
12
13#include "eC_Types.h"
14
16
18{
19public:
20 CGUIPoint();
21
26 CGUIPoint(const eC_Value& vX, const eC_Value& vY);
27
33
37 CGUIPoint(const CGUIPoint &kPt);
38
43
44#ifdef GUILIANI_STREAM_GUI
47#endif
48
49#ifdef GUILIANI_WRITE_GUI
52#endif
53
54 eC_Value m_vX;
55 eC_Value m_vY;
56};
57#endif
CGUIPoint class to hold two values (x, y) like a vector.
Definition: GUIPoint.h:18
CGUIPoint & operator=(const CGUIPoint &srcPt)
CGUIPoint(const CGUIPoint &kPt)
eC_Value m_vY
Y-Value.
Definition: GUIPoint.h:55
CGUIPoint & operator-()
eC_Value m_vX
X-Value.
Definition: GUIPoint.h:54
void ReadFromStream()
Helper method to stream GUIPoint attributes.
void WriteToStream()
Helper method to write GUIPoint attributes.
CGUIPoint(const eC_Value &vX, const eC_Value &vY)