public static extern void nk_draw_list_stroke_line(
     nk_draw_list *dl,
     nk_vec2 a,
     nk_vec2 b,
     nk_color col,
     float thickness
     );
 public static extern void nk_draw_list_stroke_rect(
     nk_draw_list *dl,
     nk_rect rect,
     nk_color col,
     float rounding,
     float thickness
     );
 public static extern void nk_stroke_rect(
     nk_command_buffer *cbuf,
     nk_rect r,
     float rounding,
     float line_thickness,
     nk_color col
     );
 public static void LabelColoredWrap(string Txt, nk_color Clr)
 {
     unsafe
     {
         Nuklear.nk_label_colored_wrap(_nuklearContext, Txt, Clr);
     }
 }
Beispiel #5
0
 public static extern void nk_text_colored(
     nk_context *ctx,
     byte *s,
     int i,
     uint nkflags,
     nk_color color
     );
 public static extern void nk_stroke_polygon(
     nk_command_buffer *cbuf,
     float *points,
     int point_count,
     float line_thickness,
     nk_color col
     );
 public static extern void nk_draw_list_fill_triangle(
     nk_draw_list *dl,
     nk_vec2 a,
     nk_vec2 b,
     nk_vec2 c,
     nk_color col
     );
 public static extern void nk_draw_list_fill_circle(
     nk_draw_list *dl,
     nk_vec2 center,
     float radius,
     nk_color col,
     uint segs
     );
 public static extern void nk_draw_list_stroke_circle(
     nk_draw_list *dl,
     nk_vec2 center,
     float radius,
     nk_color col,
     uint segs,
     float thickness
     );
 public static extern void nk_fill_rect_multi_color(
     nk_command_buffer *cbuf,
     nk_rect r,
     nk_color left,
     nk_color top,
     nk_color right,
     nk_color bottom
     );
Beispiel #11
0
 public static void LabelColored(string text, nk_color color,
     nk_text_align alignment = (nk_text_align)nk_text_alignment.NK_TEXT_LEFT)
 {
     unsafe
     {
         Nuklear.nk_label_colored(_nuklearContext, text, alignment, color);
     }
 }
 public static extern void nk_draw_list_fill_rect_multi_color(
     nk_draw_list *dl,
     nk_rect rect,
     nk_color left,
     nk_color top,
     nk_color right,
     nk_color bottom
     );
Beispiel #13
0
 public static extern void nk_chart_add_slot_colored(
     nk_context *ctx,
     nk_chart_type chart_type,
     nk_color color,
     nk_color active,
     int count,
     float min_value,
     float max_value
     );
 public static extern void nk_draw_text(
     nk_command_buffer *cbuf,
     nk_rect r,
     byte *text,
     int len,
     nk_user_font *userfont,
     nk_color col,
     nk_color col2
     );
Beispiel #15
0
 public static extern int nk_chart_begin_colored(
     nk_context *ctx,
     nk_chart_type chart_type,
     nk_color color,
     nk_color active,
     int num,
     float min,
     float max
     );
 public static extern void nk_draw_list_stroke_poly_line(
     nk_draw_list *dl,
     nk_vec2 *pnts,
     uint cnt,
     nk_color col,
     nk_draw_list_stroke stroke,
     float thickness,
     nk_anti_aliasing aa
     );
 public static extern void nk_stroke_line(
     nk_command_buffer *cbuf,
     float x0,
     float y0,
     float x1,
     float y1,
     float line_thickness,
     nk_color color
     );
 public static extern void nk_fill_arc(
     nk_command_buffer *cbuf,
     float cx,
     float cy,
     float radius,
     float a_min,
     float a_max,
     nk_color col
     );
 public static extern void nk_draw_list_add_text(
     nk_draw_list *dl,
     nk_user_font *userfont,
     nk_rect rect,
     byte *text,
     int len,
     float font_height,
     nk_color col
     );
 public static extern void nk_stroke_arc(
     nk_command_buffer *cbuf,
     float cx,
     float cy,
     float radius,
     float a_min,
     float a_max,
     float line_thickness,
     nk_color col
     );
 public static extern void nk_fill_triangle(
     nk_command_buffer *cbuf,
     float x0,
     float y0,
     float x1,
     float y1,
     float x2,
     float y2,
     nk_color col
     );
 public static extern void nk_draw_list_stroke_curve(
     nk_draw_list *dl,
     nk_vec2 p0,
     nk_vec2 cp0,
     nk_vec2 cp1,
     nk_vec2 p1,
     nk_color col,
     uint segments,
     float thickness
     );
 public static extern void nk_stroke_curve(
     nk_command_buffer *cbuf,
     float x,
     float y,
     float x1,
     float y1,
     float xa,
     float ya,
     float xb,
     float yb,
     float line_thickness,
     nk_color col
     );
Beispiel #24
0
 public static extern int nk_button_color(nk_context *ctx, nk_color color);
Beispiel #25
0
 public static extern void nk_label_colored_wrap(nk_context *ctx, string s, nk_color color);
Beispiel #26
0
 public static extern void nk_label_colored(
     nk_context *ctx,
     string s,
     nk_text_align align_nkflags,
     nk_color color
     );
Beispiel #27
0
 public static extern void nk_text_wrap_colored(nk_context *ctx, byte *s, int i, nk_color color);
 public static extern void nk_draw_list_add_image(
     nk_draw_list *dl,
     nk_image texture,
     nk_rect rect,
     nk_color col
     );
Beispiel #29
0
 public static extern int nk_combo_begin_color(nk_context *ctx, nk_color color, nk_vec2 size);
 public static extern void nk_draw_list_fill_poly_convex(nk_draw_list *dl,
                                                         nk_vec2 *points,
                                                         uint count,
                                                         nk_color col,
                                                         nk_anti_aliasing aa
                                                         );