FLTK logo

STR #2923

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]

STR #2923

Application:FLTK Library
Status:2 - Closed w/o Resolution
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:New Cursors for fltk-1.3
Version:1.3-feature
Created By:szukw000
Assigned To:AlbrechtS
Fix Version:Will Not Fix
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 szukw000
10:52 Jan 22, 2013
fltk-1.3.x-r9799.dif.gz
3k
 
 
#2 AlbrechtS
13:06 Jan 16, 2023
all_cursors.png
4k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 szukw000
10:52 Jan 22, 2013
New Cursors for fltk-1.3

fltk-1.3.x-r9799:
=================
Changes have been done in:

FL/Enumerations.H
src/fl_cursor.cxx
test/cursor.cxx


For WIN32 I have created '.cur' files and placed them
in 'C:\cursor\'.

The '.cur' files can be found in 'win32_cursor.tar.bz2'.
This archive can be found in a separate mail.

winfried
 
 
#2 AlbrechtS
12:49 Jan 16, 2023
Consolidating STR 2923 and STR 2924. The announced cursor files have been posted to STR 2924 which is obsolete.

Link to cursor files: https://www.fltk.org/strfiles/2924/win32_cursor.tar.bz2

I'm closing STR 2924 now and I'm evaluating the patch and the provided cursors.
 
 
#3 AlbrechtS
13:06 Jan 16, 2023
Changed scope: Applies to all machines and OS's.
------------------------------------------------

Although the original cursor files have been in Windows '.cur' format I found a way to make the patch platform independent:

- convert cursor images from '.cur' to '.xpm' format
- load cursors in platform independent file 'src/fl_cursor.cxx'

For reference I made a screenshot of all cursors in one image, see uploaded file 'all_cursors.png'.

Status:

This is only a proof of concept and does not mean that these cursors will be integrated in FLTK at any time in the future. In my local branch everything appears to work so far, with two exceptions:

1) some cursors don't work well on dark backgrounds, this must be fixed

2) I could not extract the "hotspot" from the '.cur' files (I don't know how), i.e. I need to add the hotspot info (relative x/y) manually. It would be helpful if you could provide the hotspot positions.

@szukw000: Before I can work further on this STR, please ensure that:

- these cursor images are copyright free (or made by you)
- we may use them in FLTK under the FLTK copyright
- we may modify the cursor images as needed.

Without these statements (here in the STR form) we can't apply your patch.

Thanks for your work!
 
 
#5 AlbrechtS
08:12 Nov 17, 2023
This STR has not been updated by the submitter for two or more weeks and has been closed as required by the FLTK Configuration Management Plan. If the issue still requires resolution, please open a GitHub Issue and refer to this STR.

We can't apply these cursors for reasons given above.
 
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.