Line 162... |
Line 162... |
162 |
void closeGroup(const std::string& group);
|
162 |
void closeGroup(const std::string& group);
|
163 |
void showSubPage(const std::string& name);
|
163 |
void showSubPage(const std::string& name);
|
164 |
void hideSubPage(const std::string& name);
|
164 |
void hideSubPage(const std::string& name);
|
165 |
void setScaleFactor(double scale) { mScaleFactor = scale; }
|
165 |
void setScaleFactor(double scale) { mScaleFactor = scale; }
|
166 |
double getScaleFactor() { return mScaleFactor; }
|
166 |
double getScaleFactor() { return mScaleFactor; }
|
- |
|
167 |
void setScaleFactorWidth(double scale) { mScaleFactorWidth = scale; }
|
- |
|
168 |
double getScaleFactorWidth() { return mScaleFactorWidth; }
|
- |
|
169 |
void setScaleFactorHeight(double scale) { mScaleFactorHeight = scale; }
|
- |
|
170 |
double getScaleFactorHeight() { return mScaleFactorHeight; }
|
167 |
|
171 |
|
168 |
std::function<void (ulong handle, ulong parent, unsigned char *buffer, int width, int height, int pixline, int left, int top)> getCallbackDB() { return _displayButton; }
|
172 |
std::function<void (ulong handle, ulong parent, unsigned char *buffer, int width, int height, int pixline, int left, int top)> getCallbackDB() { return _displayButton; }
|
169 |
std::function<void (ulong handle, unsigned char *image, size_t size, size_t rowBytes, ulong color)> getCallbackBG() { return _setBackground; }
|
173 |
std::function<void (ulong handle, unsigned char *image, size_t size, size_t rowBytes, ulong color)> getCallbackBG() { return _setBackground; }
|
170 |
std::function<void (ulong handle, ulong parent, int left, int top, int width, int height, const std::string& url, const std::string& user, const std::string& pw)> getCallbackPV() { return _callPlayVideo; }
|
174 |
std::function<void (ulong handle, ulong parent, int left, int top, int width, int height, const std::string& url, const std::string& user, const std::string& pw)> getCallbackPV() { return _callPlayVideo; }
|
171 |
|
175 |
|
Line 275... |
Line 279... |
275 |
std::thread mThreadAmxNet; // The thread handle to the controler handler
|
279 |
std::thread mThreadAmxNet; // The thread handle to the controler handler
|
276 |
std::vector<amx::ANET_COMMAND> mCommands; // Command queue of commands received from controller
|
280 |
std::vector<amx::ANET_COMMAND> mCommands; // Command queue of commands received from controller
|
277 |
bool mBusy{false}; // Internal used to block the command handler
|
281 |
bool mBusy{false}; // Internal used to block the command handler
|
278 |
std::string mCmdBuffer; // Internal used buffer for commands who need more than one network package
|
282 |
std::string mCmdBuffer; // Internal used buffer for commands who need more than one network package
|
279 |
double mScaleFactor{1.0}; // The scale factor to zoom or shrink all components
|
283 |
double mScaleFactor{1.0}; // The scale factor to zoom or shrink all components
|
- |
|
284 |
double mScaleFactorWidth{1.0}; // The individual scale factor for the width
|
- |
|
285 |
double mScaleFactorHeight{1.0}; // The individual scale factor for the height
|
280 |
};
|
286 |
};
|
281 |
|
287 |
|
282 |
#endif
|
288 |
#endif
|