00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00026 #ifndef _BACKGROUND_H_
00027 #define _BACKGROUND_H_
00028
00029 #include <liberdm/display.h>
00030
00031 #define BACKGROUND_TITLE_OFFSET 10
00032
00033 #define TITLE_MIN_HEIGHT 54
00034 #define TITLE_MIN_WIDTH 666
00035
00036
00037 #define SCREEN_BORDER ((SCREEN_WIDTH - TITLE_MIN_WIDTH) / 2)
00038 #define SCREEN_BORDER_TOP (SCREEN_BORDER)
00039 #define SCREEN_BORDER_BOTTOM 1
00040 #define SCREEN_BORDER_LEFT (SCREEN_BORDER)
00041 #define SCREEN_BORDER_RIGHT (SCREEN_BORDER)
00042
00043 #define SCREEN_ITEM_SPACING 9
00044
00045
00046 #define SITEM_BK_WIDTH 666
00047 #define SITEM_BK_HEIGHT 75
00048
00049 #define BK_666_140_WIDTH 666
00050 #define BK_666_140_HEIGHT 140
00051
00052 #define BK_666_168_WIDTH 666
00053 #define BK_666_168_HEIGHT 168
00054
00055 #define BK_666_245_WIDTH 666
00056 #define BK_666_245_HEIGHT 245
00057
00058 #define BK_666_273_WIDTH 666
00059 #define BK_666_273_HEIGHT 273
00060
00061
00062 #define PADDING_TOP 10
00063 #define PADDING_BOTTOM 10
00064 #define PADDING_LEFT 13
00065 #define PADDING_RIGHT 13
00066
00067 #define HBOX_SPACING 5
00068 #define VBOX_SPACING 9
00069
00070 #define LBUTTON_WIDTH 310
00071 #define LBUTTON_HEIGHT 27
00072 #define BUTTON_WIDTH 200
00073 #define BUTTON_HEIGHT 27
00074 #define SBUTTON_WIDTH 130
00075 #define SBUTTON_HEIGHT 27
00076
00077 #define LABEL_WIDTH 640
00078 #define LABEL_HEIGHT -1
00079
00080 #define ENTRY_WIDTH 400
00081 #define ENTRY_HEIGHT 27
00082
00083 #define MAX_PROFILES_PER_PAGE 12
00084
00085 #ifdef __cplusplus
00086 extern "C"
00087 {
00088 #endif
00089
00090
00091
00092
00093 GtkWidget* bg_create(GtkWidget* window);
00094
00095 void bg_set_text(void);
00096
00097 void bg_display_title(void);
00098
00099 #ifdef __cplusplus
00100 }
00101 #endif
00102
00103
00104 #endif //_BACKGROUND_H_
00105