aboutsummaryrefslogtreecommitdiffstats
path: root/matchbox/theme-engines/mb-wm-theme.c
AgeCommit message (Collapse)Author
2012-09-04Don't dereference NULL when there isn't a XML themeJoe Steeve
Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-08-08show-title tag isn't respected by the default themeJoe Steeve
The default theme engine does not honor the 'show-title' tag. This is available in the PNG theme engine. Signed-off-by: Ross Burton <ross.burton@intel.com>
2008-06-102008-06-10 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/theme-engines/mb-wm-theme.c: * matchbox/theme-engines/mb-wm-theme.h: (mb_wm_theme_set_custom_theme_alloc_func): Added a hook to simplify subclassing of theme-engines.
2008-06-102008-06-10 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/theme-engines/mb-wm-theme.c: (xml_element_start_cb): Hooked custom button type function in.
2008-06-102008-06-10 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/theme-engines/mb-wm-theme.c: * matchbox/theme-engines/mb-wm-theme.h: (mb_wm_theme_set_custom_button_type_func): Added a hook to simplify subclassing of theme-engines.
2008-06-102008-06-10 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/theme-engines/mb-wm-theme.c: * matchbox/theme-engines/mb-wm-theme.h: (mb_wm_theme_set_custom_theme_type_func): Added a hook to simplify subclassing of theme-engines.
2008-06-042008-06-04 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/theme-engines/mb-wm-theme.c: * matchbox/theme-engines/mb-wm-theme.h: (mb_wm_theme_set_custom_type_func): Added a hook to allow theming of custom client types.
2008-04-112008-04-11 Ross Burton <ross@openedhand.com>Ross Burton
* matchbox/theme-engines/mb-wm-theme.c: Instead of a fixed 2px padding before the text, use a fifth of the decoration height.
2008-04-112008-04-11 Ross Burton <ross@openedhand.com>Ross Burton
* matchbox/theme-engines/mb-wm-theme.c: Fix typo in "template-pad-offset" parsing.
2008-04-112008-04-11 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/theme-engines/mb-wm-theme-xml.h: * matchbox/theme-engines/mb-wm-theme.c: * data/themes/Default/theme.xml: * data/themes/PngSample/theme.xml: * doc/MBWM2-Overview.xml: * matchbox/managers/maemo/theme/theme.xml: Removed unused color-bg2 and color-frame attributes from themes.
2008-04-112008-04-11 Ross Burton <ross@openedhand.com>Ross Burton
* matchbox/theme-engines/mb-wm-theme.c: Fix a typo which meant the blue channel was used for the blue channel when painting the decorations.
2008-04-092008-04-09 Ross Burton <ross@openedhand.com>Ross Burton
* matchbox/client-types/mb-wm-client-desktop.c: * matchbox/client-types/mb-wm-client-input.c: * matchbox/core/mb-wm-client-window.c: * matchbox/core/mb-wm-stack.c: * matchbox/core/mb-wm-main-context.c: * matchbox/core/mb-wm-decor.c: * matchbox/core/mb-window-manager.c: * matchbox/core/mb-wm-client.c: * matchbox/theme-engines/mb-wm-theme.c: More cleanups to fix warnings from -Wall.
2008-03-122008-03-12 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm-client.h: Added layout hints for user resizable and movable windows. * matchbox/client-types/mb-wm-client-dialog.c: Hint dialogs as user-movable. * matchbox/core/mb-window-manager.c: (test_button_press): Ensure that application-type clients are not only focused, but also activated. * matchbox/core/mb-wm-decor.c: * matchbox/core/mb-wm-decor.h: Implemented window dragging via north decor. * matchbox/core/mb-wm-main-context.c: * matchbox/core/mb-wm-main-context.h: (mb_wm_main_context_spin_loop): API to allow manual spining of the main loop. * matchbox/theme-engines/mb-wm-theme.c: Make dialogs decorated by default when using fallback theme.
2008-03-112008-03-11 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* configure.ac: * matchbox/mb-wm-config.h.in: Added missing MBWM_WANT_DEBUG to mb-wm-config.h. * matchbox/core/mb-wm.h: Ensure mb-wm-config.h is included before all other mbwm includes. * matchbox/client-types/mb-wm-client-app.c: * matchbox/client-types/mb-wm-client-desktop.c: * matchbox/client-types/mb-wm-client-dialog.c: * matchbox/client-types/mb-wm-client-input.c: * matchbox/client-types/mb-wm-client-menu.c: * matchbox/client-types/mb-wm-client-note.c: * matchbox/client-types/mb-wm-client-override.c: * matchbox/client-types/mb-wm-client-panel.c: * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: * matchbox/comp-mgr/mb-wm-comp-mgr-xrender.c: * matchbox/comp-mgr/mb-wm-comp-mgr.c: * matchbox/core/mb-window-manager.c: * matchbox/core/mb-wm-client-base.c: * matchbox/core/mb-wm-debug.c: * matchbox/core/mb-wm-debug.h: * matchbox/core/mb-wm-decor.c: * matchbox/core/mb-wm-layout.c: * matchbox/core/mb-wm-macros.h: * matchbox/core/mb-wm-main-context.c: * matchbox/core/mb-wm-object.c: * matchbox/core/mb-wm-object.h: * matchbox/core/mb-wm-root-window.c: * matchbox/core/xas.c: * matchbox/managers/maemo/Makefile.am: * matchbox/managers/maemo/maemo-input.c: * matchbox/managers/maemo/maemo-window-manager.c: * matchbox/managers/maemo/maemo-toolbar.c: * matchbox/managers/maemo/maemo-window-manager.h: * matchbox/managers/maemo/matchbox-window-manager-2-maemo.c: * matchbox/managers/simple/matchbox-window-manager-2-simple.c: * matchbox/theme-engines/mb-wm-theme-png.c: * matchbox/theme-engines/mb-wm-theme.c: Replaced #ifdef MBWM_WANT_DEBUG with #if MBWM_WANT_DEBUG. * matchbox/managers/maemo/maemo-window-manager.c: (maemo_window_manager_class_type): Fixed incorrect object initialization.
2008-03-102008-03-10 Robert Bragg <bob@o-hand.com>Robert Bragg
* doc/MBWM2-Overview.xml * matchbox/theme-engines/mb-wm-theme.c * matchbox/theme-engines/mb-wm-theme-png.c * matchbox/theme-engines/mb-wm-theme-xml.h Fixes png theme engine's rendering of decors that are wider than the underlying template PNG image. This adds two new decor tag attributes template-pad-offset and template-pad-length, which have been described in MBWM2-Overview.xml
2008-03-092008-03-09 Robert Bragg <bob@o-hand.com>Robert Bragg
* matchbox/theme-engines/mb-wm-theme.c Some theme.xml schema changes. clr-* now color-* All x/y width/height attributes related to specifying regions within a template image are now prefixed template-* * doc/MBWM2-Overview.xml Documentation updated in line with schema changes * matchbox/managers/maemo/theme/theme.xml * matchbox/managers/maemo/theme/background.png * matchbox/managers/maemo/theme/Makefile.am * data/themes/Default/theme.xml * data/themes/PngSample/theme.xml * data/themes/PngSample/background.png * data/themes/PngSample/Makefile.am Existing themes updated to use the new attribute names and background.png images have been renamed to template.png * configure.ac * data/themes/Makefile.am Install the PngSample theme by default if PNG theme engine enabled
2008-03-092008-03-09 Robert Bragg <bob@o-hand.com>Robert Bragg
* matchbox/theme-engines/mb-wm-theme.c base class theme: xft_load_font: don't dereference MBWMXmlDecor if NULL.
2008-03-072008-03-07 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm-util.c: * matchbox/core/mb-wm-util.h: (mb_wm_util_pixels_to_points): Utility function for conversion from pixel font sizes to points. * matchbox/theme-engines/mb-wm-theme-xml.h: * matchbox/theme-engines/mb-wm-theme.c: (xft_load_font): (xml_element_start_cb): Allow units to be specified with font sizes; default to pixels. * matchbox/theme-engines/mb-wm-theme-png.c: (xft_load_font): (mb_wm_theme_png_paint_decor): Handle font units in xft/Pango backends.
2008-03-072008-03-07 Robert Bragg <bob@o-hand.com>Robert Bragg
* matchbox/core/mb-wm-types.h * matchbox/theme-engines/mb-wm-theme.c * matchbox/theme-engines/mb-wm-theme.h * matchbox/theme-engines/Makefile.am * matchbox/mb-wm-config.h.in Moves the simple xlib based theme engine into the theme engine base class
2008-03-072008-03-06 Robert Bragg <bob@o-hand.com>Robert Bragg
* configure.ac * doc/MBWM2-Overview.xml * matchbox/core/mb-wm-types.h * matchbox/mb-wm-config.h.in * matchbox/theme-engines/Makefile.am * matchbox/theme-engines/mb-wm-theme-cairo.c * matchbox/theme-engines/mb-wm-theme-cairo.h * matchbox/theme-engines/mb-wm-theme.c * matchbox/theme-engines/mb-wm-theme.h Removes all references to the cairo theme engine
2008-03-052008-03-05 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.h: * matchbox/comp-mgr/mb-wm-comp-mgr.c: * matchbox/comp-mgr/mb-wm-comp-mgr.h: * matchbox/core/mb-wm-client.c: * matchbox/core/mb-wm-types.h: * matchbox/theme-engines/mb-wm-theme-xml.c: * matchbox/theme-engines/mb-wm-theme-xml.h: * matchbox/theme-engines/mb-wm-theme.c: * matchbox/theme-engines/mb-wm-theme.h: Simplified effect framework (effect are no longer themeable).
2008-02-282008-02-28 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/theme-engines/mb-wm-theme-xml.c: * matchbox/theme-engines/mb-wm-theme.c: Fixed parsing of colour alpha. * data/themes/Default/theme.xml Added shaddow colour definition. * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: Implemented simple shaddows.
2008-02-282008-02-28 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm-types.h: * matchbox/theme-engines/mb-wm-theme.c: * matchbox/theme-engines/mb-wm-theme.h: * matchbox/theme-engines/mb-wm-theme-xml.c: * matchbox/theme-engines/mb-wm-theme-xml.h: * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: * matchbox/comp-mgr/mb-wm-comp-mgr.c: * data/themes/Default/theme.xml: Added transition support to theme.
2008-02-272008-02-27 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* matchbox/core/mb-wm-theme.c: (mb_wm_theme_paint_decor): (mb_wm_theme_paint_button): Remove superfluous calls to mb_wm_comp_mgr_client_repair().
2008-02-192008-02-19 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* configure.ac: * matchbox/core/mb-window-manager.c: * matchbox/core/mb-window-manager.h: * matchbox/core/mb-wm-client-base.c: * matchbox/core/mb-wm-client-window.c: * matchbox/core/mb-wm-client.c: * matchbox/core/mb-wm-client.h: * matchbox/core/mb-wm-main-context.c: * matchbox/core/mb-wm-main-context.h: * matchbox/core/mb-wm-root-window.c: * matchbox/core/mb-wm-types.h: * matchbox/core/mb-wm-util.h: * matchbox/managers/maemo/maemo-window-manager.c: * matchbox/managers/simple/matchbox-window-manager-2-simple.c: * matchbox/mb-wm-config.h.in: * matchbox/theme-engines/mb-wm-theme-cairo.c: * matchbox/theme-engines/mb-wm-theme-xml.c: * matchbox/theme-engines/mb-wm-theme-xml.h: * matchbox/theme-engines/mb-wm-theme.c: * matchbox/theme-engines/mb-wm-theme.h: Manually generate mb-wm-config.h so as to avoid any clashes with with any auto-generated application config.h. Changed number of #ifdef's to #if's following the changes to mb-wm-config.h.
2008-02-192008-02-19 Tomas Frydrych <tf@o-hand.com>Tomas Frydrych
* configure.ac, *.am, *.h: Changes for building mbwm2 as a library (based on patch by Johan Bilien): Moved 'src' to 'matchbox'; fixed up headers to use #include <>. Moved config.h to matchbox/mb-wm-config.h. Added --enable-libmatchbox configure option, libmatchbox2.pc.in