Opened 11 years ago

Closed 9 years ago

#3420 closed enhancement (fixed)

Provide more standard cursors (etc. cross hair, grab, ...)

Reported by: rossi Owned by: stippi
Priority: normal Milestone: R1
Component: Kits/Application Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

It would be nice, if the Application Kit would provide more standard cursors, in order to prevent every app developer to come up with its own variation of cursors (e.g. cross-hair, grab, ...).

This would help to keep consistency and easy of use, as users don't have to learn new cursors for every application.

The cursors defined in the various Haiku applications like Icon-O-Matic could be used as a starting point. of course not all make sense as "standard", but I trust you to know which ones should be common among applications.

Change History (3)

comment:1 by leavengood, 10 years ago

Owner: changed from axeld to leavengood
Status: newassigned

I support this ticket and will take ownership. I'll need more cursors to properly port WebKit. Maybe not all the cursors needed by WebKit should be standard, but a lot could be. Here is a list from WebKit's Cursor.h (http://trac.webkit.org/browser/trunk/WebCore/platform/Cursor.h):

const Cursor& pointerCursor();
const Cursor& crossCursor();
const Cursor& handCursor();
const Cursor& moveCursor();
const Cursor& iBeamCursor();
const Cursor& waitCursor();
const Cursor& helpCursor();
const Cursor& eastResizeCursor();
const Cursor& northResizeCursor();
const Cursor& northEastResizeCursor();
const Cursor& northWestResizeCursor();
const Cursor& southResizeCursor();
const Cursor& southEastResizeCursor();
const Cursor& southWestResizeCursor();
const Cursor& westResizeCursor();
const Cursor& northSouthResizeCursor();
const Cursor& eastWestResizeCursor();
const Cursor& northEastSouthWestResizeCursor();
const Cursor& northWestSouthEastResizeCursor();
const Cursor& columnResizeCursor();
const Cursor& rowResizeCursor();
const Cursor& middlePanningCursor();
const Cursor& eastPanningCursor();
const Cursor& northPanningCursor();
const Cursor& northEastPanningCursor();
const Cursor& northWestPanningCursor();
const Cursor& southPanningCursor();
const Cursor& southEastPanningCursor();
const Cursor& southWestPanningCursor();
const Cursor& westPanningCursor();
const Cursor& verticalTextCursor();
const Cursor& cellCursor();
const Cursor& contextMenuCursor();
const Cursor& noDropCursor();
const Cursor& notAllowedCursor();
const Cursor& progressCursor();
const Cursor& aliasCursor();
const Cursor& zoomInCursor();
const Cursor& zoomOutCursor();
const Cursor& copyCursor();
const Cursor& noneCursor();
const Cursor& grabCursor();
const Cursor& grabbingCursor();

comment:2 by leavengood, 9 years ago

Owner: changed from leavengood to stippi
Status: in-progressassigned

comment:3 by leavengood, 9 years ago

Resolution: fixed
Status: assignedclosed

This ticket has pretty much been addressed by Stephan in hrev35782.

Note: See TracTickets for help on using tickets.