Work on theming support...

This commit is contained in:
Sanel Zukan
2008-02-18 14:46:13 +00:00
parent 0ad832e770
commit 44687cb3a6
14 changed files with 519 additions and 43 deletions

41
elma/Theme.h Normal file
View File

@@ -0,0 +1,41 @@
/*
* $Id$
*
* ELMA, Ede Login MAnager
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2008 EDE Authors.
*
* This program is licensed under terms of the
* GNU General Public License version 2 or newer.
* See COPYING for details.
*/
#ifndef __THEME_H__
#define __THEME_H__
#include <edelib/String.h>
struct ThemeBox {
int x, y, w, h;
int font_color;
int font_size;
edelib::String* label;
};
struct ElmaTheme {
ThemeBox* info;
ThemeBox* user;
ThemeBox* pass;
ThemeBox* error;
int panel_x;
int panel_y;
edelib::String panel;
edelib::String background;
};
ElmaTheme* elma_theme_init(const char* directory);
void elma_theme_clear(ElmaTheme* et);
#endif