Files
tint2/src/taskbar/taskbar.h
Andreas.Fink85 739af13714 *add* more task states (normal, active, iconified, urgent), with each an own background, font and asb
*fix* two memleaks
*fix* some code beautification



git-svn-id: http://tint2.googlecode.com/svn/trunk@327 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-09 00:11:01 +00:00

47 lines
801 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;
typedef struct {
//always start with area
Area area;
Background* bg;
Background* bg_active;
int use_active;
} Global_taskbar;
void init_taskbar();
void cleanup_taskbar();
Task *task_get_task (Window win);
GSList* task_get_tasks(Window win);
void task_refresh_tasklist ();
void resize_taskbar(void *obj);
#endif