1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 09:09:47 +00:00
Commit graph

7 commits

Author SHA1 Message Date
Emmanouil Papadeas f9447990dc Remove legacy palettes, add a new "Pixelorama" palette 2024-05-01 19:56:20 +03:00
Emmanouil Papadeas 0cb98f6e2e
Revert palette file format back to JSON (#967)
* Some static typing and use notification to check if the theme has changed in swatches

* Use Vector2i for scrolling, hide scrollbars in the node properties

* More static typing improvements

* More static typing & docstring improvements, remove some methods from Palettes.gd

* [WIP] Go back to json for palettes instead of tres

* Revert back to using dictionaries for palette colors instead of array

Reverts part of the previous commit

* Read width & height from files, don't store the name

* Fix palette renaming

* Copy non-json palettes into json files

* Fix palette duplication

* Add a new _fill_imported_palette_with_colors() to avoid duplicate code in import file methods

* Fix palette file importing when not initialising

* Export palettes as images

* Replace "tres" with "json" filter in the open sprite dialog

* When exporting a palette as an image, automatically set the file name to the palette name

* Replace default palette files with json

* Remove the Global.palette_panel variable, use signals instead.

* Static typing in signals

* Fix warning in Palettes.gd

* Fix formatting

* Add missing comments to the palette files

* Update Palettes.gd

* A few more static typing improvements
2023-12-23 00:28:35 +02:00
Manolis Papadeas 62ac0d5032 Update Monochromatic.tres 2022-01-14 18:02:16 +02:00
Manolis Papadeas 2e895d0d31 Changed comments of Default and BubbleGum16 palettes to properly credit the authors 2021-08-19 01:56:11 +03:00
Manolis Papadeas fa5c178720 Reduced the height of the default palettes to remove wasted space
No colors have been lost.
2021-05-25 19:53:21 +03:00
Martin Novák 42696e7b37
Replace old palette system with a new one (#447)
* Replace old palette system with a new one

* Replace default json palettes with new resource versions

* Add missing translation strings

* Fix Erevoid's issues 2, 3 and 4

* Rewrite palette grid to improve performance
Add middle click scrolling

* Fix index conversion functions

* Fix palettes editing by copying them to XDG user write path

* Add Windows specific fixes

* Add import support for old json palette format

* Add create/edit palette settings check.
Hide add/delete color buttons when no palette is displayed.
2021-04-16 11:09:03 -07:00
OverloadedOrama 5932f83831 Rename "pixelorama" folder to "pixelorama_data" for non-XDG locations
Workaround for #248 and #321.
2020-08-29 16:34:52 +03:00