Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
0ac31a0b
Commit
0ac31a0b
authored
9 years ago
by
Pavel Rojtberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
highgui: add CV_GUI_* flags to enum in cpp so they appear in bindings
parent
e792ee89
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
highgui.hpp
modules/highgui/include/opencv2/highgui.hpp
+6
-4
No files found.
modules/highgui/include/opencv2/highgui.hpp
View file @
0ac31a0b
...
...
@@ -182,7 +182,9 @@ enum WindowFlags {
WINDOW_FULLSCREEN
=
1
,
//!< change the window to fullscreen.
WINDOW_FREERATIO
=
0x00000100
,
//!< the image expends as much as it can (no ratio constraint).
WINDOW_KEEPRATIO
=
0x00000000
//!< the ratio of the image is respected.
WINDOW_KEEPRATIO
=
0x00000000
,
//!< the ratio of the image is respected.
WINDOW_GUI_EXPANDED
=
0x00000000
,
//!< status bar and tool bar
WINDOW_GUI_NORMAL
=
0x00000010
,
//!< old fashious way
};
//! Flags for cv::setWindowProperty / cv::getWindowProperty
...
...
@@ -287,9 +289,9 @@ Qt backend supports additional flags:
displayed image (see imshow ), and you cannot change the window size manually.
- **WINDOW_FREERATIO or WINDOW_KEEPRATIO:** WINDOW_FREERATIO adjusts the image
with no respect to its ratio, whereas WINDOW_KEEPRATIO keeps the image ratio.
- **
CV_GUI_NORMAL or CV_GUI_EXPANDED:** CV
_GUI_NORMAL is the old way to draw the window
without statusbar and toolbar, whereas
CV
_GUI_EXPANDED is a new enhanced GUI.
By default, flags == WINDOW_AUTOSIZE | WINDOW_KEEPRATIO |
CV
_GUI_EXPANDED
- **
WINDOW_GUI_NORMAL or WINDOW_GUI_EXPANDED:** WINDOW
_GUI_NORMAL is the old way to draw the window
without statusbar and toolbar, whereas
WINDOW
_GUI_EXPANDED is a new enhanced GUI.
By default, flags == WINDOW_AUTOSIZE | WINDOW_KEEPRATIO |
WINDOW
_GUI_EXPANDED
@param winname Name of the window in the window caption that may be used as a window identifier.
@param flags Flags of the window. The supported flags are: (cv::WindowFlags)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment