mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Work on theming support...
This commit is contained in:
41
elma/Theme.h
Normal file
41
elma/Theme.h
Normal 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
|
||||
Reference in New Issue
Block a user