mirror of
https://github.com/polybar/polybar.git
synced 2024-11-18 13:55:11 -05:00
ae501d6ae1
Copy contents from the root pixmap onto the background Fixes #125
39 lines
1 KiB
C++
39 lines
1 KiB
C++
#pragma once
|
|
|
|
#include "common.hpp"
|
|
#include "components/types.hpp"
|
|
|
|
LEMONBUDDY_NS
|
|
|
|
/**
|
|
* @TODO: Allow multiple signal handlers
|
|
*/
|
|
namespace g_signals {
|
|
namespace bar {
|
|
extern callback<string> action_click;
|
|
extern callback<bool> visibility_change;
|
|
extern callback<> redraw;
|
|
}
|
|
|
|
namespace parser {
|
|
extern callback<alignment> alignment_change;
|
|
extern callback<attribute> attribute_set;
|
|
extern callback<attribute> attribute_unset;
|
|
extern callback<attribute> attribute_toggle;
|
|
extern callback<mousebtn, string> action_block_open;
|
|
extern callback<mousebtn> action_block_close;
|
|
extern callback<gc, color> color_change;
|
|
extern callback<int> font_change;
|
|
extern callback<int> pixel_offset;
|
|
extern callback<uint16_t> ascii_text_write;
|
|
extern callback<uint16_t> unicode_text_write;
|
|
extern callback<const char*, size_t> string_write;
|
|
}
|
|
|
|
namespace tray {
|
|
extern callback<uint16_t> report_slotcount;
|
|
extern callback<uint32_t> clear_bg;
|
|
}
|
|
}
|
|
|
|
LEMONBUDDY_NS_END
|