/dports/graphics/devil/devil-1.7.8/src-IL/src/ |
H A D | il_pal.c | 277 iCurImage->Pal.Palette[i], iCurImage->Pal.Palette[i+1], iCurImage->Pal.Palette[i+2]); 622 NewPal->Palette[i] = Pal->Palette[i+2]; 624 NewPal->Palette[i+2] = Pal->Palette[i]; 640 NewPal->Palette[i] = Pal->Palette[i+2]; 642 NewPal->Palette[i+2] = Pal->Palette[i]; 661 NewPal->Palette[j+2] = Pal->Palette[i]; 666 NewPal->Palette[j] = Pal->Palette[i]; 683 NewPal->Palette[j] = Pal->Palette[i]; 692 NewPal->Palette[j+2] = Pal->Palette[i]; 728 NewPal->Palette[j] = Pal->Palette[i]; [all …]
|
/dports/graphics/kdiagram/kdiagram-2.8.0/src/KChart/ |
H A D | KChartPalette.cpp | 32 Palette p; in makeDefaultPalette() 51 Palette p; in makeSubduedPalette() 76 Palette p; in makeRainbowPalette() 105 const Palette& Palette::defaultPalette() in defaultPalette() 111 const Palette& Palette::subduedPalette() in subduedPalette() 117 const Palette& Palette::rainbowPalette() in rainbowPalette() 123 Palette::Palette( QObject *parent ) in Palette() function in Palette 129 Palette::~Palette() in ~Palette() 136 Palette::Palette( const Palette& r ) in Palette() function in Palette 141 Palette& Palette::operator=( const Palette& r ) in operator =() [all …]
|
H A D | KChartPalette.h | 46 class KCHART_EXPORT Palette: public QObject 50 explicit Palette( QObject *parent = nullptr ); 51 Palette( const Palette& ); 52 Palette &operator= ( const Palette & ); 54 ~Palette(); 58 static const Palette& defaultPalette(); 59 static const Palette& subduedPalette(); 60 static const Palette& rainbowPalette(); 88 KCHART_DECLARE_PRIVATE_BASE_VALUE( Palette ) 93 KCHART_DECLARE_SWAP_SPECIALISATION( KChart::Palette )
|
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmimage/libsrc/ |
H A D | dipalimg.cc | 45 Palette() // initializes the three color palettes to NULL in DiPaletteImage() 55 … Palette[0] = new DiLookupTable(Document, DCM_RETIRED_LargeRedPaletteColorLookupTableDescriptor, in DiPaletteImage() 71 Palette[0] = new DiLookupTable(Document, DCM_RedPaletteColorLookupTableDescriptor, in DiPaletteImage() 73 Palette[1] = new DiLookupTable(Document, DCM_GreenPaletteColorLookupTableDescriptor, in DiPaletteImage() 75 Palette[2] = new DiLookupTable(Document, DCM_BluePaletteColorLookupTableDescriptor, in DiPaletteImage() 78 …if ((ImageStatus == EIS_Normal) && (Palette[0] != NULL) && (Palette[1] != NULL) && (Palette[2] != … in DiPaletteImage() 84 if (Palette[jj]->getBits() > OFstatic_cast(Uint16, BitsPerSample)) in DiPaletteImage() 85 BitsPerSample = Palette[jj]->getBits(); in DiPaletteImage() 111 delete Palette[0]; in ~DiPaletteImage() 112 delete Palette[1]; in ~DiPaletteImage() [all …]
|
H A D | diargimg.cc | 44 Palette() // initializes the three color palettes to NULL in DiARGBImage() 51 Palette[0] = new DiLookupTable(Document, DCM_RedPaletteColorLookupTableDescriptor, in DiARGBImage() 53 Palette[1] = new DiLookupTable(Document, DCM_GreenPaletteColorLookupTableDescriptor, in DiARGBImage() 55 Palette[2] = new DiLookupTable(Document, DCM_BluePaletteColorLookupTableDescriptor, in DiARGBImage() 57 …if ((ImageStatus == EIS_Normal) && (Palette[0] != NULL) && (Palette[1] != NULL) && (Palette[2] != … in DiARGBImage() 62 if (Palette[jj]->getBits() > OFstatic_cast(Uint16, BitsPerSample)) in DiARGBImage() 63 BitsPerSample = Palette[jj]->getBits(); in DiARGBImage() 84 delete Palette[0]; in ~DiARGBImage() 85 delete Palette[1]; in ~DiARGBImage() 86 delete Palette[2]; in ~DiARGBImage() [all …]
|
/dports/graphics/drawpile/Drawpile-2.1.20/src/libclient/utils/ |
H A D | palette.cpp | 31 Palette::Palette(QObject *parent) : Palette(QString(), QString(), false, parent) { } in Palette() function in Palette 32 Palette::Palette(const QString &name, QObject *parent) : Palette(name, QString(), false, parent) { } in Palette() function in Palette 34 Palette::Palette(const QString& name, const QString& filename, bool readonly, QObject *parent) in Palette() function in Palette 53 Palette *Palette::fromFile(const QFileInfo& file, bool readonly, QObject *parent) in fromFile() 63 …Palette *pal = new Palette(file.baseName(), file.absoluteFilePath(), !file.isWritable() | readonly… in fromFile() 106 Palette *Palette::copy(const Palette *pal, const QString &newname, QObject *parent) in copy() 109 Palette *p = new Palette(newname, parent); in copy() 146 bool Palette::save() in save() 175 bool Palette::deleteFile() in deleteFile() 196 void Palette::setColumns(int columns) in setColumns() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/neverhood/ |
H A D | palette.cpp | 31 Palette::Palette(NeverhoodEngine *vm) : Entity(vm, 0) { in Palette() function in Neverhood::Palette 34 SetUpdateHandler(&Palette::update); in Palette() 37 Palette::Palette(NeverhoodEngine *vm, byte *palette) : Entity(vm, 0) { in Palette() function in Neverhood::Palette 40 SetUpdateHandler(&Palette::update); in Palette() 43 Palette::Palette(NeverhoodEngine *vm, const char *filename) : Entity(vm, 0) { in Palette() function in Neverhood::Palette 48 SetUpdateHandler(&Palette::update); in Palette() 51 Palette::Palette(NeverhoodEngine *vm, uint32 fileHash) : Entity(vm, 0) { in Palette() function in Neverhood::Palette 59 Palette::~Palette() { in ~Palette() 65 void Palette::init() { in init() 76 void Palette::usePalette() { in usePalette() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/neverhood/ |
H A D | palette.cpp | 31 Palette::Palette(NeverhoodEngine *vm) : Entity(vm, 0) { in Palette() function in Neverhood::Palette 34 SetUpdateHandler(&Palette::update); in Palette() 37 Palette::Palette(NeverhoodEngine *vm, byte *palette) : Entity(vm, 0) { in Palette() function in Neverhood::Palette 40 SetUpdateHandler(&Palette::update); in Palette() 43 Palette::Palette(NeverhoodEngine *vm, const char *filename) : Entity(vm, 0) { in Palette() function in Neverhood::Palette 48 SetUpdateHandler(&Palette::update); in Palette() 51 Palette::Palette(NeverhoodEngine *vm, uint32 fileHash) : Entity(vm, 0) { in Palette() function in Neverhood::Palette 59 Palette::~Palette() { in ~Palette() 65 void Palette::init() { in init() 76 void Palette::usePalette() { in usePalette() [all …]
|
/dports/graphics/krita/krita-4.4.8/libs/libkis/ |
H A D | Palette.cpp | 26 struct Palette::Private { 30 Palette::Palette(Resource *resource): d(new Private()) { in Palette() function in Palette 34 Palette::~Palette() in ~Palette() 39 int Palette::numberOfEntries() const in numberOfEntries() 45 int Palette::columnCount() in columnCount() 57 QString Palette::comment() in comment() 69 QStringList Palette::groupNames() const in groupNames() 75 bool Palette::addGroup(QString name) in addGroup() 87 int Palette::colorsCountTotal() in colorsCountTotal() 147 bool Palette::save() in save() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lure/ |
H A D | palette.cpp | 32 Palette::Palette() { in Palette() function in Lure::Palette 41 Palette::Palette(uint16 srcNumEntries, const byte *srcData, PaletteSource paletteSource) { in Palette() function in Lure::Palette 63 Palette::Palette(Palette &src) { in Palette() function in Lure::Palette 71 Palette::Palette(uint16 resourceId, PaletteSource paletteSource) { in Palette() function in Lure::Palette 108 Palette::~Palette() { in ~Palette() 153 void Palette::setEntry(uint8 index, uint32 value) { in setEntry() 159 uint32 Palette::getEntry(uint8 index) { in getEntry() 165 void Palette::copyFrom(Palette *src) { in copyFrom() 184 _palettes = (Palette **) Memory::alloc(1 * sizeof(Palette *)); in PaletteCollection() 185 _palettes[0] = new Palette(16, data, EGA); in PaletteCollection() [all …]
|
/dports/games/vavoom/vavoom-1.33/source/ |
H A D | r_tex_raw.cpp | 118 , Palette(0) in VRawPicTexture() 142 if (Palette) in ~VRawPicTexture() 144 delete[] Palette; in ~VRawPicTexture() 145 Palette = NULL; in ~VRawPicTexture() 183 << Palette[i].g in GetPixels() 192 int dist = Palette[i].r * Palette[i].r + Palette[i].g * in GetPixels() 193 Palette[i].g + Palette[i].b * Palette[i].b; in GetPixels() 230 return Palette ? Palette : r_palette; in GetPalette() 248 if (Palette) in Unload() 250 delete[] Palette; in Unload() [all …]
|
/dports/x11-themes/gtk-oxygen-engine/oxygen-gtk2-1.4.6/src/ |
H A D | oxygenqtsettings.cpp | 94 _activeShadowConfiguration( Palette::Active ), in QtSettings() 95 _inactiveShadowConfiguration( Palette::Inactive ), in QtSettings() 635 …_palette.generate( Palette::Active, Palette::Inactive, inactiveEffect, _inactiveChangeSelectionCol… in loadKdePalette() 636 _palette.generate( Palette::Active, Palette::Disabled, disabledEffect ); in loadKdePalette() 660 _palette.setGroup( Palette::Active ); in generateGtkColors() 679 … Gtk::RCOption<std::string>( " base[ACTIVE]", _palette.color( Palette::Inactive, Palette::Selecte… in generateGtkColors() 682 …:RCOption<std::string>( " base[INSENSITIVE]", _palette.color( Palette::Disabled, Palette::Base ) … in generateGtkColors() 691 …:RCOption<std::string>( " text[INSENSITIVE]", _palette.color( Palette::Disabled, Palette::Text ) … in generateGtkColors() 699 …k::RCOption<std::string>( " bg[INSENSITIVE]", _palette.color( Palette::Disabled, Palette::Button … in generateGtkColors() 775 …k::RCOption<std::string>( " bg[INSENSITIVE]", _palette.color( Palette::Disabled, Palette::Base ) … in generateGtkColors() [all …]
|
/dports/graphics/aseprite/aseprite-1.2.9/src/doc/ |
H A D | palette.cpp | 24 Palette::Palette(frame_t frame, int ncolors) in Palette() function in doc::Palette 25 : Object(ObjectType::Palette) in Palette() 34 Palette::Palette(const Palette& palette) in Palette() function in doc::Palette 43 Palette::Palette(const Palette& palette, const Remap& remap) in Palette() function in doc::Palette 56 Palette::~Palette() in ~Palette() 60 Palette* Palette::createGrayscale() in createGrayscale() 62 Palette* graypal = new Palette(frame_t(0), 256); in createGrayscale() 105 void Palette::copyColorsTo(Palette* dst) const in copyColorsTo() 111 int Palette::countDiff(const Palette* other, int* from, int* to) const in countDiff() 147 void Palette::makeBlack() in makeBlack() [all …]
|
/dports/games/openxcom/OpenXcom-1.0/src/Basescape/ |
H A D | SoldierInfoState.cpp | 214 _btnOk->setColor(Palette::blockOffset(15)+6); in SoldierInfoState() 219 _btnPrev->setColor(Palette::blockOffset(15)+6); in SoldierInfoState() 232 _btnNext->setColor(Palette::blockOffset(15)+6); in SoldierInfoState() 254 _btnSack->setColor(Palette::blockOffset(15)+6); in SoldierInfoState() 292 _barStamina->setColor(Palette::blockOffset(9)); in SoldierInfoState() 300 _numHealth->setColor(Palette::blockOffset(13)); in SoldierInfoState() 302 _barHealth->setColor(Palette::blockOffset(2)); in SoldierInfoState() 312 _barBravery->setColor(Palette::blockOffset(4)); in SoldierInfoState() 332 _barFiring->setColor(Palette::blockOffset(8)); in SoldierInfoState() 350 _numMelee->setColor(Palette::blockOffset(13)); in SoldierInfoState() [all …]
|
/dports/x11-toolkits/qwt5-qt5/qwt5-qt5-2a9f1ae2/examples/dials/ |
H A D | compass_grid.cpp | 8 typedef QColorGroup Palette; typedef 10 typedef QPalette Palette; typedef 52 Palette colorGroup; in createCompass() 53 for ( c = 0; c < Palette::NColorRoles; c++ ) in createCompass() 59 colorGroup.setColor(Palette::Base, in createCompass() 62 colorGroup.setColor(Palette::WindowText, in createCompass() 63 colorGroup.color(Palette::Base)); in createCompass() 115 colorGroup.setColor(Palette::WindowText, in createCompass() 138 colorGroup.setColor(Palette::Base, in createCompass() 193 for ( c = 0; c < Palette::NColorRoles; c++ ) in createCompass() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/lure/ |
H A D | palette.cpp | 32 Palette::Palette() { in Palette() function in Lure::Palette 41 Palette::Palette(uint16 srcNumEntries, const byte *srcData, PaletteSource paletteSource) { in Palette() function in Lure::Palette 63 Palette::Palette(Palette &src) { in Palette() function in Lure::Palette 71 Palette::Palette(uint16 resourceId, PaletteSource paletteSource) { in Palette() function in Lure::Palette 108 Palette::~Palette() { in ~Palette() 153 void Palette::setEntry(uint8 index, uint32 value) { in setEntry() 159 uint32 Palette::getEntry(uint8 index) { in getEntry() 165 void Palette::copyFrom(Palette *src) { in copyFrom() 184 _palettes = (Palette **) Memory::alloc(1 * sizeof(Palette *)); in PaletteCollection() 185 _palettes[0] = new Palette(16, data, EGA); in PaletteCollection() [all …]
|
/dports/games/openxcom/OpenXcom-1.0/src/Geoscape/ |
H A D | GeoscapeCraftState.cpp | 103 _window->setColor(Palette::blockOffset(15)-1); in GeoscapeCraftState() 106 _btnBase->setColor(Palette::blockOffset(8)+5); in GeoscapeCraftState() 110 _btnTarget->setColor(Palette::blockOffset(8)+5); in GeoscapeCraftState() 114 _btnPatrol->setColor(Palette::blockOffset(8)+5); in GeoscapeCraftState() 118 _btnCancel->setColor(Palette::blockOffset(8)+5); in GeoscapeCraftState() 123 _txtTitle->setColor(Palette::blockOffset(15)-1); in GeoscapeCraftState() 127 _txtStatus->setColor(Palette::blockOffset(15)-1); in GeoscapeCraftState() 172 _txtBase->setColor(Palette::blockOffset(15)-1); in GeoscapeCraftState() 176 _txtSpeed->setColor(Palette::blockOffset(15)-1); in GeoscapeCraftState() 189 _txtFuel->setColor(Palette::blockOffset(15)-1); in GeoscapeCraftState() [all …]
|
/dports/x11-toolkits/movingmotif/movingmotif-2.3.0/demo/mindsrc/ |
H A D | palette.h | 54 } Palette; typedef 56 Palette *PaletteCreate(Widget); 57 Pixel PaletteAlloc(Palette *, XColor *); 59 Palette *PaletteFindDpy(Display *, Colormap); 60 Palette *PaletteFind(Widget, Colormap); 61 XColor *PaletteLookup(Palette *, Pixel); 62 void PaletteAddUser(Palette *, Widget); 63 void PaletteSetInvalid(Palette *, Pixel); 64 void PaletteDelete(Palette *); 67 Palette *PaletteGetDefault(Widget); [all …]
|
/dports/graphics/xpaint/xpaint-2.9.10.3/ |
H A D | palette.h | 58 } Palette; typedef 60 Palette *PaletteCreate(Widget); 61 Pixel PaletteAlloc(Palette *, XColor *); 63 Palette *PaletteFindDpy(Display *, Colormap); 64 Palette *PaletteFind(Widget, Colormap); 65 XColor *PaletteLookup(Palette *, Pixel); 66 void PaletteAddUser(Palette *, Widget); 67 void PaletteSetInvalid(Palette *, Pixel); 68 void PaletteDelete(Palette *); 71 Palette *PaletteGetDefault(Widget); [all …]
|
/dports/editors/rehex/rehex-0.4.0/src/ |
H A D | Palette.cpp | 27 REHex::Palette *REHex::active_palette = NULL; 29 REHex::Palette::Palette(const std::string &name, const std::string &label, const wxColour colours[]… in Palette() function in REHex::Palette 38 const std::string &REHex::Palette::get_name() const in get_name() 43 const std::string &REHex::Palette::get_label() const in get_label() 72 REHex::Palette::ColourIndex REHex::Palette::get_highlight_bg_idx(int index) in get_highlight_bg_idx() 80 REHex::Palette::ColourIndex REHex::Palette::get_highlight_fg_idx(int index) in get_highlight_fg_idx() 99 REHex::Palette *REHex::Palette::create_system_palette() in create_system_palette() 169 REHex::Palette *REHex::Palette::create_light_palette() in create_light_palette() 214 return new Palette("light", "Light", colours); in create_light_palette() 217 REHex::Palette *REHex::Palette::create_dark_palette() in create_dark_palette() [all …]
|
/dports/misc/estic/estic-1.61_10/spunk/ |
H A D | palette.cc | 31 LINK (Palette, ID_Palette); 36 Palette* Pal; 58 void Palette::FreeItem (void* Item) in FreeItem() 65 void* Palette::GetItem (Stream& S) in GetItem() 72 void Palette::PutItem (Stream& S, void* Item) const in PutItem() 79 Palette::Palette () : in Palette() function in Palette 87 void Palette::Load (Stream& S) in Load() 95 void Palette::Store (Stream& S) const in Store() 103 u16 Palette::StreamableID () const in StreamableID() 110 Streamable *Palette::Build () in Build() [all …]
|
/dports/misc/py-palettable/palettable-3.3.0/test/ |
H A D | test_installed.py | 7 from palettable.palette import Palette 11 assert isinstance(palettable.colorbrewer.diverging.PuOr_6, Palette) 12 assert isinstance(palettable.colorbrewer.qualitative.Pastel1_9, Palette) 13 assert isinstance(palettable.colorbrewer.sequential.PuBuGn_9, Palette) 17 assert isinstance(palettable.cubehelix.classic_16, Palette) 21 assert isinstance(palettable.tableau.ColorBlind_10, Palette) 25 assert isinstance(palettable.wesanderson.Aquatic1_5, Palette) 29 assert isinstance(palettable.matplotlib.Viridis_8, Palette) 33 assert isinstance(palettable.mycarta.CubeYF_8, Palette) 37 assert isinstance(palettable.cmocean.sequential.Amp_8, Palette) [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/cine/ |
H A D | pal.h | 57 class Palette { 69 Palette(const Graphics::PixelFormat format = Graphics::PixelFormat(), const uint numColors = 0); 70 Palette(const Palette& other); 71 Palette& operator=(const Palette& other); 77 Palette &clear(); 120 Palette &rotateRight(byte firstIndex, byte lastIndex); 121 Palette &rotateLeft(byte firstIndex, byte lastIndex); 122 …Palette &saturatedAddColor(Palette &output, byte firstIndex, byte lastIndex, signed r, signed g, s… 136 …Palette &saturatedAddColor(Palette &output, byte firstIndex, byte lastIndex, signed rSource, signe… 148 …Palette &saturatedAddNormalizedGray(Palette &output, byte firstIndex, byte lastIndex, signed grayD… [all …]
|
H A D | pal.cpp | 143 Palette &Palette::rotateRight(byte firstIndex, byte lastIndex) { in rotateRight() 156 Palette &Palette::rotateLeft(byte firstIndex, byte lastIndex) { in rotateLeft() 169 bool Palette::empty() const { in empty() 218 Palette &Palette::fillWithBlack() { in fillWithBlack() 229 bool Palette::isValid() const { in isValid() 269 Cine::Palette::Color Palette::getColor(byte index) const { in getColor() 290 Palette &Palette::saturatedAddColor(Palette &output, byte firstIndex, byte lastIndex, signed r, sig… in saturatedAddColor() 310 Palette &Palette::saturatedAddNormalizedGray(Palette &output, byte firstIndex, byte lastIndex, int … in saturatedAddNormalizedGray() 331 Palette::Palette(const Palette& other) : in Palette() function in Cine::Palette 336 Palette& Palette::operator=(const Palette& other) { in operator =() [all …]
|
/dports/games/quadra/quadra-1.3.0/skelton/include/ |
H A D | palette.h | 31 class Palette { 39 Palette() { in Palette() function 43 Palette(const Image& raw) { in Palette() function 67 extern Palette noir; 70 const Palette& dst; 73 Remap(const Palette& d, Palette* src=NULL); 78 Palette dest; 84 Fade(const Palette& dst=Palette(), const Palette& src=Palette(), int frame=70); 85 void newdest(const Palette& dst, int frame=70); 86 void setdest(const Palette& dst);
|