Opened 5 months ago
Setting cursors with custom size
|Reported by:||pulkomandy||Owned by:||nobody|
|Has a Patch:||no||Platform:||All|
We need cursors larger than 16x16 px.
I suggest adding a new constructor to BCursor, taking a BBitmap as a parameter.
Note that when hardware cursor is used, on some devices we could be restricted to 1bpp and no alpha or transparency, so we have to handle this special case:
- Either restrict to a single pixel format (B_GRAY1)
- Or attempt ourselves to convert the cursor to something the hardware can handle
- Or add an InitCheck and let the app figure out an acceptable format
- Or automatically switch to software cursor when the driver tells us it can't handle what we need