283a7fe289
git-svn-id: http://tint2.googlecode.com/svn/trunk@54 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
38 lines
611 B
C
38 lines
611 B
C
/**************************************************************************
|
|
* Copyright (C) 2008 thierry lorthiois (lorthiois@bbsoft.fr)
|
|
*
|
|
* taskbar
|
|
*
|
|
**************************************************************************/
|
|
|
|
#ifndef TASKBAR_H
|
|
#define TASKBAR_H
|
|
|
|
#include "task.h"
|
|
|
|
|
|
typedef struct {
|
|
// always start with area
|
|
Area area;
|
|
|
|
int desktop;
|
|
|
|
// task parameters
|
|
int task_width;
|
|
int task_modulo;
|
|
int text_width;
|
|
} Taskbar;
|
|
|
|
|
|
|
|
void init_taskbar();
|
|
void cleanup_taskbar();
|
|
|
|
Task *task_get_task (Window win);
|
|
void task_refresh_tasklist ();
|
|
|
|
void resize_taskbar(void *obj);
|
|
|
|
|
|
#endif
|
|
|