From a4e60d20c5a8bc971be2d570bcffa14c61723c81 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Fri, 28 Feb 2014 22:11:10 +0100 Subject: [PATCH] [DEV] add basic think of multi shaper type --- data/theme/shape/square/Button.json | 11 +++++++++++ sources/ewol/compositing/Shaper.h | 5 +++++ 2 files changed, 16 insertions(+) diff --git a/data/theme/shape/square/Button.json b/data/theme/shape/square/Button.json index 076d72ae..9942fec0 100644 --- a/data/theme/shape/square/Button.json +++ b/data/theme/shape/square/Button.json @@ -1,8 +1,19 @@ { + extern-border-left:2, + extern-border-right:2, + extern-border-top:2, + extern-border-butom:2, + + border-left:2, + border-right:2, + border-top:2, + border-buttom:2, + padding-left:8, padding-right:8, padding-top:8, padding-buttom:8, + change-time:356, program:"THEME:GUI:Button.prog", color:"THEME:COLOR:Button.json" diff --git a/sources/ewol/compositing/Shaper.h b/sources/ewol/compositing/Shaper.h index 471e56dd..964f1b0c 100644 --- a/sources/ewol/compositing/Shaper.h +++ b/sources/ewol/compositing/Shaper.h @@ -20,6 +20,11 @@ namespace ewol { namespace compositing { + enum renderMode { + renderSingleSquare, //!< basic historic render mode + renderBorder, //!< Render 4 squares for coiner, and renctangle for border, a big rentangle for background and 8 rectangle for the outside part + renderOneBorder, + }; /** * @brief the Shaper system is a basic theme configuration for every widget, it corespond at a background display described by a pool of files */