/ast/src/lib/libtk/generic/ |
H A D | tkConfig.c | 827 Tk_Cursor cursor = *((Tk_Cursor *) ptr); 828 if (cursor != None) { 829 result = Tk_NameOfCursor(Tk_Display(tkwin), cursor); 821 Tk_Cursor cursor = *((Tk_Cursor *) ptr); local
|
H A D | tkCursor.c | 20 * A TkCursor structure exists for each cursor that is currently 27 * Hash table to map from a textual description of a cursor to the 28 * TkCursor record for the cursor, and key structure used in that 34 Tk_Uid name; /* Textual name for desired cursor. */ 35 Display *display; /* Display for which cursor will be used. */ 40 * cursor (bitmap contents, etc.) to a TkCursor structure: 47 int width, height; /* Dimensions of cursor (and data 49 int xHot, yHot; /* Location of cursor hot-spot. */ 50 Tk_Uid fg, bg; /* Colors for cursor. */ 51 Display *display; /* Display on which cursor wil 62 Tk_Cursor cursor; /* Cursor identifier. */ member in struct:__anon395 [all...] |
H A D | tkFrame.c | 70 Tk_Cursor cursor; /* Current cursor for window, or None. */ member in struct:__anon399 120 {TK_CONFIG_ACTIVE_CURSOR, "-cursor", "cursor", "Cursor", 121 DEF_FRAME_CURSOR, Tk_Offset(Frame, cursor), BOTH|TK_CONFIG_NULL_OK}, 378 framePtr->cursor = None;
|
H A D | tkMessage.c | 84 Tk_Cursor cursor; /* Current cursor for window, or None. */ member in struct:__anon411 126 {TK_CONFIG_ACTIVE_CURSOR, "-cursor", "cursor", "Cursor", 127 DEF_MESSAGE_CURSOR, Tk_Offset(Message, cursor), TK_CONFIG_NULL_OK}, 253 msgPtr->cursor = None;
|
H A D | tkCanvas.h | 79 * Information used to manage the selection and insertion cursor: 85 int insertOnTime; /* Number of milliseconds cursor should spend 87 int insertOffTime; /* Number of milliseconds cursor should spend 90 /* Timer handler used to blink cursor on and 196 Tk_Cursor cursor; /* Current cursor for window, or None. */ member in struct:TkCanvas 224 * widget, so should draw the insertion cursor 226 * CURSOR_ON - 1 means the insertion cursor is in the "on" 228 * we don't have the focus or the cursor is in
|
H A D | tkMenubutton.c | 138 Tk_Cursor cursor; /* Current cursor for window, or None. */ member in struct:__anon410 206 {TK_CONFIG_ACTIVE_CURSOR, "-cursor", "cursor", "Cursor", 207 DEF_MENUBUTTON_CURSOR, Tk_Offset(MenuButton, cursor), 388 mbPtr->cursor = None;
|
H A D | tkScrollbar.c | 130 Tk_Cursor cursor; /* Current cursor for window, or None. */ member in struct:__anon416 203 {TK_CONFIG_ACTIVE_CURSOR, "-cursor", "cursor", "Cursor", 204 DEF_SCROLLBAR_CURSOR, Tk_Offset(Scrollbar, cursor), TK_CONFIG_NULL_OK}, 348 scrollPtr->cursor = None;
|
H A D | tkButton.c | 160 Tk_Cursor cursor; /* Current cursor for window, or None. */ member in struct:__anon390 261 {TK_CONFIG_ACTIVE_CURSOR, "-cursor", "cursor", "Cursor", 262 DEF_BUTTON_CURSOR, Tk_Offset(Button, cursor), 580 butPtr->cursor = None;
|
H A D | tkEntry.c | 62 * cursor. */ 63 int insertWidth; /* Total width of insert cursor. */ 64 int insertBorderWidth; /* Width of 3-D border around insert cursor. */ 65 int insertOnTime; /* Number of milliseconds cursor should spend 67 int insertOffTime; /* Number of milliseconds cursor should spend 70 /* Timer handler used to blink cursor on and 129 Tk_Cursor cursor; /* Current cursor for window, or None. */ member in struct:__anon396 149 * CURSOR_ON: Non-zero means insert cursor is displayed at 188 {TK_CONFIG_ACTIVE_CURSOR, "-cursor", "curso [all...] |
H A D | tkInt.h | 40 * One of the following structures is maintained for each cursor in 42 * various system specific cursor files. 46 Tk_Cursor cursor; /* System specific identifier for cursor. */ member in struct:TkCursor 47 int refCount; /* Number of active uses of cursor. */
|
H A D | tkListbox.c | 159 Tk_Cursor cursor; /* Current cursor for window, or None. */ member in struct:__anon409 209 {TK_CONFIG_ACTIVE_CURSOR, "-cursor", "cursor", "Cursor", 210 DEF_LISTBOX_CURSOR, Tk_Offset(Listbox, cursor), TK_CONFIG_NULL_OK}, 400 listPtr->cursor = None;
|
H A D | tkMenu.c | 312 Tk_Cursor cursor; /* Current cursor for window, or None. */ member in struct:Menu 367 {TK_CONFIG_ACTIVE_CURSOR, "-cursor", "cursor", "Cursor", 368 DEF_MENU_CURSOR, Tk_Offset(Menu, cursor), TK_CONFIG_NULL_OK}, 540 menuPtr->cursor = None;
|
H A D | tkScale.c | 143 Tk_Cursor cursor; /* Current cursor for window, or None. */ member in struct:__anon415 236 {TK_CONFIG_ACTIVE_CURSOR, "-cursor", "cursor", "Cursor", 237 DEF_SCALE_CURSOR, Tk_Offset(Scale, cursor), TK_CONFIG_NULL_OK}, 442 scalePtr->cursor = None;
|
H A D | tkText.h | 459 Tk_Cursor cursor; /* Current cursor for window, or None. */ member in struct:TkText 524 * Information related to insertion cursor: 530 * cursor. */ 531 int insertWidth; /* Total width of insert cursor. */ 532 int insertBorderWidth; /* Width of 3-D border around insert cursor. */ 533 int insertOnTime; /* Number of milliseconds cursor should spend 535 int insertOffTime; /* Number of milliseconds cursor should spend 538 /* Timer handler used to blink cursor on and 583 * INSERT_ON: Non-zero means insertion cursor shoul [all...] |
/ast/src/lib/libtk/unix/ |
H A D | tkUnixCursor.c | 4 * This file contains X specific cursor manipulation routines. 18 * defined in tkCursor.c. Each system specific cursor module will define 19 * a different cursor structure. All of these structures must have the 26 TkCursor info; /* Generic cursor info used by tkCursor.c */ 27 Display *display; /* Display for which cursor is valid. */ 31 * The table below is used to map from the name of a cursor to its 32 * index in the official cursor font: 124 #define CURSORFONT "cursor" 134 * Retrieve a cursor by name. Parse the cursor nam 154 Cursor cursor = None; local 346 Cursor cursor; local [all...] |
/ast/src/cmd/ie/ |
H A D | emacs.c | 151 static genchar *cursor; /* Cursor in real screen */ variable 162 APPEND, /* Append char before cursor to screen */ 1184 /* Adjust screen to agree with inputs: logical line and cursor */ 1205 genchar *ncursor; /* New cursor */ 1220 cursor = screen; 1228 *cursor = '\0'; 1245 If in append mode, cursor at end of line, screen up to date, 1255 print(i)&&((cursor-screen)<(w_size-1))) 1258 *cursor++ = i; 1259 *cursor [all...] |
H A D | vi.c | 115 #define cur_phys editb.e_pcur /* current phys column cursor is at */ 558 /*** a control char, or cursor might not ***/ 723 * The cursor will always be positioned at the char of interest. 753 /*** make sure cursor is at the last char ***/ 780 /*** see if it's a move cursor command ***/ 1020 * This routine will position the virtual cursor at 1026 cursor(x) function 1051 /*** attempt to optimize cursor movement ***/ 1353 * The cursor will always be positioned after the last 1515 * This routine will move the virtual cursor accordin [all...] |
/ast/src/cmd/builtin/ |
H A D | pty.c | 442 int cursor; /* cursor in buf, 0 if fresh line */ member in struct:Master_s 632 if (bp->cursor) 634 r -= bp->cursor; 635 bp->cursor = 0; 682 bp->cursor = t - r;
|
/ast/src/lib/libast/regex/ |
H A D | regcomp.c | 67 #define eat(p) do{if ((p)->token.push)(p)->token.push=0;else (p)->cursor+=(p)->token.len;}while (0) 119 unsigned char* cursor; /* curent point in re */ member in struct:Cenv_s 657 sp = (char*)env->cursor + env->token.len; 740 env->token.len = sp - (char*)env->cursor; 809 if (env->type == KRE && *(env->cursor + env->token.len) == '-' && *(env->cursor + env->token.len + 1) == '(') 814 if (env->type == KRE && *(env->cursor + env->token.len) == '(') 877 sp = (char*)env->cursor + env->token.len; 901 env->cursor = (unsigned char*)sp; 926 if ((env->token.len = MBSIZE(env->cursor)) > [all...] |
/ast/src/cmd/ksh93/edit/ |
H A D | emacs.c | 105 genchar *cursor; /* Cursor in real screen */ member in struct:_emacs_ 165 APPEND, /* Append char before cursor to screen */ 1340 /* Adjust screen to agree with inputs: logical line and cursor */ 1353 genchar *ncursor; /* New cursor */ 1369 ep->cursor = ep->screen; 1377 *ep->cursor = '\0'; 1394 If in append mode, cursor at end of line, screen up to date, 1423 ed_setcursor(ep->ed,ep->screen,0,ep->cursor-ep->screen, 0); 1432 print(i)&&((ep->cursor-ep->screen)<(w_size-1))) 1435 *ep->cursor [all...] |
H A D | vi.c | 142 #define cur_phys editb.e_pcur /* current phys column cursor is at */ 185 static void cursor(Vi_t*, int); 531 /*** a control char, or cursor might not ***/ 591 cursor(vp, last_phys); 703 * The cursor will always be positioned at the char of interest. 732 /*** make sure cursor is at the last char ***/ 760 /*** see if it's a move cursor command ***/ 1077 * This routine will position the virtual cursor at 1082 static void cursor(Vi_t *vp,register int x) function 1354 * The cursor wil [all...] |