44 #include "contiki-conf.h"
45 #include "ctk/ctk_arch.h"
52 const u8_t off_widget_x = offsetof(
struct ctk_widget, x);
53 const u8_t off_widget_y = offsetof(
struct ctk_widget, y);
54 const u8_t off_widget_w = offsetof(
struct ctk_widget, w);
55 const u8_t off_widget_h = offsetof(
struct ctk_widget, h);
56 const u8_t off_widget_type = offsetof(
struct ctk_widget, type);
57 const u8_t off_widget_window = offsetof(
struct ctk_widget, window);
59 const u8_t off_widget_label_text = offsetof(
struct ctk_widget, widget) +
60 offsetof(
struct ctk_widget_label, text);
61 const u8_t off_widget_button_text = offsetof(
struct ctk_widget, widget) +
63 const u8_t off_widget_textentry_text = offsetof(
struct ctk_widget, widget) +
64 offsetof(
struct ctk_widget_textentry, text);
65 const u8_t off_widget_textentry_xpos = offsetof(
struct ctk_widget, widget) +
66 offsetof(
struct ctk_widget_textentry, xpos);
67 const u8_t off_widget_textentry_ypos = offsetof(
struct ctk_widget, widget) +
68 offsetof(
struct ctk_widget_textentry, ypos);
69 const u8_t off_widget_textentry_state = offsetof(
struct ctk_widget, widget) +
70 offsetof(
struct ctk_widget_textentry, state);
71 #if CTK_CONF_HYPERLINK
72 const u8_t off_widget_hyperlink_text = offsetof(
struct ctk_widget, widget) +
73 offsetof(
struct ctk_widget_hyperlink, text);
77 const u8_t off_widget_icon_title = offsetof(
struct ctk_widget, widget) +
78 offsetof(
struct ctk_widget_icon,
title);
79 const u8_t off_widget_icon_textmap = offsetof(
struct ctk_widget, widget) +
80 offsetof(
struct ctk_widget_icon, textmap);
83 const u8_t off_window_x = offsetof(
struct ctk_window, x);
84 const u8_t off_window_y = offsetof(
struct ctk_window, y);
85 const u8_t off_window_h = offsetof(
struct ctk_window, h);
86 const u8_t off_window_w = offsetof(
struct ctk_window, w);
87 const u8_t off_window_inactive = offsetof(
struct ctk_window, inactive);
90 const u8_t off_window_focused = offsetof(
struct ctk_window, focused);
97 const u8_t off_menu_next = offsetof(
struct ctk_menu,
next);
100 const u8_t off_menus_open = offsetof(
struct ctk_menus, open);
101 const u8_t off_menus_menus = offsetof(
struct ctk_menus, menus);
102 const u8_t off_menus_desktopmenu = offsetof(
struct ctk_menus, desktopmenu);