Searched refs:NUMSHADEPATS (Results 1 – 8 of 8) sorted by relevance
633 unsigned char shade_images[NUMSHADEPATS][128] = {1022 for (i = 0; i < NUMSHADEPATS; i++) { in init_fill_pm()1033 for (i = NUMSHADEPATS; i < NUMSHADEPATS+NUMTINTPATS; i++) { in init_fill_pm()1034 j = NUMSHADEPATS+NUMTINTPATS-i-1; /* reverse the patterns */ in init_fill_pm()1044 for (i = NUMSHADEPATS+NUMTINTPATS; i < NUMFILLPATS; i++) { in init_fill_pm()1047 j = i-(NUMSHADEPATS+NUMTINTPATS); in init_fill_pm()1233 if (fill_style >= NUMTINTPATS+NUMSHADEPATS) { in pw_lines()1294 if ((fill_style >= NUMSHADEPATS+NUMTINTPATS) && in set_fill_gc()1300 if (fill_style >= NUMSHADEPATS+NUMTINTPATS) { in set_fill_gc()1312 bg = (fill_style < NUMSHADEPATS? x_color(BLACK): x_color(WHITE)); in set_fill_gc()[all …]
38 #define NUMSHADEPATS 21 macro41 #define NUMFILLPATS NUMSHADEPATS+NUMTINTPATS+NUMPATTERNS
1780 if (i > NUMSHADEPATS && i <= NUMSHADEPATS+NUMTINTPATS) in popup_choice_panel()1799 if (isw->func == I_FILLSTYLE && i == NUMSHADEPATS+NUMTINTPATS+1) { in popup_choice_panel()3860 cur_fillcolor == WHITE) && cur_fillstyle == NUMSHADEPATS) in darken_fill()3861 cur_fillstyle = NUMSHADEPATS+NUMTINTPATS; /* skip to patterns */ in darken_fill()3875 cur_fillstyle = NUMSHADEPATS-1; /* no tints */ in lighten_fill()3887 (cur_fillstyle >= NUMSHADEPATS && cur_fillstyle < NUMSHADEPATS+NUMTINTPATS)) in show_fillstyle()3898 if (cur_fillstyle < NUMSHADEPATS+NUMTINTPATS) in show_fillstyle()3900 (cur_fillstyle * 200) / (NUMSHADEPATS+NUMTINTPATS - 1)); in show_fillstyle()3902 put_msg("FILL pattern %d",cur_fillstyle-NUMSHADEPATS-NUMTINTPATS); in show_fillstyle()3931 j = i-(NUMTINTPATS+NUMSHADEPATS); in recolor_fillstyles()[all …]
111 extern unsigned char shade_images[NUMSHADEPATS][128];
3036 generic_vals.fill_style = fill+NUMSHADEPATS+NUMTINTPATS; in new_generic_values()3039 generic_vals.fill_style = NUMSHADEPATS+NUMTINTPATS; in new_generic_values()3374 } else if (generic_vals.fill_style < NUMSHADEPATS+NUMTINTPATS) { in generic_window()3378 fill = generic_vals.fill_style - NUMSHADEPATS - NUMTINTPATS; in generic_window()3801 val = val / (200 / (NUMSHADEPATS+NUMTINTPATS-1)); in update_fill_image()3823 val += NUMSHADEPATS+NUMTINTPATS; in update_fill_image()3870 for (i = 0; i < NUMSHADEPATS; i++) { in fill_style_menu()3874 for (i = NUMSHADEPATS; i < NUMSHADEPATS+NUMTINTPATS; i++) { in fill_style_menu()3875 j = NUMSHADEPATS+NUMTINTPATS-i-1; /* reverse the patterns */ in fill_style_menu()3879 for (i = NUMSHADEPATS+NUMTINTPATS; i < NUMFILLPATS; i++) { in fill_style_menu()[all …]
568 if (object->fill_style >= NUMSHADEPATS && in fix_fillstyle()569 object->fill_style < NUMSHADEPATS+NUMTINTPATS) in fix_fillstyle()
639 line->fill_style = NUMSHADEPATS-1; /* fill it */ in draw_line()1876 fill = NUMTINTPATS+NUMSHADEPATS-1; /* "hollow", fill with white */ in draw_arrow()1878 fill = NUMSHADEPATS-1; /* "solid", fill with solid color */ in draw_arrow()1888 NUMTINTPATS+NUMSHADEPATS-1, obj->pen_color, obj->pen_color); in draw_arrow()1896 NUMSHADEPATS-1, obj->pen_color, obj->pen_color); in draw_arrow()
857 box->fill_style = NUMSHADEPATS-1; /* full saturation color */ in create_dimension_line()