2016-10-15 13:42:57 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "common.hpp"
|
|
|
|
#include "components/types.hpp"
|
|
|
|
|
|
|
|
LEMONBUDDY_NS
|
|
|
|
|
2016-10-24 19:51:55 -04:00
|
|
|
/**
|
|
|
|
* @TODO: Allow multiple signal handlers
|
|
|
|
*/
|
2016-10-15 13:42:57 -04:00
|
|
|
namespace g_signals {
|
|
|
|
namespace bar {
|
2016-11-02 15:22:45 -04:00
|
|
|
extern callback<string> action_click;
|
|
|
|
extern callback<bool> visibility_change;
|
2016-11-04 13:50:33 -04:00
|
|
|
extern callback<> redraw;
|
2016-10-15 13:42:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace parser {
|
2016-11-02 15:22:45 -04:00
|
|
|
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;
|
2016-10-15 13:42:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace tray {
|
2016-11-02 15:22:45 -04:00
|
|
|
extern callback<uint16_t> report_slotcount;
|
|
|
|
extern callback<uint32_t> clear_bg;
|
2016-10-15 13:42:57 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
LEMONBUDDY_NS_END
|