绘制 tag 标识
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "types.h"
|
||||
@@ -11,4 +12,6 @@ uint32_t *generate_wallpaper(const wallpaper_config_t *wallpaper_config,
|
||||
|
||||
uint32_t get_font_height(const char *font_family, const uint32_t font_size,
|
||||
const uint32_t dpi);
|
||||
void draw_bar(monitor_t *monitor, bool is_current_monitor,
|
||||
color_set_t *color_set, uint32_t height, uint32_t tag_x_padding);
|
||||
void clean_pango_context(void);
|
||||
|
||||
@@ -83,6 +83,8 @@ typedef struct color_t {
|
||||
} color_t;
|
||||
typedef struct color_set_t {
|
||||
color_t bar_bg;
|
||||
color_t tag_bg;
|
||||
color_t active_tag_bg;
|
||||
color_t tag_color;
|
||||
color_t active_tag_color;
|
||||
color_t layout_color;
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
bool has_other_wm_running(void);
|
||||
int get_xcb_connection_fd(void);
|
||||
void flush_xcb_connection(void);
|
||||
|
||||
typedef enum cursor_t {
|
||||
cursor_normal = XC_left_ptr,
|
||||
|
||||
Reference in New Issue
Block a user