… | |
… | |
1492 | if (set) |
1492 | if (set) |
1493 | THIS->options |= optval; |
1493 | THIS->options |= optval; |
1494 | else |
1494 | else |
1495 | THIS->options &= ~optval; |
1495 | THIS->options &= ~optval; |
1496 | |
1496 | |
|
|
1497 | if (THIS->check_ev.is_active ()) // avoid doing this before START |
1497 | switch (optval) |
1498 | switch (optval) |
1498 | { |
1499 | { |
1499 | case Opt_skipBuiltinGlyphs: |
1500 | case Opt_skipBuiltinGlyphs: |
1500 | THIS->set_fonts (); |
1501 | THIS->set_fonts (); |
1501 | THIS->scr_remap_chars (); |
1502 | THIS->scr_remap_chars (); |
1502 | THIS->scr_touch (true); |
1503 | THIS->scr_touch (true); |
1503 | THIS->want_refresh = 1; |
1504 | THIS->want_refresh = 1; |
1504 | break; |
1505 | break; |
1505 | |
1506 | |
1506 | case Opt_cursorUnderline: |
1507 | case Opt_cursorUnderline: |
1507 | THIS->want_refresh = 1; |
1508 | THIS->want_refresh = 1; |
1508 | break; |
1509 | break; |
1509 | |
1510 | |
1510 | # case Opt_scrollBar_floating: |
1511 | # case Opt_scrollBar_floating: |
1511 | # case Opt_scrollBar_right: |
1512 | # case Opt_scrollBar_right: |
1512 | # THIS->resize_all_windows (THIS->width, THIS->height, 1); |
1513 | # THIS->resize_all_windows (THIS->width, THIS->height, 1); |
1513 | # break; |
1514 | # break; |
1514 | } |
1515 | } |
1515 | } |
1516 | } |
1516 | } |
1517 | } |
1517 | OUTPUT: |
1518 | OUTPUT: |
1518 | RETVAL |
1519 | RETVAL |
1519 | |
1520 | |