Merge pull request #14872 from AhiyaHiya:feature/topmost_window

* Added mechanism to set/toggle NORMAL window to TOPMOST window.

* highgui: remove unnecessary/legacy code
This commit is contained in:
Jaime
2019-09-05 06:55:17 -04:00
committed by Alexander Alekhin
parent 4ffb5b62ea
commit fafada28eb
5 changed files with 138 additions and 1 deletions
+2 -1
View File
@@ -197,7 +197,8 @@ enum WindowPropertyFlags {
WND_PROP_AUTOSIZE = 1, //!< autosize property (can be WINDOW_NORMAL or WINDOW_AUTOSIZE).
WND_PROP_ASPECT_RATIO = 2, //!< window's aspect ration (can be set to WINDOW_FREERATIO or WINDOW_KEEPRATIO).
WND_PROP_OPENGL = 3, //!< opengl support.
WND_PROP_VISIBLE = 4 //!< checks whether the window exists and is visible
WND_PROP_VISIBLE = 4, //!< checks whether the window exists and is visible
WND_PROP_TOPMOST = 5 //!< property to toggle normal window being topmost or not
};
//! Mouse Events see cv::MouseCallback