Alexander Smorkalov
f2c38eb62f
Backport some highgui changes from #22754
1 year ago
Alexander Smorkalov
daa8f7dfc6
Partially back-port #25075 to 4.x
1 year ago
Corentin Noël
a035608100
highgui: Reduce the difference between GTK+2 and GTK+3 version
...
Make the GTK+3 API the default one by wrapping the missing GTK+2 functions in defines
Make sure to always guard with GTK_VERSION2 or GTK_VERSION3 to allow future addition
of Gtk4
2 years ago
Corentin Noël
f1f14ce403
highgui: Set hard GLib requirement to >=2.32
...
This version has been released 10 years ago.
2 years ago
LaurentBerger
ca2ab3387f
Try to solve I21853 mouse wheel problem with GTK3
3 years ago
Alexander Alekhin
36bd2a65e3
highgui(gtk): repair scroll events
3 years ago
Alexander Alekhin
85d4e56bb1
highgui(gtk): fix onmouse event flags
3 years ago
yuki takehara
a6277370ca
Merge pull request #21107 from take1014:remove_assert_21038
...
resolves #21038
* remove C assert
* revert C header
* fix several points in review
* fix test_ds.cpp
3 years ago
Alexander Alekhin
ef2b400c61
highgui: win32ui plugin
4 years ago
Smirnov Egor
8f4f834ce6
applied modifier mask to the state
4 years ago
Alexander Alekhin
80238880e6
highgui(gtk): fix initialization order of global objects
4 years ago
Alexander Alekhin
995841624c
highgui(gtk): fix NULL ptr checks
4 years ago
Alexander Alekhin
f5f675ef6c
highgui(gtk): fix NULL ptr checks
4 years ago
Alexander Alekhin
327109f327
highgui: update backends handling, fix WITH_OPENGL=ON build
4 years ago
Smirnov Egor
fb68fe8930
bring back bounds check and switch to floor
4 years ago
Alexander Alekhin
70f69cb265
highgui: backends and plugins
4 years ago
Alexander Alekhin
b6933dbf3a
highgui(pollKey): properly handle no-GUI case
4 years ago
Christoph Rackwitz
26da491053
implementation of pollKey, companion to waitKey
...
w32 backend: implemented
other backends: stubbed or fallback to waitKey
documentation: cross-linked and more precise in some places
4 years ago
Alexander Alekhin
7ec9f52509
highgui: don't terminate if we can't initialize GTK backend
...
- allow Users to handle such case
- exception will be thrown instead
5 years ago
Alexander Alekhin
7ecdcf6ca6
build: GCC9 compilation
6 years ago
luz.paz
fcc7d8dd4e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
backporting of commit: ec43292e1e
6 years ago
luz.paz
ec43292e1e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
6 years ago
Maksim Shabunin
db1c8b3f9e
Restored function to rescale pixel values before imshow
7 years ago
Vadim Pisarevsky
11eafca3e2
removed C API in the following modules: photo, video, imgcodecs, videoio ( #13060 )
...
* removed C API in the following modules: photo, video, imgcodecs, videoio
* trying to fix various compile errors and warnings on Windows and Linux
* continue to fix compile errors and warnings
* continue to fix compile errors, warnings, as well as the test failures
* trying to resolve compile warnings on Android
* Update cap_dc1394_v2.cpp
fix warning from the new GCC
7 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
7 years ago
Alexander Alekhin
81325a3fa0
highgui(gtk): use recursive cv::Mutex for 'window_mutex' variable
7 years ago
Alexander Alekhin
aa0c6ddb4c
highgui: fix GTK issues with external UI thread
7 years ago
Alexander Alekhin
4bc080dc50
fix function signatures, drop invalid casts
7 years ago
Gregory Morse
ec353dbdda
Merge pull request #10412 from GregoryMorse:patch-2
...
Update to add window position and size retrieval to HighGUI (#10412 )
* Update highgui.hpp
Add read only property retrieval for enhanced rendering capabilities and more sophisticated research tools
* Update window.cpp
* Update window_w32.cpp
* Update window_QT.cpp
* Update window_QT.h
* Update window_QT.h
* Update window_gtk.cpp
* Update precomp.hpp
* Update highgui_c.h
* Update highgui_c.h
* Update window_w32.cpp
* Update precomp.hpp
* Update window_QT.cpp
* Update window_QT.h
* Update window_gtk.cpp
* Update window_gtk.cpp
* Update window_w32.cpp
* Update window_QT.cpp
* Update window_carbon.cpp
* Update window_cocoa.mm
* Update precomp.hpp
* Update window_cocoa.mm
* Update window_w32.cpp
* Update window_gtk.cpp
* Update window_QT.cpp
* Update window_gtk.cpp
* Update window_QT.cpp
* Update window_cocoa.mm
* Update window_carbon.cpp
* Update window_w32.cpp
* Update window_cocoa.mm
* Update window_gtk.cpp
* Update window_cocoa.mm
* Update window_gtk.cpp
* Update window_cocoa.mm
* Update window_cocoa.mm
* Update window.cpp
* Update test_gui.cpp
* Update test_gui.cpp
* Update test_gui.cpp
* Update highgui_c.h
* Update highgui.hpp
* Update window.cpp
* Update highgui_c.h
* Update test_gui.cpp
* Update highgui.hpp
* Update window.cpp
* Update window.cpp
* Update window.cpp
* Update window.cpp
* Update window.cpp
7 years ago
klchang
d4ef5bc16a
fix the possible bug for key mapping in Linux GTK library
8 years ago
Suleyman TURKMEN
ee6aacee9c
Update window_gtk.cpp
...
Update miniflann.cpp
Update test_stereomatching.cpp
8 years ago
Alexander Alekhin
9e239c7a1e
highgui: refactor GTK backend
...
- eliminate legacy C code, used fields
- fix mutex synchronization issues
- set trackbar min/max without unnecessary truncation; allow negative values
8 years ago
Alexander Alekhin
602f047fe8
build: replace WIN32 => _WIN32
8 years ago
huangqinjin
aa75b6067c
gtk: check NULL before unref
8 years ago
Maksim Shabunin
a769d69a9d
Fixed several issues found by static analysis
8 years ago
Alexander Alekhin
90da593316
highgui: g_thread_create deprecated warning
9 years ago
Alexander Alekhin
3f37e34e76
highgui: g_thread_create deprecated warning
9 years ago
Alexander Alekhin
30cdcfa554
warnings
9 years ago
sourin
879315f2fe
Fix error gtk
9 years ago
Alexandr Kondratev
82e4e1816f
highgui: removed excessed variable orient in window_gtk
9 years ago
Alexandr Kondratev
4e63bd04e5
highgui module: mouse wheel - modification keys fixed, wheel event value is CV_EVENT_MOUSEWHEEL or CV_EVENT_MOUSEHWHEEL
9 years ago
Alexandr Kondratev
1f2e159054
highgui module: using event->scroll.delta_{x,y} instead parsing direction and added widget event mask GDK_SMOOTH_SCROLL_MASK for GTK>=3.4
9 years ago
Alexandr Kondratev
7dcac647e5
highgui module: a bit readable onMouse flags mapping
9 years ago
Alexandr Kondratev
81c69ecd16
highgui: window_gtk.cpp directive boolean operations or/and replaced by ||/&& to keep compatible with older systems
9 years ago
Alexandr Kondratev
a4e9712006
Compilate switch-case with GTK_SCROLL_SMOOTH since GTK>=3.4
9 years ago
Alexandr Kondratev
6020dacc11
highgui module: implemented QT and GTK mouse wheel callback support in linux
9 years ago
Roman Donchenko
97ac59cb73
Fix a memory leak indirectly caused by cvDestroyWindow
9 years ago
Aman Verma
b0209ad7f7
Fix for #5495 : add setTrackbarMin
10 years ago
Sergiu Dotenco
514b202d7b
highgui: CV_WINDOW_AUTOSIZE does not resize with GTK3
10 years ago
Maksim Shabunin
01c3d491e7
Fixed python crash when both cv2.imshow and gtk module are used
10 years ago