adjust tooltip position (mrovi)

git-svn-id: http://tint2.googlecode.com/svn/trunk@524 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-08-07 12:17:56 +00:00
parent 7a2004c979
commit c9ca6a4006
6 changed files with 43 additions and 23 deletions

View File

@@ -47,6 +47,10 @@ typedef struct
} Background;
// way to calculate the size
// SIZE_BY_LAYOUT objects : taskbar and task
// SIZE_BY_CONTENT objects : clock, battery, launcher, systray
enum { SIZE_BY_LAYOUT, SIZE_BY_CONTENT };
typedef struct {
// coordinate relative to panel window
@@ -59,8 +63,11 @@ typedef struct {
// list of child : Area object
GSList *list;
// object visible on screen
int on_screen;
// need compute position and width
// way to calculate the size (SIZE_BY_CONTENT or SIZE_BY_LAYOUT)
int size_mode;
// need to calculate position and width
int resize;
// need redraw Pixmap
int redraw;