STR #2357

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 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:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
 
#1 rainbowsally
12:25 Apr 29, 2010
Fluid_Image-syntax-fixup.tar.gz
4k
 
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#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.]
 
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]

 
 

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'.