[DEV] set a better theme manaement on ewol

This commit is contained in:
Edouard DUPIN 2014-01-17 23:02:15 +01:00
parent 46b95656bd
commit 78c6baa02f
4 changed files with 7 additions and 7 deletions

View File

@ -237,8 +237,8 @@ MainWindows::MainWindows(void) {
(void)myMenu->add(idMenuCTags, "Back", "", ednMsgGuiCtags, "Back"); (void)myMenu->add(idMenuCTags, "Back", "", ednMsgGuiCtags, "Back");
*/ */
int32_t idMenugDisplay = myMenu->addTitle("Display"); int32_t idMenugDisplay = myMenu->addTitle("Display");
(void)myMenu->add(idMenugDisplay, "Color Black", "", appl::MsgNameGuiChangeColor, "colorBlack/"); (void)myMenu->add(idMenugDisplay, "Color Black", "", appl::MsgNameGuiChangeColor, "color/black/");
(void)myMenu->add(idMenugDisplay, "Color White", "", appl::MsgNameGuiChangeColor, "colorWhite/"); (void)myMenu->add(idMenugDisplay, "Color White", "", appl::MsgNameGuiChangeColor, "color/white/");
(void)myMenu->addSpacer(); (void)myMenu->addSpacer();
(void)myMenu->add(idMenugDisplay, "Reload openGl Shader", "", ednMsgGuiReloadShader); (void)myMenu->add(idMenugDisplay, "Reload openGl Shader", "", ednMsgGuiReloadShader);

View File

@ -49,7 +49,7 @@ namespace appl {
return m_buffer; return m_buffer;
} }
private: private:
ewol::compositing::Text m_displayText; //!< Text display properties. ewol::compositing::TextDF m_displayText; //!< Text display properties.
ewol::compositing::Drawing m_displayDrawing; //!< Other diaplay requested. ewol::compositing::Drawing m_displayDrawing; //!< Other diaplay requested.
std::vector<std::pair<appl::Buffer*, vec2>> m_drawingRemenber; std::vector<std::pair<appl::Buffer*, vec2>> m_drawingRemenber;
public: public:

View File

@ -45,7 +45,7 @@ appl::BufferManager* bufferManager = NULL;
bool APP_Init(ewol::Context& _context) { bool APP_Init(ewol::Context& _context) {
APPL_INFO(" == > init APPL v" << APPL_VERSION << " (START) [" << ewol::getBoardType() << "] (" << ewol::getCompilationMode() << ")"); APPL_INFO(" == > init APPL v" << APPL_VERSION << " (START) [" << ewol::getBoardType() << "] (" << ewol::getCompilationMode() << ")");
etk::theme::setName("COLOR", "colorWhite/"); etk::theme::setName("COLOR", "color/black/");
// TODO : remove this : Move if in the windows properties // TODO : remove this : Move if in the windows properties
_context.setSize(vec2(800, 600)); _context.setSize(vec2(800, 600));

View File

@ -84,9 +84,9 @@ def create(target):
myModule.copy_folder('../data/languages/php/*.xml','languages/php/') myModule.copy_folder('../data/languages/php/*.xml','languages/php/')
myModule.copy_folder('../data/languages/xml/*.xml','languages/xml/') myModule.copy_folder('../data/languages/xml/*.xml','languages/xml/')
myModule.copy_folder('../data/languages/python/*.xml','languages/python/') myModule.copy_folder('../data/languages/python/*.xml','languages/python/')
myModule.copy_folder('../data/theme/default/*.svg','theme/default/') myModule.copy_folder('../data/theme/default/*.svg','theme/shape/square/')
myModule.copy_folder('../data/theme/colorWhite/*.json','theme/colorWhite/') myModule.copy_folder('../data/theme/colorWhite/*.json','theme/color/white/')
myModule.copy_folder('../data/theme/colorBlack/*.json','theme/colorBlack/') myModule.copy_folder('../data/theme/colorBlack/*.json','theme/color/black/')
myModule.copy_folder('../data/GUI-Search.xml','') myModule.copy_folder('../data/GUI-Search.xml','')
myModule.add_path(tools.get_current_path(__file__)) myModule.add_path(tools.get_current_path(__file__))