]> git.sesse.net Git - vlc/commit
* all: beginning of bitmap font support. At the moment only the digits
authorCyril Deguet <asmax@videolan.org>
Sat, 27 Mar 2004 00:21:13 +0000 (00:21 +0000)
committerCyril Deguet <asmax@videolan.org>
Sat, 27 Mar 2004 00:21:13 +0000 (00:21 +0000)
commit00aa16f116339812bc391fb2cebfc0553e78a6b6
tree738d60ace52b64f6d5f0459d63c556da2cc1b381
parent77e1a4c6f15e8f48a39b3b2d832bfc7108db70ef
  * all: beginning of bitmap font support. At the moment only the digits
  font for xmms/winamp2 skins is supported (the bitmap must have the
  following layout: [0123456789 -] with letters of size 9x13).
  Non-digit characters are just skipped, with a hardcoded advance of 6
  (it allows correct display of time in xmms skins; the ':' are skipped)
  Small example at http://people.via.ecp.fr/~asmax/chaos.vlt (uncomplete skin)
  * vars/time.cpp: notify the observers also when the input is stopped
  * controls/ctrl_text.cpp: do not reset the FSM state and timer when the
  text is displayed (was causing bugs in time display)
12 files changed:
modules/gui/skins2/controls/ctrl_text.cpp
modules/gui/skins2/parser/builder.cpp
modules/gui/skins2/parser/builder.hpp
modules/gui/skins2/parser/builder_data.def
modules/gui/skins2/parser/builder_data.hpp
modules/gui/skins2/parser/skin_parser.cpp
modules/gui/skins2/src/bitmap_font.cpp
modules/gui/skins2/src/bitmap_font.hpp
modules/gui/skins2/src/generic_bitmap.cpp
modules/gui/skins2/src/generic_bitmap.hpp
modules/gui/skins2/vars/time.cpp
share/skins2/default/skin.dtd