2018-12-15 17:22:05 +08:00
|
|
|
#include "tkc/rect.h"
|
2018-10-10 17:30:59 +08:00
|
|
|
#include "base/bitmap.h"
|
2019-08-10 07:29:14 +08:00
|
|
|
#include "base/events.h"
|
|
|
|
#include "base/widget.h"
|
2018-10-10 17:30:59 +08:00
|
|
|
|
|
|
|
#ifndef COMMON_H
|
|
|
|
#define COMMON_H
|
|
|
|
|
|
|
|
void bitmap_dump(bitmap_t* b);
|
|
|
|
void bitmap_check(bitmap_t* b, rect_t* r, rgba_t e);
|
|
|
|
|
2019-08-10 07:29:14 +08:00
|
|
|
ret_t widget_log_events(void* ctx, event_t* e);
|
2018-10-30 18:14:12 +08:00
|
|
|
void assert_str_eq(const wchar_t* wstr, const char* utf8);
|
|
|
|
|
2020-09-18 09:45:32 +08:00
|
|
|
ret_t widget_dispatch_click(widget_t* widget);
|
|
|
|
|
2018-10-10 17:30:59 +08:00
|
|
|
#endif /*COMMON_H*/
|