1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 19:35:49 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
ulion
673246be0c OSD menu support mouse selection.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25489 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-22 06:14:38 +00:00
ulion
787801f7a5 Add variable bx, dx to simplify code of function menu_draw_list.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25466 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 07:11:48 +00:00
ulion
bfe3186801 Add local variable 'line_h' to simplify code of function menu_list_draw.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25465 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-20 02:17:29 +00:00
ulion
d7ed78143c Currently menu title did not align center together with menu items when x>=0.
Now fix it to get a good alignment with menu items.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25463 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-19 15:21:27 +00:00
ulion
007988abf8 Here should add the minb to x when x>=0 because in later code
we use 'x - minb' to draw bg box when x>=0.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25449 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-18 11:54:17 +00:00
ulion
a986e2a1f6 Remove hardcoded key->cmd bindings in libmenu, support custom key bindings
by menu config file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25291 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-04 10:42:59 +00:00
ulion
4ab4cd3dcd Make page up and down with proper page size instead of always 10 rows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25007 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-10 02:01:41 +00:00
diego
77b4259600 Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19437 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-18 13:58:03 +00:00
albeu
9c31929204 Verticaly center the background around the text.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18205 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-22 18:29:29 +00:00
albeu
9c301c3e16 Add a function to draw flat boxes and use it to make the list
menu and console look much cooler. Idea take from Otvos Atilla's
patches (oattila_At_chello--.--hu).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17994 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-30 02:52:54 +00:00
albeu
3db345c707 Fix cycling in menu with hidden items.
Thanks again to Jonas Jermann for the report.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17981 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 19:27:42 +00:00
albeu
d915b85253 Allow hiding list elements and disableing the pointer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17947 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 18:15:37 +00:00
albeu
0e38597ae8 Allow 6 ways (up/down/left/right/ok/cancel) navigation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17946 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 17:32:10 +00:00
diego
5aba6c3cfd Unify include paths, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16863 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-26 00:07:43 +00:00
lumag
6ebdf741f7 Fix long-known bug with handling 'down key' in lists.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10936 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-24 07:35:59 +00:00
arpi
7ff83a7181 linux->osdep
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9381 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 20:18:23 +00:00
rathann
84834e9d34 Added/reordered #includes to silence warnings about "implicit declaration".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8624 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-28 18:51:10 +00:00
albeu
c83ebc0b7d OSD menus initial version
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8198 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-14 23:47:11 +00:00