Mercurial > mplayer.hg
view loader/ext.h @ 32969:ad1a232df994
Make slabel work.
It is amazing that so far no skin is using a slabel (static label), but the
reason is quite simple. Former versions of the GUI crashed when rendering a
slabel.
The current GUI recognizes the malloc error but can't render the slabel
due to (probable) lack of memory.
An item that shall be fnt-rendered must have a valid item width.
Additionally, a break was missing which caused a slabel that would have been
already handled to erroneously run through the dlabel handling as well.
author | ib |
---|---|
date | Tue, 08 Mar 2011 15:29:19 +0000 |
parents | 9e739bdb049c |
children |
line wrap: on
line source
/* * Modified for use with MPlayer, detailed changelog at * http://svn.mplayerhq.hu/mplayer/trunk/ */ #ifndef MPLAYER_EXT_H #define MPLAYER_EXT_H #include "wine/windef.h" LPVOID FILE_dommap( int unix_handle, LPVOID start, DWORD size_high, DWORD size_low, DWORD offset_high, DWORD offset_low, int prot, int flags ); int FILE_munmap( LPVOID start, DWORD size_high, DWORD size_low ); int wcsnicmp( const unsigned short* s1, const unsigned short* s2, int n ); int __vprintf( const char *format, ... ); #endif /* MPLAYER_EXT_H */