Searched refs:cursor (Results 1 - 25 of 31) sorted by relevance

12

/ast/src/lib/libtk/generic/
H A DtkCursor.c20 * 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 DtkCanvas.h79 * 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 DtkWindow.c81 None /* cursor */
1579 winPtr->atts.cursor = attsPtr->cursor;
1665 Tk_DefineCursor(tkwin, cursor)
1667 Tk_Cursor cursor; /* Cursor to use for window (may be None). */
1672 winPtr->atts.cursor = (XCursor) cursor;
1674 winPtr->atts.cursor = (Cursor) cursor;
1678 XDefineCursor(winPtr->display, winPtr->window, winPtr->atts.cursor);
[all...]
H A DtkConfig.c827 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 DtkFrame.c70 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 DtkMessage.c84 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 DtkMenubutton.c138 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 DtkScrollbar.c130 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 DtkText.h459 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...]
H A Dtk.h676 Tk_ItemCursorProc *icursorProc; /* Procedure to set insert cursor pos.
691 * the insertion cursor. It is needed by only a few items, such as
718 * cursor. Read-only to items. */
719 int insertWidth; /* Total width of insertion cursor. Read-only
721 int insertBorderWidth; /* Width of 3-D border around insert cursor.
728 int cursorOn; /* Non-zero means that an insertion cursor
1071 Tk_Cursor cursor));
1118 Tk_Cursor cursor));
1237 Tk_Cursor cursor));
H A DtkButton.c160 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 DtkEntry.c62 * 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...]
/ast/src/lib/libtk/unix/
H A DtkUnixCursor.c4 * 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/lib/libast/regex/
H A Dregcomp.c67 #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/lib/libtk/library/demos/
H A Dtext.tcl36 3. Insert text. Press mouse button 1 to set the insertion cursor, then
42 selection nearest the mouse cursor and you can drag that end of the
53 click button 2 to copy the selection to the point of the mouse cursor.
57 character to the left of the insertion cursor. Delete and Control-d
58 erase the character to the right of the insertion cursor. Meta-backspace
59 deletes the word to the left of the insertion cursor, and Meta-d deletes
60 the word to the right of the insertion cursor. Control-k deletes from
61 the insertion cursor to the end of the line, or it deletes the newline
64 cursor. Control-t transposes the two characters on either side of the
65 insertion cursor
[all...]
H A Dtwind.tcl34 -cursor top_left_arrow
36 -cursor top_left_arrow
38 -cursor top_left_arrow
40 -cursor top_left_arrow
78 -cursor top_left_arrow
84 -offvalue "Short" -cursor top_left_arrow -pady 5 -padx 2
91 button $t.color$i -text $color -cursor top_left_arrow -command \
117 canvas $c -relief sunken -width 450 -height 300 -cursor top_left_arrow
H A Dwidget62 # so that the descriptions are highlighted only when the mouse cursor
63 # is right over them (but not when the cursor is to their left or right)
88 .t config -cursor hand2
93 .t config -cursor xterm
279 set cursor [.t cget -cursor]
280 .t configure -cursor watch
285 .t configure -cursor $cursor
293 # is called when the user moves the cursor ove
[all...]
H A Drolodex180 set helpTopics(help) {This application provides only very crude help. Besides the entries in this menu, you can get help on individual windows by moving the mouse cursor over the window and pressing the Help or F1 keys.}
/ast/src/lib/libtk/library/
H A Dmenu.tcl19 # cursor - Saves the -cursor option for the posted menubutton.
208 # x, y - Root coordinates of cursor, used for positioning
228 set tkPriv(cursor) [$w cget -cursor]
230 $w configure -cursor arrow
298 $mb configure -cursor $tkPriv(cursor)
H A Dtkfbox.tcl940 # Turn on the busy cursor. BUG?? We haven't disabled X events, though,
943 set entCursor [$data(ent) cget -cursor]
944 set dlgCursor [$w cget -cursor]
945 $data(ent) config -cursor watch
946 $w config -cursor watch
1008 # turn off the busy cursor.
1010 $data(ent) config -cursor $entCursor
1011 $w config -cursor $dlgCursor
/ast/src/cmd/ie/
H A Demacs.c151 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 Dvi.c115 #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/ksh93/edit/
H A Demacs.c105 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 Dvi.c142 #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...]
/ast/src/cmd/builtin/
H A Dpty.c442 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;

Completed in 71 milliseconds

12