awtk/tests/common.h

18 lines
394 B
C
Raw Normal View History

#include "tkc/rect.h"
2018-10-10 17:30:59 +08:00
#include "base/bitmap.h"
#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);
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);
ret_t widget_dispatch_click(widget_t* widget);
2018-10-10 17:30:59 +08:00
#endif /*COMMON_H*/