* src/misc/variables.c, ALL: improvements to the object variables api.
authorGildas Bazin <gbazin@videolan.org>
Sun, 4 May 2003 22:42:18 +0000 (22:42 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 4 May 2003 22:42:18 +0000 (22:42 +0000)
commit30336bba3f772a1b20a1c5a0663635b1bffc6c68
tree9842fed76cf632df0c71d0f48401bdc4755af8d6
parentbaa735b3ee1d0136c5776e4bcf0f339641b626f5
* src/misc/variables.c, ALL: improvements to the object variables api.
   - added another argument to var_Change().
   - added a VLC_VAR_SETTEXT and VLC_VAR_GETTEXT method to var_Change()
     that are used to set/get a friendly name to an object variable.
   - added VLC_VAR_CHOICESCOUNT to var_Change() to be able to retrieve
     the number of availabel choices without having to get their value
     as well.
   - VLC_VAR_ADDCHOICE uses the extra var_Change() argument to assign
     a friendly name to the choice value.
   - VLC_VAR_GETCHOICES retrieves the choices values and their friendly
     names.

* modules/gui/wxwindows/*: first step in implementing menu auto-generation in the wxWindows interface.
30 files changed:
include/audio_output.h
include/variables.h
modules/access/dvd/access.c
modules/access/dvdplay/access.c
modules/access/dvdread/input.c
modules/access/satellite/access.c
modules/access/vcd/vcd.c
modules/audio_output/alsa.c
modules/audio_output/coreaudio.c
modules/audio_output/directx.c
modules/audio_output/oss.c
modules/audio_output/sdl.c
modules/audio_output/waveout.c
modules/control/rc/rc.c
modules/gui/gtk/menu.c
modules/gui/macosx/intf.m
modules/gui/macosx/vout.m
modules/gui/win32/menu.cpp
modules/gui/wxwindows/Modules.am
modules/gui/wxwindows/interface.cpp
modules/gui/wxwindows/menus.cpp [new file with mode: 0644]
modules/gui/wxwindows/popup.cpp [deleted file]
modules/gui/wxwindows/timer.cpp
modules/gui/wxwindows/wxwindows.h
modules/misc/dummy/dummy.c
modules/misc/testsuite/test4.c
src/audio_output/output.c
src/input/input_ext-intf.c
src/input/input_programs.c
src/misc/variables.c