void gr_box(int left,int top,int right,int bot) { if (TYPE==BM_LINEAR) gr_box0( left, top, right, bot ); else gr_ubox12( left, top, right, bot ); }
void gr_box(uint_fast32_t left,uint_fast32_t top,uint_fast32_t right,uint_fast32_t bot, const uint8_t color) { if (TYPE==bm_mode::linear) gr_box0(*grd_curcanv, left, top, right, bot, color); else gr_box12(*grd_curcanv, left, top, right, bot, color); }
void gr_box(int left,int top,int right,int bot) { if (TYPE==BM_LINEAR) gr_box0( left, top, right, bot ); #ifdef __DJGPP__ else if ( TYPE == BM_MODEX ) gr_box12( left, top, right, bot ); #endif else gr_ubox12( left, top, right, bot ); }