tint2/src/taskbar/taskbar.h
lorthiois@bbsoft.fr c59330d16a remove patch on omnipresent task to try another solution
git-svn-id: http://tint2.googlecode.com/svn/trunk@197 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-25 21:40:06 +00:00

38 lines
634 B
C

/**************************************************************************
* Copyright (C) 2008 thierry lorthiois (lorthiois@bbsoft.fr)
*
* taskbar
*
**************************************************************************/
#ifndef TASKBAR_H
#define TASKBAR_H
#include "task.h"
// tint2 use one taskbar per desktop.
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