gri3-wm/i3bar/include/outputs.h

28 lines
391 B
C
Raw Normal View History

2010-07-22 01:15:18 +02:00
#ifndef OUTPUTS_H_
#define OUTPUTS_H_
#include "common.h"
#include <xcb/xcb.h>
typedef struct i3_output_t i3_output;
i3_output* outputs;
2010-07-23 04:43:43 +02:00
void parse_outputs_json(char* json);
2010-07-22 01:15:18 +02:00
void free_outputs();
i3_output* get_output_by_name(char* name);
struct i3_output_t {
char* name;
bool active;
int ws;
rect rect;
2010-07-26 17:21:46 +02:00
xcb_window_t bar;
xcb_gcontext_t bargc;
2010-07-22 01:15:18 +02:00
i3_output* next;
};
#endif