Giter Site home page Giter Site logo

Multi-color internal clipboard about gpick HOT 14 OPEN

thezbyg avatar thezbyg commented on June 23, 2024
Multi-color internal clipboard

from gpick.

Comments (14)

thezbyg avatar thezbyg commented on June 23, 2024

Comment #1 originally posted by thezbyg on 2011-05-06T11:39:04.000Z:

I agree that this is necessary, however this will require quite some changes in the code. I will take a look into this next week.

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #2 originally posted by thezbyg on 2011-05-25T04:18:41.000Z:

So, how is this going?

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #3 originally posted by thezbyg on 2011-05-26T05:31:28.000Z:

I implemented the multi-color drag from the palette, and today will try to implement the drop functionality.

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #4 originally posted by thezbyg on 2011-05-26T16:23:21.000Z:

Multi-color drag&drop functionality committed in revision ced9087746a9.
It still needs improvements (its quite hard to not select something while trying to initiate drag), but its usable

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #5 originally posted by thezbyg on 2011-05-27T03:57:59.000Z:

Yeah, works good :) Is the ability to shift a color rather than duplicate it (via holding SHIFT) new? It's great!
We definitely need to document that somehow -- working with any amount of colors without that ability to move rather than duplicate is fairly annoying.

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #6 originally posted by thezbyg on 2011-05-29T08:55:27.000Z:

The ability to shift colors was as old as drag&drop functionality. Looks like I need to start writing a manual for Gpick as soon as possible :)

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #7 originally posted by thezbyg on 2011-06-05T14:17:01.000Z:

I've recently found that occasionally shift-dragging somehow reverses the order of the colors as they are inserted in the final position. Actually reliably reproducing this is hard.

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #8 originally posted by thezbyg on 2011-06-06T17:11:42.000Z:

I have tried reproducing it, but couldn't get it to reverse the colors.

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #9 originally posted by thezbyg on 2011-06-06T17:44:00.000Z:

Selection issues solved in revision 85b089216430.

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #10 originally posted by thezbyg on 2011-07-10T20:13:35.000Z:

Color order reversing fixed in revision 9a07528f6645

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #11 originally posted by thezbyg on 2011-08-19T01:21:36.000Z:

This seems to be working quite well now. I did just notice an issue: although GPick seems to provide multiple colors in the drag object, dragging multiple colors between GPick instances only adds a single color in the instance that they are dropping on to.

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #12 originally posted by thezbyg on 2011-08-21T16:19:47.000Z:

Ability to drag multiple colors between Gpick instances added in revision 2b851bdf148c

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #13 originally posted by thezbyg on 2013-05-03T12:23:43.000Z:

I thought this issue was pretty much addressed, but I realized GPick doesn't fully understand its own output format -- that is, if I press Ctrl+C with multiple colors selected, GPick stores multiple lines to the clipboard; and then I press Ctrl+V to paste, but GPick only reads the first line on the clipboard, adding one color to the palette instead of 16. This restricts the means of getting multiple-colors-at-once into GPick to 'Drag and Drop from another GPick instance', even though any application can put multiple colors on the clipboard in a text format.

I've begun investigating how to fix this. It looks like the API of main_get_color_object_from_text needs to change to allow multiple output colors.

from gpick.

thezbyg avatar thezbyg commented on June 23, 2024

Comment #14 originally posted by thezbyg on 2013-12-24T22:55:28.000Z:

I'm just now looking at this seriously. I've implemented multi-color output on the Lua side, and still need to implement it in Converters.cpp (and adjust accordingly further up the chain of dependencies.)

At the moment I'm considering that the Converters code should look at the input line-by-line, and send it line-by-line to the lua conversion machinery. That is, if multiple lines are in the input, the C++ conversion machinery should do the job of splitting them up, and aggregating returned colors into an array of ColorObjects.
If you disagree, please speak up. Thanks.

from gpick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.