summaryrefslogtreecommitdiffstats
path: root/libvo/w32_common.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r29117Uoti Urpala2009-04-011-1/+1
|\
| * "MPlayer - The Movie Player" should be used as the player name.diego2009-03-151-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28955 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28728Uoti Urpala2009-02-251-5/+6
|\|
| * Calculate border size in aspect keeping code by using AdjustWindowRectreimar2009-02-231-5/+6
| | | | | | | | | | | | | | | | instead of GetClientRect and GetWindowRect since GetClientRect returns nonsensical values if Window is still minimized. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28713 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28537Uoti Urpala2009-02-121-0/+18
|\|
| * Add standard license headers, unify header formatting.diego2009-02-081-0/+18
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28481 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28310Uoti Urpala2009-01-151-0/+10
|\| | | | | | | | | | | | | | | The libdvdread4 and libdvdnav directories, which are externals in the svn repository, are at least for now not included in any form. I added configure checks to automatically disable internal libdvdread and libdvdnav if the corresponding directories are not present; if they're added manually then things work the same as in svn.
| * Support F- and numpad keys for w32_common based vos.reimar2008-12-301-0/+10
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28214 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28176Uoti Urpala2008-12-221-16/+18
|\| | | | | | | | | | | Conflicts: libvo/video_out.c libvo/x11_common.c
| * Add and use a special lookup function to do table-based translation to ↵reimar2008-12-201-16/+18
| | | | | | | | | | | | MPlayer keycodes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28172 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28087Uoti Urpala2008-12-041-4/+12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: command.c libao2/ao_ivtv.c libao2/ao_v4l2.c libmpcodecs/dec_video.h libvo/aspect.h libvo/sub.c libvo/sub.h libvo/vo_directx.c libvo/vo_macosx.m libvo/vo_quartz.c mp_core.h mplayer.c mplayer.h osdep/getch2.h osdep/timer.h
| * More robust w32 -wid size handlingreimar2008-12-031-0/+5
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28074 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Reindent after previous commitreimar2008-12-031-5/+5
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28073 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Do not override the vo_dwidth/vo_dheight values in vo_w32_configreimar2008-12-031-0/+3
| | | | | | | | | | | | | | in -wid mode because we ignore the requested size in that case. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28072 b3059339-0415-0410-9bf9-f77b7e298cf2
* | w32_common.c, vo_direct3d.c: Fix Windows compilation issuesUoti Urpala2008-12-021-2/+2
| | | | | | | | | | | | In w32_common.c the special "old_vo_defines.h" header was included too late. vo_direct3d.c was copied from svn without fixing the type of the control() function.
* | Merge svn changes up to r27979Uoti Urpala2008-11-221-0/+98
|\|
| * cosmetics: typo fixesdiego2008-11-211-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27975 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Doxygen documentation for w32_common.creimar2008-11-181-0/+98
| | | | | | | | | | | | Patch by Georgi Petrov (gogothebee gmail com) with several modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27954 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r27949Uoti Urpala2008-11-171-15/+1
|\| | | | | | | | | | | | | | | | | Conflicts: common.mak libvo/vo_xv.c libvo/x11_common.c libvo/x11_common.h stream/cache2.c
| * Fix Windows OpenGL -wid:reimar2008-11-111-15/+1
| | | | | | | | | | | | | | Disable the Window instead of explicitly passing on click events. This also makes Drag-and-Drop work if the -wid window supports it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27904 b3059339-0415-0410-9bf9-f77b7e298cf2
* | libvo: Move aspect.c static variables to vo structUoti Urpala2008-05-011-1/+1
| | | | | | | | This moves non-option variables. aspect.c still defines option globals.
* | input: Move cmd_queue to context structUoti Urpala2008-04-301-1/+1
| | | | | | | | Menu instances now also need a input context pointer to queue commands.
* | Remove vo_depthonscreen references from non-X VOsUoti Urpala2008-04-231-5/+6
| | | | | | | | | | | | | | X-specific code uses this global as its internal variable (assuming that X is initialized if it is set). While using non-X VOs the variable is not accessed outside the VO. So make those VOs use their own variables instead of the global vo_depthonscreen.
* | Move vo_ontop to options structUoti Urpala2008-04-231-0/+2
|/ | | | | | | | | | | Add a 'struct vo *vo' argument to the x11_common.c functions that access the variable so it's available as vo->opts->vo_ontop. To keep VOs using the old API working create a global vo variable that is set to the currently used old vo. "vo_ontop" will be #defined to "global_vo->opts->vo_ontop", and x11_common.h will add defines like the following when it is included by old VOs: #define vo_x11_ontop() vo_x11_ontop(global_vo) so that they will call the function according to the new declaration.
* Make some variables static.reimar2008-02-101-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25978 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid a useless extra pointer variable.reimar2008-02-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25977 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not uselessly erase background, OpenGL will take care of drawing everything.reimar2008-02-101-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25976 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid -wid message processing blocking MPlayer.reimar2008-02-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25974 b3059339-0415-0410-9bf9-f77b7e298cf2
* Forward mouse messages to -wid Window.reimar2008-02-101-1/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25972 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure the -wid window does not get notified when we destroy our attached ↵reimar2008-02-091-1/+1
| | | | | | | | | child window. Previous behaviour seems to cause QT to do something stupid which makes DestroyWindow hang (SMPlayer is an application where this happened). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25966 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack: Create a child window for Windows OpenGL with -wid, since (esp. nVidia)reimar2008-02-091-8/+10
| | | | | | drivers have problems drawing in other processes' windows. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25965 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement keepaspect for Windows OpenGL vos.reimar2008-02-021-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25950 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid some pointer conversion warnings (the code is messy but not wrong)reimar2008-01-201-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25815 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some function types from unspecified to empty argument listreimar2008-01-201-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25813 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the bug where the window would become smaller each time vo_ontop is toggled.reimar2008-01-131-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25747 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after patch to remove global vo_hdcreimar2007-09-031-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24335 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove global vo_hdc, since it is recommended to release a DC as soon as ↵reimar2007-09-031-3/+3
| | | | | | possible. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24334 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around some fullscreen issues with gl under Windowsreimar2007-06-221-0/+3
| | | | | | (non-fullscreen window would not always return to original size). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23607 b3059339-0415-0410-9bf9-f77b7e298cf2
* Code cleanup: don't include a .c file in mplayer.c and fix a fewrathann2007-03-291-1/+1
| | | | | | | | | | | "implicit declaration of function ‘mplayer_put_key’" warnings Based on Attila's suggestions. Approved by Uoti and Ivan. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22841 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for tracking mouse movements.reimar2007-03-041-0/+11
| | | | | | | Patch by Zuxy Meng (zuxy meng at gmail com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22441 b3059339-0415-0410-9bf9-f77b7e298cf2
* Whitespace-only cosmetics: get rid of all remaining tabsreimar2007-03-041-114/+114
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22434 b3059339-0415-0410-9bf9-f77b7e298cf2
* Generate resize events when size of -wid window changes.reimar2007-03-041-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22433 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation under MinGW with X11 enabledreimar2006-12-171-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21647 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adapt code to annoying ShowCursor semantics (increases/decreases and returnsreimar2006-11-171-2/+2
| | | | | | | an internal variable, cursor is show when this variable is >= 0) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20988 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around Windows focus problem with -vo glreimar2006-11-041-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20673 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove completely useless cursor variable.reimar2006-11-041-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20671 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support backspace for -vo gl/gl2 under Windowsreimar2006-11-021-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20613 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix window size bug when starting with -fs and returningreimar2006-07-101-2/+2
| | | | | | | to windowed mode git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18992 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not fiddle (too much) with external (WinID) windowsreimar2006-07-081-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18953 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convince windows to allow window sizes > screen sizereimar2006-07-071-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18932 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix and improve xinerama supportreimar2006-04-161-18/+45
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, forgot to move aspect_save_screenres in last commitreimar2006-04-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18090 b3059339-0415-0410-9bf9-f77b7e298cf2
* correct fullscreen sizereimar2006-04-131-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18086 b3059339-0415-0410-9bf9-f77b7e298cf2
* define MONITOR_DEFAULTTOPRIMARY if necessary, some mingw version seem to miss itreimar2006-04-121-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18082 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes and cleanup for windows fullscreen switching (restore old position,reimar2006-04-121-7/+75
| | | | | | | fullscreen on current monitor). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18080 b3059339-0415-0410-9bf9-f77b7e298cf2
* WM_PAINT is the "expose" event, not WM_ACTIVATEreimar2005-12-071-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17127 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix message handling, process resize eventsreimar2005-12-061-7/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17116 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable border toggling for gl and gl2 under windows.reimar2005-11-171-2/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17007 b3059339-0415-0410-9bf9-f77b7e298cf2
* libvo input cleanup: remove the dependency on libinput,albeu2005-11-021-1/+1
| | | | | | | remove most of the crappy mappings (like O->o or ESC->q). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
* DestroyWindow must be used when -wid was not given, so for WinID < 0, not >=0reimar2005-08-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16289 b3059339-0415-0410-9bf9-f77b7e298cf2
* -wid support for windows. Not well tested, might still behave a bit weird.reimar2005-08-211-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16283 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, initializers don't work without a declaration :-(reimar2005-08-141-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16227 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup, move declarations to beginning of block.reimar2005-08-141-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16214 b3059339-0415-0410-9bf9-f77b7e298cf2
* OpenGL fixes for windows and vo_gl.c ported to windows.reimar2005-07-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16110 b3059339-0415-0410-9bf9-f77b7e298cf2
* -geometry support for gl2 under win, default window pos centered for gl, gl2reimar2005-05-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15596 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a lot of duplicate codereimar2005-02-211-44/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14748 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improving gl2 under windows, moving some functionality to gl_commonreimar2004-12-111-28/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14143 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.diego2004-10-281-4/+4
| | | | | | | Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied old patch that was missing an include...reimar2004-08-021-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12937 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for passing mouse events on to MPlayerreimar2004-08-011-0/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12928 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace WM_DESTROY with WM_CLOSE to make it possible to play multiple files, ↵faust32004-02-291-1/+1
| | | | | | patch by Reimar Doeffinger git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12005 b3059339-0415-0410-9bf9-f77b7e298cf2
* <