| [ Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]
STR #2357
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Unassigned |
Summary: | More Fluid, Anyone? (double-click fix and NOW! Proper inlined image code) |
Version: | 2.0-feature |
Created By: | rainbowsally |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]
Trouble Report Comments:
[ Post Text ]
|
#1 | rainbowsally 12:24 Apr 29, 2010 |
| Here's the preliminary (still testing) version of Fluid_Image.cxx that will output the proper syntax for a SharedImage that's inlined.
That is, it will use the filename for the hash id (unique and as is should be) but it will inline the datas as they are in the output file generated by fluid2 so the file itself never has to be accessed when inlined like this.
Note: There may be bugs in this still, I have to take a break, but the code looks right. And if it doesn't work, you're no worse off than before. Plus, I'll fix it if there are still probs and there are notes in the sources that may help others if they need to expand on, or correct the stuff I wrote but if it works, this may be the only time I post it.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Now, all you hackers and wannabe hackers and other assorted dabblers and bit-twiddling freaks...
LISTEN UP!! ~~~~~~~~~~ Also, the HORRIBLE double click timing can be changed, but I'm not going to upload the entire file at this time because there are many fixups that need to be done in several related files. BUT, if you want your double click to act like any other application's, you can do this.
In x11/run.cxx find (push?1000:200) around line 1226 and change that to (push?400:1000)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The difference will blow your mind. And that's the kind of stuff that made fltk2 so difficult to get off the ground. That ONE change could have made a huge difference. (Also see my post on "non-explosive fluid" to keep the undo files from choking your harddrive -- it didn't clean up properly).
So... whether or not you want to try this new Fluid_Image.cxx file, do yourself a HUGE favor and type in the above correction in x11/run.cxx.
[There are no fltk 2.0 developers, so that's the way it is.] | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |