Searched refs:cursor (Results 26 - 50 of 100) sorted by relevance

1234

/haiku/src/add-ons/accelerants/matrox/
H A DInitAccelerant.c150 Put the cursor at the start of the frame buffer. The typical 64x64 4 color
153 /* Initialize the rest of the cursor information while we're here */
154 si->cursor.width = 16;
155 si->cursor.height = 16;
156 si->cursor.hot_x = 0;
157 si->cursor.hot_y = 0;
158 si->cursor.x = 0;
159 si->cursor.y = 0;
162 Put the frame buffer immediately following the cursor data. We store this
191 /* initialise various cursor stuf
[all...]
/haiku/src/apps/haikudepot/textview/
H A DTextSpan.cpp90 TextSpan::SetCursor(const BCursor& cursor) argument
92 fCursor = cursor;
H A DTextSpan.h43 void SetCursor(const BCursor& cursor);
/haiku/src/servers/app/
H A DServerCursor.h33 ServerCursor(const ServerCursor* cursor);
37 //! Returns the cursor's hot spot
H A DServerApp.cpp273 This changes an internal flag and also sets the current cursor to the one
290 // Set the cursor to the application cursor, if any
299 ServerApp::SetCurrentCursor(ServerCursor* cursor) argument
301 fViewCursor.SetTo(cursor, false);
1084 // 2) int32 token ID of the cursor to set
1121 BReference<ServerCursor> cursor(fDesktop->GetCursorManager().FindCursor(
1138 // Set the cursor on the view.
1139 view->SetCursor(cursor);
1141 // The cursor migh
1170 ServerCursor* cursor = NULL; local
1217 ServerCursor* cursor = NULL; local
1265 ServerCursor* cursor local
1289 ServerCursor* cursor local
1329 ServerCursor* cursor = cursorRef.Get(); local
[all...]
/haiku/src/kits/interface/
H A DMenuWindow.cpp395 BMenuWindow::CheckForScrolling(const BPoint &cursor) argument
400 return _Scroll(cursor);
432 const BPoint cursor = ConvertFromScreen(where); local
437 if (fLowerScroller->IsEnabled() && lowerFrame.Contains(cursor))
439 else if (fUpperScroller->IsEnabled() && upperFrame.Contains(cursor))
H A DSplitView.cpp291 BCursor cursor(B_CURSOR_ID_SYSTEM_DEFAULT);
297 cursor = BCursor(B_CURSOR_ID_RESIZE_NORTH_SOUTH);
299 cursor = BCursor(B_CURSOR_ID_RESIZE_EAST_WEST);
310 SetViewCursor(&cursor, true);
/haiku/src/add-ons/accelerants/radeon/
H A DSetDisplayMode.c389 // free cursor and framebuffer memory
397 if( vc->cursor.mem_handle ) {
398 fm.handle = vc->cursor.mem_handle;
428 // allocate frame buffer and cursor image memory
433 // alloc cursor memory
440 vc->cursor.mem_handle = am.handle;
441 vc->cursor.fb_offset = am.offset;
445 SHOW_ERROR0( 2, "no memory for cursor image!" );
446 vc->cursor.mem_handle = 0;
447 vc->cursor
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorPreview.cpp196 BCursor cursor(kDropperCursor);
197 SetViewCursor(&cursor, true);
/haiku/headers/os/app/
H A DApplication.h70 void SetCursor(const void* cursor);
71 void SetCursor(const BCursor* cursor,
/haiku/src/apps/pulse/
H A DPulseView.cpp103 BPoint cursor; local
106 GetMouse(&cursor, &buttons, true);
H A DDeskbarPulseView.cpp99 BPoint cursor; local
102 GetMouse(&cursor, &buttons, true);
/haiku/src/tests/servers/app/playground/
H A DObjectView.cpp320 BCursor cursor(kGrabCursor);
321 SetViewCursor(&cursor);
359 BCursor cursor(kMoveCursor);
360 SetViewCursor(&cursor);
/haiku/src/libs/glut/
H A DglutWindow.h39 int cursor; // my cursor member in class:GlutWindow
H A DglutEvent.cpp756 __glutSetCursor(cursor);
892 BPoint cursor; local
894 win->GetMouse(&cursor, &buttons);
895 win->statusX = (int)cursor.x;
896 win->statusY = (int)cursor.y;
/haiku/src/servers/app/drawing/interface/local/
H A DAccelerantHWInterface.cpp408 // cursor
1403 // #pragma mark - cursor
1407 AccelerantHWInterface::SetCursor(ServerCursor* cursor) argument
1409 // cursor should never be NULL, but let us be safe!!
1410 if (cursor == NULL || LockExclusiveAccess() == false)
1416 // Bitmap cursor
1418 uint16 xHotSpot = (uint16)cursor->GetHotSpot().x;
1419 uint16 yHotSpot = (uint16)cursor->GetHotSpot().y;
1421 uint16 width = (uint16)cursor->Bounds().Width();
1422 uint16 height = (uint16)cursor
[all...]
/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterWindow.cpp927 BPoint cursor(item_rect.left + offsetWidth,
930 cursor.y -= fSmallTotalHeight + 1;
931 owner->DrawString(name.String(), cursor);
932 cursor.x += owner->StringWidth(name.String()) + fLabelOffset;
944 owner->TruncateString(&versionOrRepo, B_TRUNCATE_END, width - cursor.x);
945 owner->DrawString(versionOrRepo.String(), cursor);
949 cursor.x = item_rect.left + offsetWidth;
950 cursor.y += fSmallTotalHeight;
951 owner->TruncateString(&summary, B_TRUNCATE_END, width - cursor.x);
952 owner->DrawString(summary.String(), cursor);
[all...]
/haiku/src/add-ons/accelerants/via/engine/
H A Dcrtc.c617 /* cursor bitmap will be stored at the start of the framebuffer */
624 /* set cursor bitmap adress */
627 /* clear cursor (via cursor uses 4kb max) */
635 /* activate hardware cursor */
643 LOG(4,("CRTC: enabling cursor\n"));
645 * b0 = 0 disables the cursor, b0 = 1 enables the cursor. */
653 LOG(4,("CRTC: disabling cursor\n"));
659 /*set up cursor shap
663 uint8 *cursor; local
[all...]
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_crtc.c516 /* cursor bitmap will be stored at the start of the framebuffer on >= G100 */
519 /* set cursor bitmap adress ... */
526 /*set cursor colour*/
537 /*clear cursor*/
545 /* <= G100 cards have serial cursor color registers,
546 * and dedicated cursor bitmap RAM (in TVP3026 DAC)
568 /* select first cursor pattern DAC-internal RAM adress, and
569 * make sure indirect cursor control register is selected as active register */
579 /* activate hardware cursor */
606 /*set up cursor shap
613 vuint8 * cursor; local
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/
H A DSwatchView.cpp171 BCursor cursor(kDropperCursor);
172 SetViewCursor(&cursor, true);
/haiku/src/apps/terminal/
H A DTerminalBuffer.cpp348 TermPos cursor = fCursor; local
359 fCursor = cursor;
/haiku/src/add-ons/accelerants/neomagic/engine/
H A Dnm_crtc.c920 /* the cursor is at the end of cardRAM */
923 /* set cursor bitmap adress on a 1kb boundary, and move the bits around
935 /*set cursor colour*/
957 /* clear cursor: so we need full RAM access! */
964 /* activate hardware cursor */
997 /* disable cursor */
1003 /*set up cursor shape*/
1007 vuint8 * cursor; local
1009 /* get a pointer to the cursor: it's at the end of cardRAM */
1010 cursor
[all...]
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteMessage.cpp157 RemoteMessage::AddCursor(const ServerCursor& cursor) argument
159 Add(cursor.GetHotSpot());
160 AddBitmap(cursor);
/haiku/headers/private/graphics/matrox/
H A DDriverInterface.h141 /*cursor information*/
143 uint16 hot_x; /* Cursor hot spot. The top left corner of the cursor */
145 uint16 x; /* The location of the cursor hot spot on the */
147 uint16 width; /* Width and height of the cursor shape (always 16!) */
149 bool is_visible; /* Is the cursor currently displayed? */
150 } cursor; member in struct:__anon785
/haiku/headers/private/graphics/neomagic/
H A DDriverInterface.h138 /*cursor information*/
140 uint16 hot_x; /* Cursor hot spot. The top left corner of the cursor */
142 uint16 x; /* The location of the cursor hot spot on the */
144 uint16 width; /* Width and height of the cursor shape (always 16!) */
146 bool is_visible; /* Is the cursor currently displayed? */
147 } cursor; member in struct:__anon799

Completed in 217 milliseconds

1234