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

123456

/haiku-fatelf/src/libs/glut/
H A DglutCursor.cpp48 * DESCRIPTION: set a new mouse cursor for current window
50 void glutSetCursor(int cursor) { argument
52 gState.currentWindow->cursor = cursor;
53 __glutSetCursor(cursor);
60 * DESCRIPTION: the actual cursor changing routine
62 void __glutSetCursor(int cursor) { argument
63 int realcursor = cursor;
64 if (cursor < 0 || cursor > GLUT_CURSOR_BOTTOM_LEFT_CORNE
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dhash.c183 struct hash_entry const *cursor = bucket; local
186 while (cursor = cursor->next, cursor)
211 struct hash_entry const *cursor = bucket; local
218 while (cursor = cursor->next, cursor)
254 struct hash_entry const *cursor; local
262 for (cursor
304 struct hash_entry const *cursor; local
333 struct hash_entry const *cursor; local
365 struct hash_entry const *cursor; local
653 struct hash_entry *cursor; local
691 struct hash_entry *cursor; local
787 struct hash_entry *cursor; local
859 struct hash_entry *cursor; local
1150 struct hash_entry *cursor = table->free_entry_list; local
1179 struct hash_entry *cursor; local
[all...]
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dhash.c180 struct hash_entry const *cursor = bucket; local
183 while (cursor = cursor->next, cursor)
208 struct hash_entry const *cursor = bucket; local
215 while (cursor = cursor->next, cursor)
251 struct hash_entry const *cursor; local
259 for (cursor
299 struct hash_entry const *cursor; local
328 struct hash_entry const *cursor; local
360 struct hash_entry const *cursor; local
612 struct hash_entry *cursor; local
650 struct hash_entry *cursor; local
748 struct hash_entry *cursor; local
822 struct hash_entry *cursor; local
1034 struct hash_entry *cursor; local
[all...]
/haiku-fatelf/src/libs/edit/
H A Demacs.c45 * Delete character under cursor or list completions if at end of line
53 if (el->el_line.cursor == el->el_line.lastchar) {
55 if (el->el_line.cursor == el->el_line.buffer) {
73 if (el->el_line.cursor > el->el_line.lastchar)
74 el->el_line.cursor = el->el_line.lastchar;
82 * Cut from cursor to end of current word
91 if (el->el_line.cursor == el->el_line.lastchar)
94 cp = c__next_word(el->el_line.cursor, el->el_line.lastchar,
97 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++)
102 c_delafter(el, cp - el->el_line.cursor); /* delet
[all...]
H A Dcommon.c83 || el->el_line.cursor >= el->el_line.lastchar)
86 *el->el_line.cursor++ = c;
92 while (count-- && el->el_line.cursor < el->el_line.lastchar)
93 *el->el_line.cursor++ = c;
105 * Delete from beginning of current word to cursor
114 if (el->el_line.cursor == el->el_line.buffer)
117 cp = c__prev_word(el->el_line.cursor, el->el_line.buffer,
120 for (p = cp, kp = el->el_chared.c_kill.buf; p < el->el_line.cursor; p++)
124 c_delbefore(el, el->el_line.cursor - cp); /* delete before dot */
125 el->el_line.cursor
[all...]
H A Dvi.c71 el->el_line.cursor = el->el_line.buffer;
78 el->el_chared.c_vcmd.pos = el->el_line.cursor;
84 * Paste previous deletion before or after the cursor
100 if (!c && el->el_line.cursor < el->el_line.lastchar)
101 el->el_line.cursor++;
104 if (el->el_line.cursor + len > el->el_line.lastchar)
106 (void) memcpy(el->el_line.cursor, k->buf, len +0u);
113 * Vi paste previous deletion to the right of the cursor
126 * Vi paste previous deletion to the left of the cursor
147 if (el->el_line.cursor
[all...]
H A Dchared.c67 vu->cursor = el->el_line.cursor - el->el_line.buffer;
104 if (el->el_line.cursor < el->el_line.lastchar) {
106 for (cp = el->el_line.lastchar; cp >= el->el_line.cursor; cp--)
114 * Delete num characters after the cursor
120 if (el->el_line.cursor + num > el->el_line.lastchar)
121 num = el->el_line.lastchar - el->el_line.cursor;
125 cv_yank(el, el->el_line.cursor, num);
131 for (cp = el->el_line.cursor; cp <= el->el_line.lastchar; cp++)
140 * Delete the character after the cursor, d
[all...]
H A Dhistory.c119 hentry_t *cursor; /* Current element in the list */ member in struct:history_t
202 h->cursor = h->list.next;
203 if (h->cursor != &h->list)
204 *ev = h->cursor->ev;
222 h->cursor = h->list.prev;
223 if (h->cursor != &h->list)
224 *ev = h->cursor->ev;
242 if (h->cursor == &h->list) {
247 if (h->cursor->next == &h->list) {
252 h->cursor
[all...]
/haiku-fatelf/src/servers/app/
H A DCursorManager.cpp10 /*! Handles the system's cursor infrastructure */
111 ServerCursor* cursor = _FindCursor(clientTeam, cursorData);
113 if (!cursor) {
114 cursor = new (std::nothrow) ServerCursor(cursorData);
115 if (cursor) {
116 cursor->SetOwningTeam(clientTeam);
117 if (AddCursor(cursor) < B_OK) {
118 delete cursor;
119 cursor = NULL;
123 cursor
136 AddCursor(ServerCursor* cursor, int32 token) argument
168 RemoveCursor(ServerCursor* cursor) argument
197 ServerCursor* cursor = (ServerCursor*)fCursorList.ItemAtFast(index); local
379 ServerCursor* cursor; local
398 ServerCursor* cursor = (ServerCursor*)fCursorList.ItemAtFast(i); local
410 _RemoveCursor(ServerCursor* cursor) argument
[all...]
H A DCursorSet.h22 \brief Class to manage system cursor sets
30 status_t AddCursor(BCursorID which,const BBitmap *cursor, const BPoint &hotspot);
33 status_t FindCursor(BCursorID which, BBitmap **cursor, BPoint *hotspot);
34 status_t FindCursor(BCursorID which, ServerCursor **cursor) const;
H A DServerCursor.cpp35 \param r Size of the cursor
36 \param cspace Color space of the cursor
38 \param hotspot Hotspot of the cursor
39 \param bytesperline Bytes per row for the cursor. See
58 \param data Pointer to 68-byte cursor data array. See BeBook entry for
73 // Now that we have all the setup, we're going to map (for now) the cursor
87 // for each row in the cursor data
97 // for each column in each row of cursor data
109 // remember cursor data for later
143 \param cursor curso
145 ServerCursor(const ServerCursor* cursor) argument
[all...]
H A DCursorSet.cpp26 \name Name of the cursor set.
36 \brief Saves the data in the cursor set to a file
60 \brief Loads the data into the cursor set from a file
83 \brief Adds the cursor to the set and replaces any existing entry for the given specifier
84 \param which System cursor specifier defined in CursorSet.h
85 \param cursor BBitmap to represent the new cursor. Size should be 48x48 or less.
86 \param hotspot The recipient of the hotspot for the cursor
89 - \c B_BAD_VALUE: cursor is NULL
93 CursorSet::AddCursor(BCursorID which, const BBitmap *cursor, argument
249 ServerCursor *cursor = new(std::nothrow) ServerCursor( local
[all...]
/haiku-fatelf/src/bin/coreutils/src/
H A Dptx.c176 #define SKIP_NON_WHITE(cursor, limit) \
177 while (cursor < limit && ! isspace (to_uchar (*cursor))) \
178 cursor++
180 #define SKIP_WHITE(cursor, limit) \
181 while (cursor < limit && isspace (to_uchar (*cursor))) \
182 cursor++
184 #define SKIP_WHITE_BACKWARDS(cursor, start) \
185 while (cursor > star
299 char *cursor; /* cursor in result */ local
717 char *cursor; /* cursor in file copy */ local
757 char *cursor; /* cursor in file copy */ local
816 char *cursor; /* for scanning the source text */ local
1104 char *cursor; /* Cursor in field to print */ local
1271 const char *cursor; /* cursor in some constant strings */ local
1421 char *cursor; /* running cursor in source text */ local
1682 char *cursor; /* running cursor in source text */ local
[all...]
/haiku-fatelf/src/add-ons/accelerants/nvidia/
H A DCursor.c33 /* Update cursor variables appropriately. */
34 si->cursor.width = width;
35 si->cursor.height = height;
36 si->cursor.hot_x = hot_x;
37 si->cursor.hot_y = hot_y;
43 /* Move the cursor to the specified position on the desktop, taking account of virtual/dual issues */
50 /* clamp cursor to display */
55 si->cursor.x = x;
56 si->cursor.y = y;
62 /* adjust h/v_display_start to move cursor ont
[all...]
/haiku-fatelf/src/add-ons/accelerants/nvidia_gpgpu/
H A DCursor.c33 /* Update cursor variables appropriately. */
34 si->cursor.width = width;
35 si->cursor.height = height;
36 si->cursor.hot_x = hot_x;
37 si->cursor.hot_y = hot_y;
43 /* Move the cursor to the specified position on the desktop, taking account of virtual/dual issues */
50 /* clamp cursor to display */
55 si->cursor.x = x;
56 si->cursor.y = y;
62 /* adjust h/v_display_start to move cursor ont
[all...]
/haiku-fatelf/src/add-ons/accelerants/skeleton/
H A DCursor.c33 /* Update cursor variables appropriately. */
34 si->cursor.width = width;
35 si->cursor.height = height;
36 si->cursor.hot_x = hot_x;
37 si->cursor.hot_y = hot_y;
43 /* Move the cursor to the specified position on the desktop, taking account of virtual/dual issues */
50 /* clamp cursor to display */
55 si->cursor.x = x;
56 si->cursor.y = y;
62 /* adjust h/v_display_start to move cursor ont
[all...]
/haiku-fatelf/src/add-ons/accelerants/via/
H A DCursor.c33 /* Update cursor variables appropriately. */
34 si->cursor.width = width;
35 si->cursor.height = height;
36 si->cursor.hot_x = hot_x;
37 si->cursor.hot_y = hot_y;
43 /* Move the cursor to the specified position on the desktop, taking account of virtual/dual issues */
50 /* clamp cursor to display */
55 si->cursor.x = x;
56 si->cursor.y = y;
94 /* adjust h/v_display_start to move cursor ont
[all...]
/haiku-fatelf/src/add-ons/accelerants/neomagic/
H A DCursor.c30 /* Update cursor variables appropriately. */
31 si->cursor.width = width;
32 si->cursor.height = height;
33 si->cursor.hot_x = hot_x;
34 si->cursor.hot_y = hot_y;
40 /* Move the cursor to the specified position on the desktop, taking account of virtual/dual issues */
49 /* clamp cursor to display */
54 si->cursor.x = x;
55 si->cursor.y = y;
68 /* adjust h/v_display_start to move cursor ont
[all...]
/haiku-fatelf/src/bin/gdb/gdb/
H A Dsh3-rom.c257 char *cursor = serial_port_name = xstrdup (args); local
259 while (*cursor && *cursor != ' ')
260 cursor++;
262 if (*cursor)
263 *cursor++ = 0;
265 while (*cursor == ' ')
266 cursor++;
268 if (*cursor)
269 parallel_port_name = cursor;
304 char *cursor = serial_port_name = xstrdup (args); local
[all...]
H A Dlibunwind-frame.c65 unw_cursor_t cursor; member in struct:libunwind_frame_cache
143 /* Get a libunwind cursor to the previous frame. We do this by initializing
144 a cursor. Libunwind treats a new cursor as the top of stack and will get
149 move the libunwind cursor back one frame. We can later use this cursor to find previous
158 unw_init_remote_p (&cache->cursor, as, next_frame);
159 unw_step_p (&cache->cursor);
163 ret = unw_get_reg_p (&cache->cursor, uw_sp_regnum, &fp);
191 unw_cursor_t cursor; local
[all...]
/haiku-fatelf/src/add-ons/media/plugins/matroska/libmatroska/
H A DKaxBlock.cpp309 binary *cursor = Data;
312 *cursor++ = TrackNumber | 0x80; // set the first bit to 1
314 *cursor++ = (TrackNumber >> 8) | 0x40; // set the second bit to 1
315 *cursor++ = TrackNumber & 0xFF;
321 b16.Fill(cursor);
322 cursor += 2;
324 *cursor++ = 0; // flags
340 binary BlockHead[5], *cursor = BlockHead;
356 *cursor++ = TrackNumber | 0x80; // set the first bit to 1
358 *cursor
[all...]
/haiku-fatelf/src/preferences/appearance/
H A DSysCursorAPI.h8 void set_syscursor(cursor_which which, const BCursor *cursor);
/haiku-fatelf/src/add-ons/accelerants/matrox/
H A DCursor.c13 No hardware cursor possible on the secondary head :(
15 CRTC1 has a cursor, can be displayed on DAC or MAVEN
16 CRTC2 has no cursor
19 app_server does not support some modes with and some without cursor
40 /* Update cursor variables appropriately. */
41 si->cursor.width = width;
42 si->cursor.height = height;
43 si->cursor.hot_x = hot_x;
44 si->cursor.hot_y = hot_y;
50 /* Move the cursor t
[all...]
/haiku-fatelf/headers/private/interface/
H A DMenuWindow.h41 bool CheckForScrolling(const BPoint& cursor);
45 bool _Scroll(const BPoint& cursor);
/haiku-fatelf/src/add-ons/accelerants/radeon/
H A DCursor.c7 Hardware cursor support.
33 // public function to set shape of cursor
38 uint8 *fb_cursor = vc->cursor.data;
41 /* NOTE: Currently, for BeOS, cursor width and height must be equal to 16. */
50 vc->cursor.hot_x = hot_x;
51 vc->cursor.hot_y = hot_y;
69 // public function to move cursor
84 // clamp cursor (negative positions are impossible due to uint16)
126 // public function to show cursor
136 vc->cursor
[all...]

Completed in 144 milliseconds

123456