Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUITabSwitchBehaviour.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 GUITABSWITCHBEHAVIOUR__H_
11#define GUITABSWITCHBEHAVIOUR__H_
12
13#include "GUIBehaviourDecorator.h"
15
20{
21public:
26 CGUITabSwitchBehaviour(const ObjectHandle_t& eContainerID, const ObjectHandle_t& eChildID);
27
30
31#if defined(GUILIANI_STREAM_GUI)
36 virtual void ReadFromStream();
37#endif
38
39#if defined(GUILIANI_WRITE_GUI)
45 virtual void WriteToStream(const eC_Bool bWriteClassID=false);
46#endif
47
48protected:
49 virtual eC_Bool DoClick(
50 const eC_Value& vAbsX,
51 const eC_Value& vAbsY);
52
53private:
54 void Init();
55
56private:
57 ObjectHandle_t m_eContainer;
58 ObjectHandle_t m_eTargetObject;
59};
60
61#endif
Helper Macros in Guiliani
ObjectHandle_t
List of object resource ids.
Definition: GUIObjectHandleResource.h:55
GUIBehaviourDecorator base class.
Definition: GUIBehaviourDecorator.h:78
Behaviour to switch between the children of a tab-container.
Definition: GUITabSwitchBehaviour.h:20
CGUITabSwitchBehaviour()
Default constructor.
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
virtual void ReadFromStream()
CGUITabSwitchBehaviour(const ObjectHandle_t &eContainerID, const ObjectHandle_t &eChildID)
virtual eC_Bool DoClick(const eC_Value &vAbsX, const eC_Value &vAbsY)