| 1 | // Aseprite | 
|---|
| 2 | // Copyright (C) 2019  Igara Studio S.A. | 
|---|
| 3 | // | 
|---|
| 4 | // This program is distributed under the terms of | 
|---|
| 5 | // the End-User License Agreement for Aseprite. | 
|---|
| 6 |  | 
|---|
| 7 | #ifndef APP_UTIL_PAL_OPS_H_INCLUDED | 
|---|
| 8 | #define APP_UTIL_PAL_OPS_H_INCLUDED | 
|---|
| 9 | #pragma once | 
|---|
| 10 |  | 
|---|
| 11 | namespace doc { | 
|---|
| 12 | class Palette; | 
|---|
| 13 | class PalettePicks; | 
|---|
| 14 | } | 
|---|
| 15 |  | 
|---|
| 16 | namespace app { | 
|---|
| 17 | class Tx; | 
|---|
| 18 |  | 
|---|
| 19 | void move_or_copy_palette_colors( | 
|---|
| 20 | doc::Palette& palette, | 
|---|
| 21 | doc::Palette& newPalette, | 
|---|
| 22 | doc::PalettePicks& picks, | 
|---|
| 23 | int& currentEntry, | 
|---|
| 24 | const int beforeIndex, | 
|---|
| 25 | const bool copy); | 
|---|
| 26 |  | 
|---|
| 27 | } // namespace app | 
|---|
| 28 |  | 
|---|
| 29 | #endif | 
|---|
| 30 |  | 
|---|