]> git.sesse.net Git - vlc/commit
* utils/var_bool.*: VarBool is now an interface for reading bool variables
authorCyril Deguet <asmax@videolan.org>
Sun, 18 Jan 2004 19:54:46 +0000 (19:54 +0000)
committerCyril Deguet <asmax@videolan.org>
Sun, 18 Jan 2004 19:54:46 +0000 (19:54 +0000)
commit75feba09378f90d47d84f8271accb6276ecb4575
treec74cd0ff5dfda834b3a4194caee527715ccf3d11
parentc89bab7c4aff62716dfe37d9673a8c7c102533ae
* utils/var_bool.*: VarBool is now an interface for reading bool variables
 (not writing); use VarBoolImpl instead to instanciate read/write variables.
 Bool variables can now be combined with VarNotBool and VarBoolAndBool
 (TODO: VarBoolOrBool)
* commands/cmd_show_window.hpp: the commands now call directly
  GenericWindow::show/hide, because the visibility variable of a
  window is a VarBool (so, read-only)
* commands/cmd_input.hpp: added Play and Pause commands
* parser/interpreter.cpp: beginning of support of boolean expressions,
 like "vlc.isSeekable and not vlc.isStopped" (operator precedence is
 not really well handled yet)
* src/vlcproc.*: new variables "vlc.isSeekable", "vlc.isStopped" and
 "vlc.isPaused"
* controls/ctrl_checkbox.cpp: the "state" variable of a checkbox is
  now a passive VarBool, so actions must be explicitely set with
  'action1="..." action2="..."' in the xml file
* removed src/vlcvars.* => "vlc.isMute" doesn't work any more
 (anyway it didn't work well...)
* theme/theme.xml: updated with the new VarBool behaviour
14 files changed:
modules/gui/skins2/Modules.am
modules/gui/skins2/commands/cmd_input.cpp
modules/gui/skins2/commands/cmd_input.hpp
modules/gui/skins2/commands/cmd_show_window.hpp
modules/gui/skins2/controls/ctrl_checkbox.cpp
modules/gui/skins2/parser/interpreter.cpp
modules/gui/skins2/src/generic_window.hpp
modules/gui/skins2/src/vlcproc.cpp
modules/gui/skins2/src/vlcproc.hpp
modules/gui/skins2/theme/theme.xml
modules/gui/skins2/utils/var_bool.cpp
modules/gui/skins2/utils/var_bool.hpp
modules/gui/skins2/vars/vlcvars.cpp [deleted file]
modules/gui/skins2/vars/vlcvars.hpp [deleted file]