X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fclient%2Fwindows.h;h=0a46192beaa89adca4877ba17cbbc41c7e6322cd;hb=c74615b516cd7e44cc1a4005663eed1a373d0f68;hp=872fe13a4b37f22abeeaa3ea7b1698cd639dbb62;hpb=f6445615b0b81a83ef75cc4774bac992bac234bb;p=plomrogue diff --git a/src/client/windows.h b/src/client/windows.h index 872fe13..0a46192 100644 --- a/src/client/windows.h +++ b/src/client/windows.h @@ -59,7 +59,8 @@ struct Win char id; /* Win identifier; also maps to default window drawing function. */ uint8_t target_height_type; /* 0: read .height/.width as positive size; */ uint8_t target_width_type; /* 1: as negative diff to v_screen size */ - uint8_t view; /* winde view mode: 0: use default draw function set by .id */ + uint8_t linebreak; /* linebreaking modes: 0: wide; 1: long; 1: compact */ + uint8_t view; /* window view mode: 0: use .id- set default draw function */ }; /* 1/2: use one of the two config view draw function */ @@ -127,6 +128,8 @@ extern void toggle_winconfig(); */ extern void toggle_win_size_type(char axis); +extern void toggle_linebreak_type(); + /* Grow or shrink active window horizontally ("change" = "*"/"_") or vertically * ("change" = "+"/"-") if the new size was at least 1x1, the height at least * one cell smaller than .v_screen's vertical hight (to provide space for the