tint2/src/taskbar/taskbar.h

39 lines
634 B
C
Raw Normal View History

/**************************************************************************
* 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