Alexander Alekhin
0ee61d178f
highgui: drop invalid cvGetWindowImageRect
...
- return type is C++ template
- removal from 'extern "C"' scope broke ABI anyway, so this symbols is removed completelly
2021-10-30 12:40:20 +00:00
xhawk18
24f43e7ae9
Merge pull request #20183 from xhawk18:3.4
...
* improve compatibility for qt 6.
* cmake(highgui): rework Qt dependency support
* cmake(highgui): workaround Qt5Config.cmake "components" bug
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-10-04 16:44:57 +00:00
Xinguang Bian
5627a0cbdf
fix scale problem in DefaultViewPort::controlImagePosition()
2021-07-07 12:35:11 +08:00
Smirnov Egor
8f4f834ce6
applied modifier mask to the state
2021-06-10 10:57:15 +03:00
Alexander Alekhin
995841624c
highgui(gtk): fix NULL ptr checks
2021-06-08 10:57:24 +00:00
Alexander Alekhin
15af65d4cf
Merge pull request #20149 from rogday:on_mouse_floor
2021-06-02 17:48:43 +00:00
Smirnov Egor
fb68fe8930
bring back bounds check and switch to floor
2021-05-31 19:03:50 +03:00
Alexander Alekhin
3d2f4fa164
highgui: fix trackbar value pointer handling
2021-05-28 01:58:58 +00:00
Christoph Rackwitz
0c0cf8b19f
highgui: remove gutter in window_w32
2021-01-23 16:01:07 +01:00
shioko
5967acc9ca
fix typo of the word storage
2021-01-17 18:59:20 +00:00
Suleyman TURKMEN
14e264f646
Update window_w32.cpp
2020-09-29 21:50:06 +03:00
Alexander Alekhin
1f2c83845d
backport: checks and fixes from static code analyzers results
...
original commit: 71f665bd8c
2020-09-02 19:05:47 +00:00
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
2020-08-16 09:30:09 +00:00
shimat
39d3bbb601
fix error at #include <window_winrt_bridge.hpp>
2020-04-09 09:54:13 +09:00
Yuriy Obukh
edcc762f7a
add "Copy to clipboard functional" to imshow wnd with Qt
2020-02-28 00:03:38 +02:00
Vadim Pisarevsky
d67a6c1be4
Merge pull request #16588 from vpisarev:fix_macos_move_window
...
fixed cv::moveWindow() on mac
* fixed cv::moveWindow() on mac (issue #16343 ). Thanks to cwreynolds and saskatchewancatch for the help!
* fixed warnings about _x0 and _y0
* fixed warnings about _x0 and _y0
2020-02-17 14:54:36 +03:00
StefanBruens
f05d5888c9
Merge pull request #16479 from StefanBruens:fix_gles_glx_h_include
...
Fix compilation errors on GLES platforms
* Do not include glx.h when using GLES
GL/glx.h is included on all LINUX plattforms, which is wrong
for a number of reasons:
- GL_PERSPECTIVE_CORRECTION_HINT is defined in GL/gl.h, so we
want gl.h not glx.h, the latter just includes the former
- GL/gl.h is a Desktop GL header, and should not be included
on GLES plattforms
- GL/gl.h is already included via QtOpenGL ->
QtGui/qopengl.h on desktop plattforms
This fixes a problem when Qt is compiled with GLES, which
is often done on ARM platforms where desktop GL is not or
only poorly supported (e.g. slow due to emulation).
Fixes part of #9171 .
* Only set GL_PERSPECTIVE_CORRECTION_HINT when GL version defines it
GL_PERSPECTIVE_CORRECTION_HINT does not exist in GLES 2.0/3.x,
and has been deprecated in OpenGL 3.0 core profiles.
Fixes part of #9171 .
2020-02-02 16:29:04 +03:00
Tatsuro Shibamura
971ae00942
Merge pull request #16027 from shibayan:arm64-windows10
...
* Support ARM64 Windows 10 platform
* Fixed detection issue for ARM64 Windows 10
* Try enabling ARM NEON intrin
* build: disable NEON with MSVC compiler
* samples(directx): gdi32 dependency
2019-12-17 00:23:30 +03:00
Alexander Alekhin
7ecdcf6ca6
build: GCC9 compilation
2019-11-12 18:49:34 +03:00
Maksim Shabunin
5c0502b470
Fixed OSX build with Qt
2019-09-13 15:23:59 +03:00
Jaime
fafada28eb
Merge pull request #14872 from AhiyaHiya:feature/topmost_window
...
* Added mechanism to set/toggle NORMAL window to TOPMOST window.
* highgui: remove unnecessary/legacy code
2019-09-05 13:55:17 +03:00
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
2019-08-16 17:34:29 +03:00
John Smith
b9d6fc9dad
Fix cv::selectROI rectangle rendering issue
...
backport of commit: 95c65aff75
2019-08-05 17:18:30 +03:00
Alexander Alekhin
7621b91769
Merge pull request #14292 from alalek:issue_14291
...
* macosx: fix C++11 build
backporting commit c3cf35ab63
* macosx: eliminate build warning
2019-04-11 17:46:28 +03:00
Alexander Alekhin
35edad3e74
build: fix warnings
2019-03-05 14:47:04 +03:00
Alexander Alekhin
5f2fed0e25
Merge pull request #13453 from crackwitz:w32-opengl-mouse-position
2018-12-26 12:38:59 +00:00
Christoph Rackwitz
deb8ba2237
fix for #4990 : highgui w32 ogl: correct calculation of image coordinates from window coordinates
2018-12-26 15:00:39 +03:00
Christoph Rackwitz
beba82b22b
Off-by-ones in windows/GDI window calculations
...
Check for "gutter" around displayed image. there was one row/column missing on the bottom/right.
Might as well set gutter = 0?
2018-12-25 17:54:44 +01:00
Tomoaki Teshima
a1c073d289
add missing API cvGetPropVisible_W32
2018-11-21 23:04:23 +09:00
berak
cae2a53563
highgui: fix broken waitKey() condition in window_w32
2018-11-06 11:43:58 +01:00
Vadim Pisarevsky
b669e9f648
Merge pull request #12994 from vpisarev:fix_imshow_mac
2018-10-31 11:13:28 +00:00
Vadim Pisarevsky
ebdc870296
fixed imshow on mac; before that just the window titlebar was shown, without the window content.
2018-10-31 10:40:58 +03:00
Sean McBride
75f67ed207
Fixed a few comments related to macOS support
2018-10-25 15:16:55 -04:00
tellowkrinkle
803ff64b14
Merge pull request #12697 from tellowkrinkle:FasterCocoaWindows
...
* Make cocoa windows draw faster
* Use a CALayer for rendering when possible Uses GPU to scale images, which is important because retina macs will want window sizes much larger (in pixels) than the image
* Fix mouse logic for cocoa windows
* Only halve resolution on retina if image is larger than display
2018-10-14 21:18:05 +03:00
Alexander Alekhin
d7ac4495c3
highgui: fix QT build
2018-09-11 20:30:50 +00:00
Suleyman TURKMEN
92517fa359
Update window.cpp
2018-09-09 19:24:25 +00:00
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
2018-09-07 20:33:52 +09:00
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
2018-09-06 14:34:16 +03:00
Alexander Alekhin
d2e08a524e
core: repair CV_Assert() messages
...
Multi-argument CV_Assert() is accessible via CV_Assert_N() (with malformed messages).
2018-08-15 17:43:10 +03:00
Maksim Shabunin
e031bada7d
Fixed several issues found by static analysis, Windows-specific
2018-07-27 18:25:55 +03:00
Alexander Alekhin
81325a3fa0
highgui(gtk): use recursive cv::Mutex for 'window_mutex' variable
2018-07-06 17:35:47 +03:00
Alexander Alekhin
aa0c6ddb4c
highgui: fix GTK issues with external UI thread
2018-07-06 17:35:47 +03:00
Alexander Alekhin
4bc080dc50
fix function signatures, drop invalid casts
2018-07-05 13:55:26 +03:00
Alexander Alekhin
8620bd5a84
highgui(win32): improve waitKey() timeout condition
...
- use cv::getTickCount() instead of Win32 GetTickCount()
- process message queue before timeout exit
2018-06-07 19:31:08 +03:00
Alexander Alekhin
6b581c4e51
build: unreachable code after CV_Error() (part 2)
2018-04-24 16:03:40 +03:00
Alexander Alekhin
82fd00af99
fix build issues with QT/OpenGL
2018-03-30 12:49:09 +03:00
Maksim Shabunin
439072a2a6
Fixed two warnings produced by clang
2018-03-29 13:24:04 +03:00
Jan Gaura
eb3969e244
Better text contrast of pixel brightness values in Qt window
...
This offsets text brightness of pixel brightness values
by offsetting it by 127 to the curent pixel value.
The text is now readable even if pixels are black.
2018-03-14 13:27:11 +01:00
luz.paz
d05714995c
Misc. modules/ cont. pt2
...
Found via `codespell`
2018-02-13 11:28:11 -05:00
Gregory Morse
d84c7e5143
Merge pull request #10649 from GregoryMorse:patch-3
...
* Fix for QT image window rectangle
* Update window_QT.h
* Update window_QT.cpp
* trailing whitespace
* highgui: fix QT getWindowImageRect()
2018-01-21 09:26:48 +03:00