Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Question about Drag and Drop
Re: Question about Drag and Drop [message #47009 is a reply to message #47008] Fri, 28 October 2016 09:11 Go to previous messageGo to previous message
frankdeprins is currently offline  frankdeprins
Messages: 99
Registered: September 2008
Location: Antwerp - Belgium
Member
Well, I must say I preferred the first one.
I already tried it out, locally (only for Windows, though) and what I did was:


    Change the current version with one image to 3 images and change the code to use the right image for each of the 3 actions.
    Add a new version with one Image (conform to the old, unmodified, one) that just calls the modified one with 3 times the same image. That way, old code is not broken.

I think having 3 images gives the most flexibility.
I attached a patch file to show my mods.
  • Attachment: d&d.diff
    (Size: 2.56KB, Downloaded 169 times)

[Updated on: Fri, 28 October 2016 09:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Linux] Upp application can block all mouse events
Next Topic: How to block background redrawing in my own widget
Goto Forum:
  


Current Time: Sun May 19 17:58:50 CEST 2024

Total time taken to generate the page: 0.00625 seconds