From ec30837631aec2b0330d9b6119efc5806baee403 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 14 Jun 2010 22:53:30 -0300 Subject: [PATCH] Added Palette:sort() and SortPalette class. Implemented "Sort" command in palette editor. --- data/widgets/palette_editor.xml | 45 +++++++ src/commands/cmd_palette_editor.cpp | 188 ++++++++++++++++++++++++++++ src/raster/palette.cpp | 108 ++++++++++++++++ src/raster/palette.h | 26 ++++ 4 files changed, 367 insertions(+) diff --git a/data/widgets/palette_editor.xml b/data/widgets/palette_editor.xml index ca5f82e8c..dd3a3cc5f 100644 --- a/data/widgets/palette_editor.xml +++ b/data/widgets/palette_editor.xml @@ -62,4 +62,49 @@ + + + + + + + + + + + + + + + + + + + + + + +