New functions with QT GUI:

- aspectRatio is controled by cvSet/getWindowProperty
This commit is contained in:
Yannick Verdie
2010-06-26 22:36:41 +00:00
parent 397b31e437
commit 4bcd81f85f
7 changed files with 143 additions and 88 deletions

View File

@@ -80,8 +80,11 @@ enum
{
CV_WND_PROP_FULLSCREEN = 0,
CV_WND_PROP_AUTOSIZE = 1,
CV_WND_PROP_ASPECTRATIO= 2,
CV_WINDOW_NORMAL = 0,
CV_WINDOW_FULLSCREEN = 1
CV_WINDOW_FULLSCREEN = 1,
CV_WINDOW_FREERATIO = 0,
CV_WINDOW_KEEPRATIO = 1
};