Searched refs:NK_FRAC (Results 1 – 5 of 5) sorted by relevance
608 #define NK_FRAC(x) (x - (int)x) /* will be used to remove fookin gaps */ in nk_layout_widget_space() macro615 item_width = w + NK_FRAC(item_offset); in nk_layout_widget_space()622 item_width = w + NK_FRAC(item_offset); in nk_layout_widget_space()637 bounds->w = layout->bounds.w * layout->row.item.w + NK_FRAC(bounds->x); in nk_layout_widget_space()638 bounds->h = layout->row.height * layout->row.item.h + NK_FRAC(bounds->y); in nk_layout_widget_space()651 item_width = w + NK_FRAC(item_offset); in nk_layout_widget_space()697 item_width = w + NK_FRAC(item_offset); in nk_layout_widget_space()701 #undef NK_FRAC in nk_layout_widget_space()
604 #define NK_FRAC(x) (x - (float)(int)x) /* will be used to remove fookin gaps */ in nk_layout_widget_space() macro611 item_width = w + NK_FRAC(item_offset); in nk_layout_widget_space()618 item_width = w + NK_FRAC(item_offset); in nk_layout_widget_space()633 bounds->w = layout->bounds.w * layout->row.item.w + NK_FRAC(bounds->x); in nk_layout_widget_space()634 bounds->h = layout->row.height * layout->row.item.h + NK_FRAC(bounds->y); in nk_layout_widget_space()647 item_width = w + NK_FRAC(item_offset); in nk_layout_widget_space()693 item_width = w + NK_FRAC(item_offset); in nk_layout_widget_space()697 #undef NK_FRAC in nk_layout_widget_space()
18185 #define NK_FRAC(x) (x - (int)x) /* will be used to remove fookin gaps */18192 item_width = w + NK_FRAC(item_offset);18199 item_width = w + NK_FRAC(item_offset);18214 bounds->w = layout->bounds.w * layout->row.item.w + NK_FRAC(bounds->x);18215 bounds->h = layout->row.height * layout->row.item.h + NK_FRAC(bounds->y);18228 item_width = w + NK_FRAC(item_offset);18274 item_width = w + NK_FRAC(item_offset);18278 #undef NK_FRAC
18053 #define NK_FRAC(x) (x - (int)x) /* will be used to remove fookin gaps */18060 item_width = w + NK_FRAC(item_offset);18067 item_width = w + NK_FRAC(item_offset);18082 bounds->w = layout->bounds.w * layout->row.item.w + NK_FRAC(bounds->x);18083 bounds->h = layout->row.height * layout->row.item.h + NK_FRAC(bounds->y);18096 item_width = w + NK_FRAC(item_offset);18142 item_width = w + NK_FRAC(item_offset);18146 #undef NK_FRAC
22007 #define NK_FRAC(x) (x - (float)(int)x) /* will be used to remove fookin gaps */22014 item_width = w + NK_FRAC(item_offset);22021 item_width = w + NK_FRAC(item_offset);22036 bounds->w = layout->bounds.w * layout->row.item.w + NK_FRAC(bounds->x);22037 bounds->h = layout->row.height * layout->row.item.h + NK_FRAC(bounds->y);22050 item_width = w + NK_FRAC(item_offset);22096 item_width = w + NK_FRAC(item_offset);22100 #undef NK_FRAC