- 05 Dec, 2009 40 commits
-
-
JP Dinger authored
Introduce realloc_or_free(), which does what realloc() does but will free the argument if the reallocation fails. This is useful in some, but not all, use cases of realloc().
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
Skins2: Add x11 transparency support. Hope it sets the property on the right Window; didn't have a known transparent skin to test with.
-
JP Dinger authored
Skins2: Cosmetics and drop const from string return as there really is no point: We're returning a fresh object.
-
JP Dinger authored
Skins2: Move method bodies with inline tags to before where they're needed. Drop const in favour of static on power() and instead of recursing(!) make it use powf().
-
JP Dinger authored
skins2: I fail to see why Subject (not Observer) needs to have virtual methods. If you do find a reason do tell. Observer should probably be defined inside Subject instead.
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
Skins2: Mostly cosmetics, some C++ style casting, factor out a scroll() in anticipation of figuring out where it belongs.
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
Skins2: Add (and use) template parameter typedefs so that they might be used, say, as function return types. The next commit needs this.
-
JP Dinger authored
-
JP Dinger authored
Skins2: Factor out duplicate code (mod), and provide a const accessor to the keymap: std::map<>::operator[] will create empty nodes if they don't exist already.
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
Skins2: x11_display: Replace PUT_PIXEL and BLEND_PIXEL macros with templates. Could use more testing and possibly more refactoring.
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
Skins2: Use vlc KEY_MODIFIER_* constants for key modifier masks, simplifying the code. Revert from enum to static const int to not have to include vlc_keys.h through the header file.
-
JP Dinger authored
-
JP Dinger authored
Skins2: Factor out getModKey() and getKeyState() (both used twice), use var_SetVariant() instead of var_Set().
-
JP Dinger authored
-
JP Dinger authored
Skins2: Refactor string manipulation event handling a bit and replace some static const members with an enum.
-
JP Dinger authored
-
JP Dinger authored
-
JP Dinger authored
Skins2: Use typedefs for internal template-derived types, and rectify an accidental skip while removing.
-
JP Dinger authored
-
JP Dinger authored
-
Pierre d'Herbemont authored
-