| [ Return to Bugs & Features ]
STR #2662
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Documentation |
Summary: | Docs for "Drawing Things In FLTK" should cover coordinate space of widgets vs. windows |
Version: | 1.4-feature |
Created By: | greg.ercolano |
Assigned To: | AlbrechtS |
Fix Version: | 1.4.0 |
Fix Commit: | 2d18c6f650c0001319c8883f8deb819d12984ac0 |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | greg.ercolano 11:10 Jun 10, 2011 |
| This is a docs-only RFE.
As Li Ding pointed out in this thread: http://fltk.org/newsgroups.php?gfltk.general+v:24105
..we probably need to go into some details in the "Drawing Things in FLTK" section about how the coordinate space works for widgets vs. windows.
In the above posting, I pointed out some things that should be strengthened. I can see making a few paragraphs and an image describing the details of coordinate space for widgets and windows that would help someone first learning about deriving widgets and overriding draw().
Assigning this to myself, and I'll do some research on the docs to see where all the sections are we talk about deriving custom widgets, and make sure this subject is covered.
[Edit: link corrected (Albrecht)] | |
|
#2 | AlbrechtS 11:04 Dec 07, 2021 |
| The mentioned thread is "Fltk coordinate behavior is a little peculiar" from Li Ding on Jun 9, 2011.
I don't know if this thread is of any value, just wanted to mention what I saw.
Note that searches for the title of such old threads are currently disabled. This thread can not be found in fltk.general in Google Groups either because it's been before we moved to Google Groups. | |
|
#3 | AlbrechtS 11:20 Dec 07, 2021 |
| I do also believe that Duncan's recent PR #304: "Documentation on widget coordinates and layout, plus new test programs" will add enough info about the FLTK coordinate space to the docs, see: https://github.com/fltk/fltk/pull/304
I think that we can close this STR, at least when Duncan's documentation updates have been merged.
Just in case anybody likes to see the old thread in the FLTK web interface: click the link in comment #1 and then on "Next Message" until you reach message number 24133. There are several unrelated messages on the way but you'll eventually see all 18 messages of the thread.
@Greg: many points of the discussion are now obsolete (eg. windows in windows), other points may be worth to be mentioned or cross-referenced in the docs, please see yourself if anything is worth keeping this STR open. | |
|
#4 | AlbrechtS 11:40 Dec 07, 2021 |
| FTR: Clarification regarding "windows in windows": meanwhile subwindows are real system windows on macOS as well. Matt mentioned in a message of that thread that they were emulated on macOS which is no longer the case. | |
|
#5 | AlbrechtS 05:43 Jan 27, 2023 |
| Fixed in Git repository.
The FLTK coordinate space is covered in a new chapter "Coordinates and Layout Widgets" in the FLTK docs since git commit 2d18c6f650c0001319c8883f8deb819d12984ac0.
https://www.fltk.org/doc-1.4/coordinates.html | |
[ Return to Bugs & Features ]
|
| |