Jump to content

Photo

2.55 - Add "grab color" to palette editor


  • Please log in to reply
7 replies to this topic

#1 Peteo

Peteo

    Back in Business!

  • Members
  • Real Name:Pete
  • Location:Finland

Posted 16 February 2020 - 03:45 PM

You know how in the tile editor there is the lens of truth looking icon for "grab color" function? Would similar be possible for the palette editor (the "Edit CSet" window)? Right now editing palettes is a major pain in the arse. If I want to edit existing colors, it is very hard to find the exact color by moving the lines around in the editor. With a grab color feature you could easily grab the color you want to edit and adjust from there.


Edited by Peteo, 16 February 2020 - 03:47 PM.

  • Jared, Aquamentus (Facing Right) and Bagu like this

#2 Avaro

Avaro

    o_o

  • Members
  • Real Name:Robin
  • Location:Germany

Posted 16 February 2020 - 04:09 PM

I can't agree more. This would make palette editing much better in ZC.

 

I have essentially requested the same thing, here is my thread: https://www.purezc.n...showtopic=74443


  • Peteo likes this

#3 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 16 February 2020 - 04:17 PM

To be fair, using numpad 1/2/3/7/8/9, you can change the exact value of r/g/b for a given color to exactly copy something. Also, on the main window (where it shows all the csets of the palette) you can Ctrl+Click + Drag from one color to another to copy it over.


  • Aquamentus (Facing Right) likes this

#4 Avaro

Avaro

    o_o

  • Members
  • Real Name:Robin
  • Location:Germany

Posted 16 February 2020 - 04:21 PM

Yeah that's fair, but there is no way to adjust an existing colour using the colour picker, after you've moved the picker to something else.

 

And choosing colours is way easier with hue/saturation/light over RGB.


Edited by Avaro, 16 February 2020 - 04:22 PM.

  • Bagu likes this

#5 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 16 February 2020 - 05:52 PM

So, I just looked into working on something for this.

 

....And to my ABSOLUTE HORROR, that one particular dialog box? The one that lets you edit palettes?

IT IS ENTIRELY MANUALLY DRAWN AND DOESN'T USE ANY OF THE EXISTING DIALOG SYSTEMS.

 

ZC is a wonderfully made program!

 

For the record, what this means, is that adding a field you can type in just went from "Let me just add a `d_edit_proc` to the DIALOG object!" to "Oh my fucking god I need to either entirely manually create the logic for a typing field from scratch, or rewrite the entirety of the palette editor!"

....ZC gods, why have you cast this evil upon me?


  • Mani Kanina, Jared and Aquamentus (Facing Right) like this

#6 Mani Kanina

Mani Kanina

    Rabbits!

  • Members

Posted 26 February 2020 - 08:09 PM

While we are at it, having fields to manually type the colour value numbers into would also be handy. (Way more convenient than scrolling through all the numbers)


Edited by Mani Kanina, 26 February 2020 - 08:10 PM.


#7 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 26 February 2020 - 08:52 PM

unknown.png

 

Fields to type numbers, and conversion so you can use 0-255, added. The "Jump" button takes the color currently in the CSet and copies it to the text.

As for grabbing from the cset to the HSL cursor, that's not done yet. But, it's on my agenda.


  • Mani Kanina and Jared like this

#8 Mani Kanina

Mani Kanina

    Rabbits!

  • Members

Posted 26 February 2020 - 08:58 PM

Nice. :approve:

2.55 is looking goooooood.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users