Home
last modified time | relevance | path

Searched refs:text_win (Results 1 – 10 of 10) sorted by relevance

/dports/games/zoom/zoom-1.1.5/src/
H A Ddisplay.c74 text_win[0].force_fixed = 0; in display_clear()
75 text_win[0].overlay = 0; in display_clear()
76 text_win[0].no_more = 0; in display_clear()
77 text_win[0].no_scroll = 0; in display_clear()
89 start_y = text_win[0].ypos; in display_clear()
122 free(text_win[x].cline); in display_clear()
567 text_win[window].cline[y].bg[x] = - text_win[window].back-1; in display_split()
633 if (text_win[window1].winsy != text_win[window2].winly) in display_join()
635 text_win[window1].winsy = text_win[window2].winsy; in display_join()
636 text_win[window2].winly = text_win[window2].winsy; in display_join()
[all …]
H A Dwindisplay.c679 text_win[2].cline[y].cell[x] = text_win[2].cline[y+1].cell[x]; in new_line()
681 text_win[2].cline[y].fg[x] = text_win[2].cline[y+1].fg[x]; in new_line()
682 text_win[2].cline[y].bg[x] = text_win[2].cline[y+1].bg[x]; in new_line()
1333 if (text_win[window1].winsy != text_win[window2].winly) in display_join()
1335 text_win[window1].winsy = text_win[window2].winsy; in display_join()
1336 text_win[window2].winly = text_win[window2].winsy; in display_join()
1338 text_win[window1].topline = text_win[window2].topline = NULL; in display_join()
1997 if (text_win[x].winly == text_win[0].winsy) in resize_window()
2002 text_win[x].winsy = (text_win[x].winsy/ofont_y)*xfont_y; in resize_window()
2003 text_win[x].winly = (text_win[x].winly/ofont_y)*xfont_y; in resize_window()
[all …]
H A Dformat.c48 struct window text_win[3] = variable
53 #define CURWIN text_win[cur_win]
54 #define CURSTYLE (text_win[cur_win].style|(text_win[cur_win].force_fixed<<3))
195 text_win[2].cline[y].cell[x] = text_win[2].cline[y+1].cell[x]; in new_line()
196 text_win[2].cline[y].font[x] = text_win[2].cline[y+1].font[x]; in new_line()
197 text_win[2].cline[y].fg[x] = text_win[2].cline[y+1].fg[x]; in new_line()
198 text_win[2].cline[y].bg[x] = text_win[2].cline[y+1].bg[x]; in new_line()
205 text_win[2].cline[size_y-1].cell[x] = ' '; in new_line()
206 text_win[2].cline[size_y-1].font[x] = style_font[4]; in new_line()
207 text_win[2].cline[size_y-1].fg[x] = DEFAULT_BACK; in new_line()
[all …]
H A Dcarbondisplay.c372 if (text_win[x].winly == text_win[0].winsy) in resize_window()
377 text_win[x].winsy = (text_win[x].winsy/ofont_y)*xfont_y; in resize_window()
378 text_win[x].winly = (text_win[x].winly/ofont_y)*xfont_y; in resize_window()
380 text_win[0].winsy = text_win[x].winsy; in resize_window()
1292 if (text_win[win].overlay) in draw_window()
1450 text_win[win].line = n; in draw_window()
1747 newpos -= text_win[0].winly - text_win[0].winsy - xfont_y; in zoom_scroll_handler()
1750 newpos += text_win[0].winly - text_win[0].winsy - xfont_y; in zoom_scroll_handler()
1757 newpos < text_win[0].line->baseline - text_win[0].line->ascent) in zoom_scroll_handler()
1758 newpos = text_win[0].line->baseline - text_win[0].line->ascent; in zoom_scroll_handler()
[all …]
H A Dformat.h129 extern struct window text_win[3];
131 #define CURWIN text_win[cur_win]
132 #define CURSTYLE (text_win[cur_win].style|(text_win[cur_win].force_fixed<<3))
H A Dxdisplay.c990 if (text_win[win].overlay) in draw_window()
1005 y*xfont_y < text_win[win].winly) in draw_window()
1010 fg = text_win[win].cline[y].fg[x]; in draw_window()
1011 bg = text_win[win].cline[y].bg[x]; in draw_window()
1020 y*xfont_y<text_win[win].winly)) in draw_window()
1049 y*xfont_y<text_win[win].winly) in draw_window()
1076 clip.height = text_win[win].winly - text_win[win].winsy; in draw_window()
1088 line = text_win[win].line; in draw_window()
1103 text_win[win].topline = NULL; in draw_window()
1111 text_win[win].text = n->start; in draw_window()
[all …]
/dports/net-im/echat/echat-0.04beta1/
H A Dcurs_strn.c149 wattrset(text_win, COLOR_PAIR(status->room->scrn_color[status->room->scrn+n]) | A_BOLD); in screen_show()
150 waddnstr(text_win, status->room->screen[status->room->scrn+n], status->scrn_width-1); in screen_show()
151 … (status->room->screen[status->room->scrn+n][status->scrn_width-2] == '\0') waddch(text_win, '\n'); in screen_show()
153 wattrset(text_win, COLOR_PAIR(status->room->scrn_color[status->room->scrn]) | A_BOLD); in screen_show()
154 waddnstr(text_win, status->room->screen[status->room->scrn], status->scrn_width-2); in screen_show()
160 wmove(text_win, LINES-4, COLS-(config->users_width+5)); in screen_show()
161 wattrset(text_win, COLOR_PAIR(COL_HEAD) | A_BOLD); in screen_show()
162 wprintw(text_win, "%2d", status->percent); in screen_show()
163 wattrset(text_win, COLOR_PAIR(COL_HEAD)); in screen_show()
164 waddch(text_win, '%'); in screen_show()
H A Dcurs_term.c21 WINDOW *text_win = NULL; variable
125 if ((text_win = subwin(room_win, LINES-6, COLS-(config->users_width+4), 1, 1)) == NULL) { in window_init()
133 wsetscrreg(text_win, 0, LINES-5); in window_init()
135 …if ((text_win = subwin(room_win, (config->status_str ? LINES-4 : LINES-3), COLS-(config->users_wid… in window_init()
143 wsetscrreg(text_win, 0, (config->status_str ? LINES-5 : LINES-4)); in window_init()
145 wbkgdset(text_win, ' ' | COLOR_PAIR(COL_BORDER)); in window_init()
146 wattrset(text_win, COLOR_PAIR(COL_SYSTEM) | A_BOLD); in window_init()
147 werase(text_win); in window_init()
148 leaveok(text_win, TRUE); in window_init()
149 scrollok(text_win, TRUE); in window_init()
[all …]
H A Dcurs_term.h72 extern WINDOW *text_win;
/dports/games/xspringies/xspringies-1.12/
H A Dxdisp.c100 Window main_win, text_win, acts_win, draw_win; variable
218 XFillRectangle(dpy, text_win, bggc, 0, 0, draw_wid, T_HT);
230 XFillRectangle(dpy, text_win, hlgc, cur_offset * F_WID + F_WID/2, 1, F_WID, F_HT);
231 XDrawString(dpy, text_win, fggc, F_WID/2, F_HT, fbuff + offset, strlen(fbuff + offset));
1099 XMoveResizeWindow(dpy, text_win, B_WID + 1, draw_ht + 1, draw_wid, T_HT); in x_event()
1333text_win = XCreateSimpleWindow(dpy, main_win, B_WID + 1, draw_ht + 1, draw_wid, T_HT, 1, fcolor, b…
1411 XChangeWindowAttributes(dpy, text_win, CWEventMask, &xswa);
1419 XMapWindow(dpy, text_win);