From 89d9345cae875a5e9739b3f3e736aae7f8e83b69 Mon Sep 17 00:00:00 2001 From: Yannick Verdie Date: Wed, 30 Jun 2010 14:50:29 +0000 Subject: [PATCH] New functions with QT GUI: - fixed bug ticket #412 --- modules/highgui/src/window.cpp | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/modules/highgui/src/window.cpp b/modules/highgui/src/window.cpp index 1bd2d9eb1..2812d42fc 100644 --- a/modules/highgui/src/window.cpp +++ b/modules/highgui/src/window.cpp @@ -160,16 +160,6 @@ int waitKey(int delay) return cvWaitKey(delay); } -void saveWindowParameters(const string& windowName) -{ - cvSaveWindowParameters(windowName.c_str()); -} - -void loadWindowParameters(const string& windowName) -{ - cvLoadWindowParameters(windowName.c_str()); -} - int createTrackbar(const string& trackbarName, const string& winName, int* value, int count, TrackbarCallback callback, void* userdata) @@ -218,6 +208,17 @@ void stopLoop() { cvStopLoop(); } + +void saveWindowParameters(const string& windowName) +{ + cvSaveWindowParameters(windowName.c_str()); +} + +void loadWindowParameters(const string& windowName) +{ + cvLoadWindowParameters(windowName.c_str()); +} + #endif }