highgui: Support to change trackbar count in setTrackbarPos and replaced deprecated CreateToolbarEx in Windows.

This commit is contained in:
Ashod Nakashian
2014-09-27 17:27:04 -04:00
parent 893deb4040
commit 006384edaf
7 changed files with 150 additions and 22 deletions

View File

@@ -463,6 +463,21 @@ panel.
*/
CV_EXPORTS_W void setTrackbarPos(const String& trackbarname, const String& winname, int pos);
/** @brief Sets the trackbar maximum position.
@param trackbarname Name of the trackbar.
@param winname Name of the window that is the parent of trackbar.
@param maxval New maximum position.
The function sets the maximum position of the specified trackbar in the specified window.
@note
**[Qt Backend Only]** winname can be empty (or NULL) if the trackbar is attached to the control
panel.
*/
CV_EXPORTS_W void setTrackbarMax(const String& trackbarname, const String& winname, int maxval);
//! @addtogroup highgui_opengl OpenGL support
//! @{