/dports/graphics/devil/devil-1.7.8/src-IL/src/ |
H A D | il_tpl.c | 615 Image->Pal.Palette = (ILubyte*)ialloc(NumPal * 4); in TplGetIndexImage() 616 if (Image->Pal.Palette == NULL) in TplGetIndexImage() 626 Image->Pal.Palette[i * 4 + 1] = LumVal; in TplGetIndexImage() 627 Image->Pal.Palette[i * 4 + 2] = LumVal; in TplGetIndexImage() 628 Image->Pal.Palette[i * 4 + 3] = igetc(); // Get alpha value. in TplGetIndexImage() 633 Image->Pal.Palette = (ILubyte*)ialloc(NumPal * 3); in TplGetIndexImage() 634 if (Image->Pal.Palette == NULL) in TplGetIndexImage() 650 Image->Pal.Palette = (ILubyte*)ialloc(NumPal * 4); in TplGetIndexImage() 651 if (Image->Pal.Palette == NULL) in TplGetIndexImage() 760 Image->Data[DataOff] = Image->Pal.Palette[ShortPixel * PalBpp]; in TplGetIndexImage() [all …]
|
H A D | il_bmp.c | 304 if (iCurImage->Pal.Palette == NULL) { in ilReadUncompBmp() 321 if (iCurImage->Pal.Palette == NULL) { in ilReadUncompBmp() 340 if (iCurImage->Pal.Palette) in ilReadUncompBmp() 341 ifree(iCurImage->Pal.Palette); in ilReadUncompBmp() 574 if (iCurImage->Pal.Palette == NULL) in ilReadRLE8Bmp() 653 if (iCurImage->Pal.Palette == NULL) in ilReadRLE4Bmp() 739 if (iCurImage->Pal.Palette == NULL) { in iGetOS2Bmp() 778 if (iCurImage->Pal.Palette == NULL) { in iGetOS2Bmp() 811 if (iCurImage->Pal.Palette == NULL) { in iGetOS2Bmp() 946 iCurImage->Pal.Palette[i * 4] = i; in iSaveBitmapInternal() [all …]
|
/dports/games/openxcom/OpenXcom-1.0/src/Ufopaedia/ |
H A D | ArticleStateArmor.cpp | 56 _btnOk->setColor(Palette::blockOffset(0)+15); in ArticleStateArmor() 57 _btnPrev->setColor(Palette::blockOffset(0)+15); in ArticleStateArmor() 58 _btnNext->setColor(Palette::blockOffset(0)+15); in ArticleStateArmor() 60 _txtTitle->setColor(Palette::blockOffset(14)+15); in ArticleStateArmor() 79 _lstInfo->setColor(Palette::blockOffset(14)+15); in ArticleStateArmor() 86 _txtInfo->setColor(Palette::blockOffset(14)+15); in ArticleStateArmor() 142 _lstInfo->setCellColor(_row, 1, Palette::blockOffset(15)+4); in addStat() 150 _lstInfo->setCellColor(_row, 1, Palette::blockOffset(15)+4); in addStat()
|
H A D | ArticleStateText.cpp | 53 _btnOk->setColor(Palette::blockOffset(5)); in ArticleStateText() 54 _btnPrev->setColor(Palette::blockOffset(5)); in ArticleStateText() 55 _btnNext->setColor(Palette::blockOffset(5)); in ArticleStateText() 57 _txtTitle->setColor(Palette::blockOffset(15)+4); in ArticleStateText() 61 _txtInfo->setColor(Palette::blockOffset(15)-1); in ArticleStateText()
|
/dports/devel/cc65/cc65-2.19/samples/ |
H A D | tgidemo.c | 70 static const unsigned char Palette[2] = { TGI_COLOR_WHITE, TGI_COLOR_ORANGE }; in DoCircles() local 76 tgi_setpalette (Palette); in DoCircles() 96 static const unsigned char Palette[2] = { TGI_COLOR_WHITE, TGI_COLOR_BLACK }; in DoCheckerboard() local 100 tgi_setpalette (Palette); in DoCheckerboard() 124 static const unsigned char Palette[2] = { TGI_COLOR_WHITE, TGI_COLOR_BLACK }; in DoDiagram() local 130 tgi_setpalette (Palette); in DoDiagram() 168 static const unsigned char Palette[2] = { TGI_COLOR_WHITE, TGI_COLOR_BLACK }; in DoLines() local 171 tgi_setpalette (Palette); in DoLines()
|
/dports/science/kst2/kst-plot-38eddb5322a1d557f9d86ea95d456d76272941e3/src/libkstmath/ |
H A D | palette.cpp | 23 QStringList Palette::getPaletteList() { in getPaletteList() 40 Palette::Palette(): _colors(0), _count(0) { in Palette() function in Kst::Palette 45 Palette::Palette(const QString &paletteName): _colors(0), _count(0) { in Palette() function in Kst::Palette 49 Palette::~Palette() { in ~Palette() 56 void Palette::changePaletteName(const QString &paletteName) { in changePaletteName()
|
/dports/deskutils/mindforger/mindforger-1.52.0/lib/src/config/ |
H A D | palette.cpp | 25 Palette::Palette() = default; 27 Palette::~Palette() = default; 29 void Palette::addBuiltInColors() in addBuiltInColors() 49 void Palette::addBuildInColor(const Color* c) in addBuildInColor() 55 const Color& Palette::findOrCreate(unsigned char r, unsigned char g, unsigned char b) in findOrCreate() 70 const Color& Palette::colorForName(const string& name) const in colorForName()
|
/dports/net/tigervnc-server/tigervnc-1.12.0/common/rfb/ |
H A D | Palette.h | 29 class Palette { 31 Palette() { clear(); } in Palette() function 32 ~Palette() {} in ~Palette() 70 inline bool rfb::Palette::insert(rdr::U32 colour, int numPixels) in insert() 148 inline unsigned char rfb::Palette::lookup(rdr::U32 colour) const in lookup() 168 inline rdr::U32 rfb::Palette::getColour(unsigned char index) const in getColour() 173 inline int rfb::Palette::getCount(unsigned char index) const in getCount() 178 inline unsigned char rfb::Palette::genHash(rdr::U32 colour) const in genHash()
|
/dports/net/tigervnc-viewer/tigervnc-1.12.0/common/rfb/ |
H A D | Palette.h | 29 class Palette { 31 Palette() { clear(); } in Palette() function 32 ~Palette() {} in ~Palette() 70 inline bool rfb::Palette::insert(rdr::U32 colour, int numPixels) in insert() 148 inline unsigned char rfb::Palette::lookup(rdr::U32 colour) const in lookup() 168 inline rdr::U32 rfb::Palette::getColour(unsigned char index) const in getColour() 173 inline int rfb::Palette::getCount(unsigned char index) const in getCount() 178 inline unsigned char rfb::Palette::genHash(rdr::U32 colour) const in genHash()
|
/dports/graphics/kxstitch/kxstitch-2.2.0/src/ |
H A D | Palette.cpp | 175 Palette::Palette(QWidget *parent) in Palette() function in Palette 190 QSize Palette::sizeHint() const in sizeHint() 196 void Palette::setDocument(Document *document) in setDocument() 202 Document *Palette::document() const in document() 208 void Palette::showSymbols(bool show) in showSymbols() 215 void Palette::swapColors() in swapColors() 224 void Palette::replaceColor() in replaceColor() 233 void Palette::loadSettings() in loadSettings() 239 bool Palette::event(QEvent *event) in event() 272 void Palette::paintEvent(QPaintEvent *) in paintEvent() [all …]
|
/dports/emulators/nestopia/nestopia-1.51.1/source/core/api/ |
H A D | NstApiVideo.cpp | 297 Result Video::Palette::SetMode(const Mode mode) throw() in SetMode() 307 Video::Palette::Mode Video::Palette::GetMode() const throw() in GetMode() 321 Video::Palette::Mode Video::Palette::GetDefaultMode() const throw() in GetDefaultMode() 328 Result Video::Palette::SetCustom(Colors colors,CustomType type) throw() in SetCustom() 333 uint Video::Palette::GetCustom(uchar (*colors)[3],CustomType type) const throw() in GetCustom() 338 void Video::Palette::ResetCustom() throw() in ResetCustom() 343 Video::Palette::CustomType Video::Palette::GetCustomType() const throw() in GetCustomType() 348 Video::Palette::Colors Video::Palette::GetColors() const throw() in GetColors()
|
/dports/games/libretro-nestopia/nestopia-2b0315c/source/core/api/ |
H A D | NstApiVideo.cpp | 311 Result Video::Palette::SetMode(const Mode mode) throw() in SetMode() 321 Video::Palette::Mode Video::Palette::GetMode() const throw() in GetMode() 335 Video::Palette::Mode Video::Palette::GetDefaultMode() const throw() in GetDefaultMode() 342 Result Video::Palette::SetCustom(Colors colors,CustomType type) throw() in SetCustom() 347 uint Video::Palette::GetCustom(uchar (*colors)[3],CustomType type) const throw() in GetCustom() 352 void Video::Palette::ResetCustom() throw() in ResetCustom() 357 Video::Palette::CustomType Video::Palette::GetCustomType() const throw() in GetCustomType() 362 Video::Palette::Colors Video::Palette::GetColors() const throw() in GetColors()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Game/FileFormats/ |
H A D | Png.cs | 30 public Color[] Palette { get; set; } property in OpenRA.FileFormats.Png 94 Palette = new Color[256]; in Png() 98 Palette[i] = Color.FromArgb(r, g, b); in Png() 106 if (Palette == null) in Png() 110 Palette[i] = Color.FromArgb(ms.ReadByte(), Palette[i]); in Png() 168 if (isPaletted && Palette == null) in Png() 191 Palette = palette; in Png() 277 var colorType = Palette != null in Save() 290 if (Palette != null) in Save() 294 foreach (var c in Palette) in Save() [all …]
|
/dports/math/vtk6/VTK-6.2.0/Common/Color/ |
H A D | vtkColorSeries.cxx | 42 int Palette; // Currently-selected entry in Palettes member in vtkColorSeries::Private 330 this->Palette = vtkColorSeries::SPECTRUM; in Private() 331 this->Colors = &(this->Palettes[this->Palette].Colors); in Private() 338 this->Palette = idx; in SetScheme() 388 int pidx = this->Storage->Palette; in PrintSelf() 399 if (this->Storage->Palette == scheme) in SetColorScheme() 435 return this->Storage->Palettes[this->Storage->Palette].Name; in GetColorSchemeName() 462 return this->Storage->Palette; in GetColorScheme() 564 this->Storage->Palette = colors->Storage->Palette; in DeepCopy() 566 &(this->Storage->Palettes[this->Storage->Palette].Colors); in DeepCopy() [all …]
|
/dports/math/vtk9/VTK-9.1.0/Common/Color/ |
H A D | vtkColorSeries.cxx | 331 this->Palette = vtkColorSeries::SPECTRUM; in Private() 332 this->Colors = &(this->Palettes[this->Palette].Colors); in Private() 339 this->Palette = idx; in SetScheme() 388 int pidx = this->Storage->Palette; in PrintSelf() 398 if (this->Storage->Palette == scheme) in SetColorScheme() 434 return this->Storage->Palettes[this->Storage->Palette].Name; in GetColorSchemeName() 451 if (this->Storage->Palettes[this->Storage->Palette].Name != name) in SetColorSchemeName() 453 this->Storage->Palettes[this->Storage->Palette].Name = name; in SetColorSchemeName() 461 return this->Storage->Palette; in GetColorScheme() 560 this->Storage->Palette = colors->Storage->Palette; in DeepCopy() [all …]
|
/dports/math/vtk8/VTK-8.2.0/Common/Color/ |
H A D | vtkColorSeries.cxx | 42 int Palette; // Currently-selected entry in Palettes member in vtkColorSeries::Private 330 this->Palette = vtkColorSeries::SPECTRUM; in Private() 331 this->Colors = &(this->Palettes[this->Palette].Colors); in Private() 338 this->Palette = idx; in SetScheme() 388 int pidx = this->Storage->Palette; in PrintSelf() 399 if (this->Storage->Palette == scheme) in SetColorScheme() 435 return this->Storage->Palettes[this->Storage->Palette].Name; in GetColorSchemeName() 462 return this->Storage->Palette; in GetColorScheme() 564 this->Storage->Palette = colors->Storage->Palette; in DeepCopy() 566 &(this->Storage->Palettes[this->Storage->Palette].Colors); in DeepCopy() [all …]
|
/dports/games/quadra/quadra-1.3.0/include/ |
H A D | game_menu.h | 52 …Create_game(Bitmap *bit, Font *font, Font *font2, const Palette& p, bool pnet_game, bool plocal_ne… 61 const Palette &pal; 63 Create_game_start(const Palette &pal_, Bitmap *bit, Font *font); 70 const Palette &pal; 72 Create_game_end(const Palette &pal_, Bitmap *bit, Font *font); 90 …Join_game(Bitmap *bit, Font *font, Font *font2, const Palette& p, const char *n, Dword sa, int spo… 103 Join_download(Bitmap *bit, Font *font, Font *font2, const Palette& p, bool prejoin);
|
/dports/games/openxcom/OpenXcom-1.0/src/Menu/ |
H A D | OptionsVideoState.cpp | 150 _txtDisplayX->setColor(Palette::blockOffset(15)-1); in OptionsVideoState() 173 _txtMode->setColor(Palette::blockOffset(8)+10); in OptionsVideoState() 176 _txtOptions->setColor(Palette::blockOffset(8)+10); in OptionsVideoState() 179 _btnLetterbox->setColor(Palette::blockOffset(15)-1); in OptionsVideoState() 187 _btnLockMouse->setColor(Palette::blockOffset(15)-1); in OptionsVideoState() 195 _txtLanguage->setColor(Palette::blockOffset(8)+10); in OptionsVideoState() 200 _cbxLanguage->setColor(Palette::blockOffset(15)-1); in OptionsVideoState() 258 _txtFilter->setColor(Palette::blockOffset(8)+10); in OptionsVideoState() 261 _cbxFilter->setColor(Palette::blockOffset(15)-1); in OptionsVideoState() 292 _txtGeoScale->setColor(Palette::blockOffset(8)+10); in OptionsVideoState() [all …]
|
/dports/games/openxcom/OpenXcom-1.0/src/Geoscape/ |
H A D | ItemsArrivingState.cpp | 81 _window->setColor(Palette::blockOffset(8)+5); in ItemsArrivingState() 84 _btnOk->setColor(Palette::blockOffset(8)+5); in ItemsArrivingState() 89 _btnGotoBase->setColor(Palette::blockOffset(8)+5); in ItemsArrivingState() 94 _txtTitle->setColor(Palette::blockOffset(8)+5); in ItemsArrivingState() 99 _txtItem->setColor(Palette::blockOffset(8)+5); in ItemsArrivingState() 102 _txtQuantity->setColor(Palette::blockOffset(8)+5); in ItemsArrivingState() 105 _txtDestination->setColor(Palette::blockOffset(8)+5); in ItemsArrivingState() 108 _lstTransfers->setColor(Palette::blockOffset(8)+10); in ItemsArrivingState() 109 _lstTransfers->setArrowColor(Palette::blockOffset(8)+5); in ItemsArrivingState()
|
/dports/x11-toolkits/qwt5-qt5/qwt5-qt5-2a9f1ae2/examples/dials/ |
H A D | cockpit_grid.cpp | 9 typedef QColorGroup Palette; typedef 11 typedef QPalette Palette; typedef 139 palette.setColor(cg, Palette::Base, base); in colorTheme() 140 palette.setColor(cg, Palette::Window, background); in colorTheme() 141 palette.setColor(cg, Palette::Mid, mid); in colorTheme() 142 palette.setColor(cg, Palette::Light, light); in colorTheme() 143 palette.setColor(cg, Palette::Dark, dark); in colorTheme() 144 palette.setColor(cg, Palette::Text, text); in colorTheme() 145 palette.setColor(cg, Palette::WindowText, foreground); in colorTheme()
|
/dports/graphics/drawpile/Drawpile-2.1.20/src/libclient/utils/ |
H A D | palettelistmodel.cpp | 47 QList<Palette*> palettes; in loadPalettes() 67 Palette *pal = Palette::fromFile(pfile, datapath != writablepath, this); in loadPalettes() 84 for(Palette *pal : _palettes) { in saveChanged() 147 Palette *PaletteListModel::getPalette(int index) in getPalette() 187 _palettes.append(new Palette(name, this)); in addNewPalette() 196 const Palette *pal = _palettes.at(index); in copyPalette() 216 Palette *copy = Palette::copy(pal, name, this); in copyPalette() 240 Palette *pal = _palettes.takeAt(row); in removeRows()
|
/dports/www/otter-browser/otter-browser-1.0.03/src/core/ |
H A D | ThemesManager.cpp | 44 int Palette::m_colorRoleEnumerator(-1); 46 Palette::Palette(const QString &path, QObject *parent) : QObject(parent) in Palette() function in Otter::Palette 50 …m_colorRoleEnumerator = Palette::staticMetaObject.indexOfEnumerator(QLatin1String("ColorRole").dat… in Palette() 72 …m_colors[static_cast<ColorRole>(Palette::staticMetaObject.enumerator(m_colorRoleEnumerator).keyToV… in Palette() 79 Palette::ColorRoleInformation Palette::getColor(ColorRole role) const in getColor() 104 Palette* ThemesManager::m_palette(nullptr); 123 …m_palette = new Palette(SessionsManager::getWritableDataPath(QLatin1String("colors.json")), m_inst… in createInstance() 178 Palette* ThemesManager::getPalette() in getPalette()
|
/dports/x11/eaglemode/eaglemode-0.95.0/src/emIlbm/ |
H A D | emIlbmImageFileModel.cpp | 60 L->Palette=NULL; in TryStartLoading() 85 if (!L->BodyPos || !L->Palette || !L->HeaderFound) { in TryContinueLoading() 105 if (!L->HeaderFound || L->Palette || size<(3<<L->Depth)) goto ErrFormat; in TryContinueLoading() 106 L->Palette=new unsigned char[3<<L->Depth]; in TryContinueLoading() 107 if (fread(L->Palette,1,3<<L->Depth,L->File)!=(size_t)(3<<L->Depth)) goto ErrFormat; in TryContinueLoading() 181 map[0]=L->Palette[row[x]*3+0]; in TryContinueLoading() 182 map[1]=L->Palette[row[x]*3+1]; in TryContinueLoading() 183 map[2]=L->Palette[row[x]*3+2]; in TryContinueLoading() 210 if (L->Palette) delete [] L->Palette; in QuitLoading() 255 if (L->Palette) progress+=10.0; in CalcFileProgress()
|
/dports/www/devd/devd-0.9/vendor/github.com/cortesi/termlog/ |
H A D | termlog.go | 32 type Palette struct { struct 49 var DefaultPalette = Palette{ 107 Palette *Palette member 117 Palette: &DefaultPalette, 131 f := l.Palette.Timestamp.SprintfFunc() 139 p = l.Palette.Say 141 p = l.Palette.Notice 143 p = l.Palette.Warn 145 p = l.Palette.Shout 147 p = l.Palette.Header
|
/dports/devel/modd/modd-0.8/vendor/github.com/cortesi/termlog/ |
H A D | termlog.go | 32 type Palette struct { struct 49 var DefaultPalette = Palette{ 107 Palette *Palette member 117 Palette: &DefaultPalette, 131 f := l.Palette.Timestamp.SprintfFunc() 139 p = l.Palette.Say 141 p = l.Palette.Notice 143 p = l.Palette.Warn 145 p = l.Palette.Shout 147 p = l.Palette.Header
|