From 72c46bdd7f5d430ab1ad1d420ed77c7f22df857a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 30 Sep 2017 15:01:35 +0200 Subject: rename --- Tobii-EyeX/include/eyex-cpp/Bounds.hpp | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 Tobii-EyeX/include/eyex-cpp/Bounds.hpp (limited to 'Tobii-EyeX/include/eyex-cpp/Bounds.hpp') diff --git a/Tobii-EyeX/include/eyex-cpp/Bounds.hpp b/Tobii-EyeX/include/eyex-cpp/Bounds.hpp new file mode 100755 index 0000000..f355ac4 --- /dev/null +++ b/Tobii-EyeX/include/eyex-cpp/Bounds.hpp @@ -0,0 +1,43 @@ +/********************************************************************************************************************* + * Copyright 2013-2014 Tobii Technology AB. All rights reserved. + * Bounds.hpp + *********************************************************************************************************************/ + +#if !defined(__TOBII_TX_CLIENT_CPPBINDINGS_Bounds__HPP__) +#define __TOBII_TX_CLIENT_CPPBINDINGS_Bounds__HPP__ + +/*********************************************************************************************************************/ + +TX_NAMESPACE_BEGIN + +/*********************************************************************************************************************/ + +class Bounds : + public InteractionObject +{ +public: + Bounds(const std::shared_ptr& spContext, TX_HANDLE hBounds); + + TX_BOUNDSTYPE GetType() const; + +public: + bool TryGetRectangularData(TX_REAL* pX, TX_REAL* pY, TX_REAL* pWidth, TX_REAL* pHeight) const; + void SetRectangularData(TX_REAL x, TX_REAL y, TX_REAL width, TX_REAL height); + + bool TryGetRectangularData(TX_RECT* pData) const; + void SetRectangularData(const TX_RECT& data); + + std::shared_ptr GetData() const; + void SetData(const std::shared_ptr& spData); +}; + +/*********************************************************************************************************************/ + +TX_NAMESPACE_END + +/*********************************************************************************************************************/ + + +#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_Bounds__HPP__) + +/*********************************************************************************************************************/ -- cgit v1.2.3