Searched refs:win (Results 1 - 25 of 554) sorted by relevance

1234567891011>>

/macosx-10.9.5/ncurses-42/ncurses/ncurses/base/
H A Dlib_winch.c45 winch(WINDOW *win)
47 T((T_CALLED("winch(%p)"), win));
48 if (win != 0) {
49 returnChar(CharOf(win->_line[win->_cury].text[win->_curx]) |
50 AttrOf(win->_line[win->_cury].text[win->_curx]));
H A Dlib_insdel.c37 ** The routine winsdelln(win, n).
48 winsdelln(WINDOW *win, int n) argument
52 T((T_CALLED("winsdelln(%p,%d)"), win, n));
54 if (win) {
56 _nc_scroll_window(win, -n, win->_cury, win->_maxy,
57 win->_nc_bkgd);
58 _nc_synchook(win);
H A Dlib_clreol.c46 wclrtoeol(WINDOW *win) argument
50 T((T_CALLED("wclrtoeol(%p)"), win));
52 if (win) {
56 NCURSES_SIZE_T y = win->_cury;
57 NCURSES_SIZE_T x = win->_curx;
63 if ((win->_flags & _WRAPPED) != 0
64 && y < win->_maxy) {
65 win->_flags &= ~_WRAPPED;
72 if ((win->_flags & _WRAPPED) != 0
73 || y > win
[all...]
H A Dlib_erase.c47 werase(WINDOW *win) argument
54 T((T_CALLED("werase(%p)"), win));
56 if (win) {
57 blank = win->_nc_bkgd;
58 for (y = 0; y <= win->_maxy; y++) {
59 start = win->_line[y].text;
60 end = &start[win->_maxx];
69 int x = (win->_parent != 0) ? (win->_begx) : 0;
83 win
[all...]
H A Dlib_immedok.c46 immedok(WINDOW *win, bool flag) argument
48 T((T_CALLED("immedok(%p,%d)"), win, flag));
50 if (win)
51 win->_immed = flag;
H A Dlib_inchstr.c46 winchnstr(WINDOW *win, chtype * str, int n) argument
50 T((T_CALLED("winchnstr(%p,%p,%d)"), win, str, n));
55 if (win) {
56 for (; (n < 0 || (i < n)) && (win->_curx + i <= win->_maxx); i++)
58 CharOf(win->_line[win->_cury].text[win->_curx + i]) |
59 AttrOf(win->_line[win
[all...]
H A Dlib_mvwin.c46 mvwin(WINDOW *win, int by, int bx) argument
48 T((T_CALLED("mvwin(%p,%d,%d)"), win, by, bx));
50 if (!win || (win->_flags & _ISPAD))
59 if (win->_flags & _SUBWIN) {
61 WINDOW *parent = win->_parent;
68 if ((by - parent->_begy == win->_pary) &&
69 (bx - parent->_begx == win->_parx))
72 WINDOW *clone = dupwin(win);
74 /* now we have the clone, so relocate win */
[all...]
H A Dlib_clrbot.c46 wclrtobot(WINDOW *win) argument
50 T((T_CALLED("wclrtobot(%p)"), win));
52 if (win) {
54 NCURSES_SIZE_T startx = win->_curx;
55 NCURSES_CH_T blank = win->_nc_bkgd;
58 (long) win->_cury, (long) win->_maxy, (long) win->_maxx));
60 for (y = win->_cury; y <= win
[all...]
H A Dlib_move.c47 wmove(WINDOW *win, int y, int x) argument
49 T((T_CALLED("wmove(%p,%d,%d)"), win, y, x));
51 if (LEGALYX(win, y, x)) {
52 win->_curx = (NCURSES_SIZE_T) x;
53 win->_cury = (NCURSES_SIZE_T) y;
55 win->_flags &= ~_WRAPPED;
56 win->_flags |= _HASMOVED;
H A Dlib_scrreg.c46 wsetscrreg(WINDOW *win, int top, int bottom) argument
48 T((T_CALLED("wsetscrreg(%p,%d,%d)"), win, top, bottom));
50 if (win &&
51 top >= 0 && top <= win->_maxy &&
52 bottom >= 0 && bottom <= win->_maxy &&
54 win->_regtop = (NCURSES_SIZE_T) top;
55 win->_regbottom = (NCURSES_SIZE_T) bottom;
H A Dlib_wattroff.c48 wattr_off(WINDOW *win, attr_t at, void *opts GCC_UNUSED) argument
50 T((T_CALLED("wattr_off(%p,%s)"), win, _traceattr(at)));
51 if (win) {
53 _traceattr(WINDOW_ATTRS(win)),
54 GET_WINDOW_PAIR(win)));
58 win->_color = 0;
60 toggle_attr_off(WINDOW_ATTRS(win), at);
H A Dlib_wattron.c48 wattr_on(WINDOW *win, attr_t at, void *opts GCC_UNUSED) argument
50 T((T_CALLED("wattr_on(%p,%s)"), win, _traceattr(at)));
51 if (win != 0) {
53 _traceattr(WINDOW_ATTRS(win)),
54 GET_WINDOW_PAIR(win)));
58 win->_color = PAIR_NUMBER(at);
60 toggle_attr_on(WINDOW_ATTRS(win), at);
H A Dlib_window.c45 _nc_synchook(WINDOW *win) argument
48 if (win->_immed)
49 wrefresh(win);
50 if (win->_sync)
51 wsyncup(win);
55 mvderwin(WINDOW *win, int y, int x) argument
61 T((T_CALLED("mvderwin(%p,%d,%d)"), win, y, x));
63 if (win && (orig = win->_parent)) {
64 if (win
82 syncok(WINDOW *win, bool bf) argument
95 wsyncup(WINDOW *win) argument
127 wsyncdown(WINDOW *win) argument
165 wcursyncup(WINDOW *win) argument
178 dupwin(WINDOW *win) argument
[all...]
H A Dlib_scroll.c38 ** The routine wscrl(win, n).
49 _nc_scroll_window(WINDOW *win, argument
58 size_t to_copy = (size_t) (sizeof(NCURSES_CH_T) * (win->_maxx + 1));
61 win, n, (long) top, (long) bottom));
65 || bottom > win->_maxy) {
86 memcpy(win->_line[line].text,
87 win->_line[line + n].text,
89 if_USE_SCROLL_HINTS(win->_line[line].oldindex =
90 win->_line[line + n].oldindex);
92 for (line = top; line < limit && line <= win
136 wscrl(WINDOW *win, int n) argument
[all...]
H A Dlib_delwin.c46 cannot_delete(WINDOW *win) argument
52 if (&(p->win) == win) {
54 } else if ((p->win._flags & _SUBWIN) != 0
55 && p->win._parent == win) {
64 delwin(WINDOW *win) argument
68 T((T_CALLED("delwin(%p)"), win));
71 if (win == 0
72 || cannot_delete(win)) {
[all...]
H A Dlib_bkgd.c49 wbkgrndset(WINDOW *win, const ARG_CH_T ch) argument
51 T((T_CALLED("wbkgdset(%p,%s)"), win, _tracech_t(ch)));
53 if (win) {
54 attr_t off = AttrOf(win->_nc_bkgd);
57 toggle_attr_off(WINDOW_ATTRS(win), off);
58 toggle_attr_on(WINDOW_ATTRS(win), on);
64 if ((pair = GetPair(win->_nc_bkgd)) != 0)
65 SET_WINDOW_PAIR(win, 0);
67 SET_WINDOW_PAIR(win, pair);
72 SetChar(win
101 wbkgdset(WINDOW *win, chtype ch) argument
117 wbkgrnd(WINDOW *win, const ARG_CH_T ch) argument
151 wbkgd(WINDOW *win, chtype ch) argument
[all...]
H A Dlib_addch.c57 render_char(WINDOW *win, NCURSES_CH_T ch) argument
60 attr_t a = WINDOW_ATTRS(win);
67 ch = win->_nc_bkgd;
68 SetAttr(ch, a | AttrOf(win->_nc_bkgd));
69 if ((pair = GET_WINDOW_PAIR(win)) == 0)
70 pair = GetPair(win->_nc_bkgd);
74 a |= AttrOf(win->_nc_bkgd) & COLOR_MASK(a);
77 if ((pair = GET_WINDOW_PAIR(win)) == 0)
78 pair = GetPair(win->_nc_bkgd);
92 _tracech_t2(1, CHREF(win
126 newline_forces_scroll(WINDOW *win, NCURSES_SIZE_T * ypos) argument
149 wrap_to_next_line(WINDOW *win) argument
169 fill_cells(WINDOW *win, int count) argument
190 _nc_build_wch(WINDOW *win, ARG_CH_T ch) argument
243 waddch_literal(WINDOW *win, NCURSES_CH_T ch) argument
392 waddch_nosync(WINDOW *win, const NCURSES_CH_T ch) argument
496 _nc_waddch_nosync(WINDOW *win, const NCURSES_CH_T c) argument
511 waddch(WINDOW *win, const chtype ch) argument
530 wechochar(WINDOW *win, const chtype ch) argument
[all...]
H A Dlib_colorset.c47 wcolor_set(WINDOW *win, short color_pair_number, void *opts) argument
49 T((T_CALLED("wcolor_set(%p,%d)"), win, color_pair_number));
50 if (win
54 TR(TRACE_ATTRS, ("... current %ld", (long) GET_WINDOW_PAIR(win)));
55 SET_WINDOW_PAIR(win, color_pair_number);
56 if_EXT_COLORS(win->_color = color_pair_number);
/macosx-10.9.5/remote_cmds-41.90.1/talk.tproj/
H A Ddisplay.c75 display(win, text, size)
76 xwin_t *win;
85 waddch(win->x_win, '\n');
86 getyx(win->x_win, win->x_line, win->x_col);
90 if (*text == 004 && win == &my_win) {
103 if ( *text == win->cerase
107 wmove(win->x_win, win
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/curses/
H A Dhello.rb8 win = Window.new(5, width,
10 win.box(?|, ?-)
11 win.setpos(2, 3)
12 win.addstr(message)
13 win.refresh
14 win.getch
15 win.close
/macosx-10.9.5/tcl-102/tcl_ext/tklib/tklib/modules/ctext/
H A Dctext_test_c.tcl8 proc highlight:addClasses {win} {
9 ctext::addHighlightClassForSpecialChars $win brackets green {[]}
10 ctext::addHighlightClassForSpecialChars $win braces lawngreen {{}}
11 ctext::addHighlightClassForSpecialChars $win parentheses palegreen {()}
12 ctext::addHighlightClassForSpecialChars $win quotes "#c65e3c" {"'}
14 ctext::addHighlightClass $win control red [list namespace while for if else do switch case]
16 ctext::addHighlightClass $win types purple [list \
19 ctext::addHighlightClass $win macros mediumslateblue [list \
22 ctext::addHighlightClassForSpecialChars $win math cyan {+=*-/&^%!|<>}
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tk/
H A Dwinfo.rb15 def TkWinfo.atom(name, win=nil)
16 if win
17 number(tk_call_without_enc('winfo', 'atom', '-displayof', win,
27 def TkWinfo.atomname(id, win=nil)
28 if win
30 '-displayof', win, id))
39 def TkWinfo.cells(win)
40 number(tk_call_without_enc('winfo', 'cells', win))
46 def TkWinfo.children(win)
47 list(tk_call_without_enc('winfo', 'children', win))
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/
H A Dtktree.tcl25 proc ::tktree::switchlayer {win opn {layer /}} {
27 foreach child $cfg($win,$layer:subgroups) {
28 set cfg($win,$child:open) $opn
29 switchlayer $win $opn $child
31 buildwhenidle $win
35 proc ::tktree::switchstate {win item} {
36 set ::tktree::cfg($win,$item:open) [expr ! $::tktree::cfg($win,$item:open)]
37 buildwhenidle $win
41 proc ::tktree::updown {win dow
[all...]
/macosx-10.9.5/ruby-104/ruby/ext/tk/lib/tkextlib/blt/
H A Dbusy.rb20 def self.shield_path(win)
21 win = window(win) unless win.kind_of?(TkWindow)
22 if win.kind_of?(Tk::Toplevel)
23 win.path + '._Busy'
25 win.path + '_Busy'
29 def initialize(win)
30 @path = self.class.shield_path(win)
34 def self.shield_path(win)
[all...]
H A Dunix_dnd.rb36 def cget_tkstring(win, option)
37 itemcget_tkstring(['cget', win], option)
39 def cget(win, option)
40 itemcget(['cget', win], option)
42 def cget_strict(win, option)
43 itemcget_strict(['cget', win], option)
45 def configure(win, slot, value=None)
46 itemconfigure(['configure', win], slot, value)
48 def configinfo(win, slot=nil)
49 itemconfiginfo(['configure', win], slo
[all...]

Completed in 138 milliseconds

1234567891011>>