Home
last modified time | relevance | path

Searched refs:NK_FRAC (Results 1 – 5 of 5) sorted by relevance

/dports/security/ridl/ridl-11b3240/nuklear/src/
H A Dnuklear_layout.c608 #define NK_FRAC(x) (x - (int)x) /* will be used to remove fookin gaps */ in nk_layout_widget_space() macro
615 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()
/dports/x11-toolkits/nuklear/Nuklear-4.09.1/src/
H A Dnuklear_layout.c604 #define NK_FRAC(x) (x - (float)(int)x) /* will be used to remove fookin gaps */ in nk_layout_widget_space() macro
611 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()
/dports/games/cdogs-sdl/cdogs-sdl-1.0.1/src/nuklear/
H A Dnuklear.h18185 #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
/dports/security/ridl/ridl-11b3240/nuklear/
H A Dnuklear.h18053 #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
/dports/x11-toolkits/nuklear/Nuklear-4.09.1/
H A Dnuklear.h22007 #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