Home
last modified time | relevance | path

Searched refs:Palette (Results 76 – 100 of 7012) sorted by relevance

12345678910>>...281

/dports/games/gemrb/gemrb-0.9.0/gemrb/plugins/TISImporter/
H A DTISImporter.cpp89 Color Palette[256]{}; in GetTile() local
101 Palette[0].g = 200; in GetTile()
102 return core->GetVideoDriver()->CreatePalettedSprite( Region(0,0,64,64), 8, pixels, Palette ); in GetTile()
110 Palette[i].r = Col[i].b; in GetTile()
111 Palette[i].g = Col[i].g; in GetTile()
112 Palette[i].b = Col[i].r; in GetTile()
113Palette[i].a = (Col[i].a) ? Col[i].a : 255; // alpha is unused by the originals but SDL will happi… in GetTile()
114 if (Palette[i].g==255 && !Palette[i].r && !Palette[i].b) { in GetTile()
124 …return core->GetVideoDriver()->CreatePalettedSprite( Region(0,0,64,64), 8, pixels, Palette, transp… in GetTile()
/dports/audio/ampache/ampache-php74-5.0.0/vendor/szymach/c-pchart/src/Chart/
H A DRadar.php106 $Palette = $Values->getPalette();
467 "R" => $Palette[$ID]["R"],
468 "G" => $Palette[$ID]["G"],
469 "B" => $Palette[$ID]["B"],
494 "R" => $Palette[$ID]["R"],
495 "G" => $Palette[$ID]["G"],
496 "B" => $Palette[$ID]["B"],
508 "B" => $Palette[$ID]["B"]
680 $Palette = $Values->getPalette();
944 "R" => $Palette[$ID]["R"],
[all …]
/dports/net/boinc-client/boinc-client_release-7.8-7.8.6/drupal/sites/default/boinc/modules/boincstats/includes/pchart/class/
H A DpRadar.class.php102 $Palette = $Values->getPalette();
324 …$Color = array("R"=>$Palette[$ID]["R"],"G"=>$Palette[$ID]["G"],"B"=>$Palette[$ID]["B"],"Alpha"=>$P…
344 …$Color = array("R"=>$Palette[$ID]["R"],"G"=>$Palette[$ID]["G"],"B"=>$Palette[$ID]["B"],"Alpha"=>$P…
350 …$Color = array("R"=>$Palette[$ID]["R"],"G"=>$Palette[$ID]["G"],"B"=>$Palette[$ID]["B"],"Alpha"=>$P…
358 …$Color = array("R"=>$Palette[$ID]["R"],"G"=>$Palette[$ID]["G"],"B"=>$Palette[$ID]["B"],"Alpha"=>$P…
366 …$OuterColor = array("R"=>$Palette[$ID]["R"]+20,"G"=>$Palette[$ID]["G"]+20,"B"=>$Palette[$ID]["B"]+…
608 …$Color = array("R"=>$Palette[$ID]["R"],"G"=>$Palette[$ID]["G"],"B"=>$Palette[$ID]["B"],"Alpha"=>$P…
628 …$Color = array("R"=>$Palette[$ID]["R"],"G"=>$Palette[$ID]["G"],"B"=>$Palette[$ID]["B"],"Alpha"=>$P…
634 …$Color = array("R"=>$Palette[$ID]["R"],"G"=>$Palette[$ID]["G"],"B"=>$Palette[$ID]["B"],"Alpha"=>$P…
643 …$Color = array("R"=>$Palette[$ID]["R"],"G"=>$Palette[$ID]["G"],"B"=>$Palette[$ID]["B"],"Alpha"=>$P…
[all …]
/dports/www/matomo/piwik/vendor/szymach/c-pchart/src/Chart/
H A DRadar.php106 $Palette = $Values->getPalette();
467 "R" => $Palette[$ID]["R"],
468 "G" => $Palette[$ID]["G"],
469 "B" => $Palette[$ID]["B"],
494 "R" => $Palette[$ID]["R"],
495 "G" => $Palette[$ID]["G"],
496 "B" => $Palette[$ID]["B"],
508 "B" => $Palette[$ID]["B"]
680 $Palette = $Values->getPalette();
944 "R" => $Palette[$ID]["R"],
[all …]
/dports/games/openxcom/OpenXcom-1.0/src/Geoscape/
H A DAllocatePsiTrainingState.cpp76 _window->setColor(Palette::blockOffset(13)+10); in AllocatePsiTrainingState()
79 _btnOk->setColor(Palette::blockOffset(13)+10); in AllocatePsiTrainingState()
84 _txtTitle->setColor(Palette::blockOffset(13)+10); in AllocatePsiTrainingState()
90 _txtRemaining->setColor(Palette::blockOffset(13)+10); in AllocatePsiTrainingState()
91 _txtRemaining->setSecondaryColor(Palette::blockOffset(13)); in AllocatePsiTrainingState()
94 _txtName->setColor(Palette::blockOffset(13)+10); in AllocatePsiTrainingState()
97 _txtPsiStrength->setColor(Palette::blockOffset(13)+10); in AllocatePsiTrainingState()
100 _txtPsiSkill->setColor(Palette::blockOffset(13)+10); in AllocatePsiTrainingState()
103 _txtTraining->setColor(Palette::blockOffset(13)+10); in AllocatePsiTrainingState()
106 _lstSoldiers->setColor(Palette::blockOffset(13)+10); in AllocatePsiTrainingState()
[all …]
/dports/games/vavoom/vavoom-1.33/source/
H A Dr_data.cpp274 T->Table[i] = R_LookupRGB(T->Palette[i].r, T->Palette[i].g, in InitColourMaps()
275 T->Palette[i].b); in InitColourMaps()
290 T->Table[i] = R_LookupRGB(T->Palette[i].r, T->Palette[i].g, in InitColourMaps()
306 T->Table[i] = R_LookupRGB(T->Palette[i].r, T->Palette[i].g, in InitColourMaps()
657 Strm.Serialise(Palette, sizeof(Palette)); in Serialise()
696 M_RgbToHsv(Palette[Idx].r, Palette[Idx].g,Palette[Idx].b, TmpH, TmpS, TmpV); in BuildPlayerTrans()
698 Palette[Idx].g, Palette[Idx].b); in BuildPlayerTrans()
699 Table[Idx] = R_LookupRGB(Palette[Idx].r, Palette[Idx].g, in BuildPlayerTrans()
825 Table[i] = R_LookupRGB(Palette[i].r, Palette[i].g, Palette[i].b); in MapToColours()
860 Table[i] = R_LookupRGB(Palette[i].r, Palette[i].g, Palette[i].b); in BuildBloodTrans()
[all …]
/dports/games/openxcom/OpenXcom-1.0/src/Ufopaedia/
H A DArticleStateItem.cpp57 _btnOk->setColor(Palette::blockOffset(9)); in ArticleStateItem()
58 _btnPrev->setColor(Palette::blockOffset(9)); in ArticleStateItem()
59 _btnNext->setColor(Palette::blockOffset(9)); in ArticleStateItem()
61 _txtTitle->setColor(Palette::blockOffset(14)+15); in ArticleStateItem()
79 _txtShotType->setColor(Palette::blockOffset(14)+15); in ArticleStateItem()
85 _txtAccuracy->setColor(Palette::blockOffset(14)+15); in ArticleStateItem()
91 _txtTuCost->setColor(Palette::blockOffset(14)+15); in ArticleStateItem()
159 _txtInfo->setColor(Palette::blockOffset(14)+15); in ArticleStateItem()
191 _txtDamage->setColor(Palette::blockOffset(14)+15); in ArticleStateItem()
197 _txtAmmo->setColor(Palette::blockOffset(14)+15); in ArticleStateItem()
[all …]
/dports/games/openxcom/OpenXcom-1.0/src/Basescape/
H A DSoldierMemorialState.cpp77 _window->setColor(Palette::blockOffset(13)+10); in SoldierMemorialState()
80 _btnOk->setColor(Palette::blockOffset(13)+10); in SoldierMemorialState()
85 _txtTitle->setColor(Palette::blockOffset(13)+10); in SoldierMemorialState()
90 _txtName->setColor(Palette::blockOffset(13)+10); in SoldierMemorialState()
93 _txtRank->setColor(Palette::blockOffset(13)+10); in SoldierMemorialState()
96 _txtDate->setColor(Palette::blockOffset(13)+10); in SoldierMemorialState()
106 _txtRecruited->setColor(Palette::blockOffset(13)+10); in SoldierMemorialState()
110 _txtLost->setColor(Palette::blockOffset(13)+10); in SoldierMemorialState()
111 _txtLost->setSecondaryColor(Palette::blockOffset(13)); in SoldierMemorialState()
114 _lstSoldiers->setColor(Palette::blockOffset(15)+6); in SoldierMemorialState()
[all …]
H A DCraftSoldiersState.cpp78 _window->setColor(Palette::blockOffset(15)+6); in CraftSoldiersState()
81 _btnOk->setColor(Palette::blockOffset(13)+10); in CraftSoldiersState()
91 _txtName->setColor(Palette::blockOffset(15)+6); in CraftSoldiersState()
94 _txtRank->setColor(Palette::blockOffset(15)+6); in CraftSoldiersState()
152 color = Palette::blockOffset(13); in init()
156 color = Palette::blockOffset(15)+6; in init()
160 color = Palette::blockOffset(13)+10; in init()
289 Uint8 color = Palette::blockOffset(13)+10; in lstSoldiersClick()
294 color = Palette::blockOffset(13)+10; in lstSoldiersClick()
298 color = Palette::blockOffset(15)+6; in lstSoldiersClick()
[all …]
H A DMonthlyCostsState.cpp80 _window->setColor(Palette::blockOffset(15)+1); in MonthlyCostsState()
83 _btnOk->setColor(Palette::blockOffset(15)+1); in MonthlyCostsState()
89 _txtTitle->setColor(Palette::blockOffset(15)+1); in MonthlyCostsState()
94 _txtCost->setColor(Palette::blockOffset(15)+1); in MonthlyCostsState()
97 _txtQuantity->setColor(Palette::blockOffset(15)+1); in MonthlyCostsState()
100 _txtTotal->setColor(Palette::blockOffset(15)+1); in MonthlyCostsState()
103 _txtRental->setColor(Palette::blockOffset(15)+1); in MonthlyCostsState()
106 _txtSalaries->setColor(Palette::blockOffset(15)+1); in MonthlyCostsState()
109 _txtIncome->setColor(Palette::blockOffset(13)+10); in MonthlyCostsState()
114 _lstCrafts->setColor(Palette::blockOffset(13)+10); in MonthlyCostsState()
[all …]
H A DCraftsState.cpp77 _window->setColor(Palette::blockOffset(15)+1); in CraftsState()
80 _btnOk->setColor(Palette::blockOffset(13)+10); in CraftsState()
85 _txtTitle->setColor(Palette::blockOffset(15)+1); in CraftsState()
89 _txtBase->setColor(Palette::blockOffset(15)+1); in CraftsState()
93 _txtName->setColor(Palette::blockOffset(15)+1); in CraftsState()
96 _txtStatus->setColor(Palette::blockOffset(15)+1); in CraftsState()
99 _txtWeapon->setColor(Palette::blockOffset(15)+1); in CraftsState()
103 _txtCrew->setColor(Palette::blockOffset(15)+1); in CraftsState()
106 _txtHwp->setColor(Palette::blockOffset(15)+1); in CraftsState()
109 _lstCrafts->setColor(Palette::blockOffset(13)+10); in CraftsState()
[all …]
H A DPlaceFacilityState.cpp79 _window->setColor(Palette::blockOffset(13)+10); in PlaceFacilityState()
87 _btnCancel->setColor(Palette::blockOffset(13)+10); in PlaceFacilityState()
92 _txtFacility->setColor(Palette::blockOffset(13)+10); in PlaceFacilityState()
95 _txtCost->setColor(Palette::blockOffset(13)+10); in PlaceFacilityState()
98 _numCost->setColor(Palette::blockOffset(13)); in PlaceFacilityState()
102 _txtTime->setColor(Palette::blockOffset(13)+10); in PlaceFacilityState()
105 _numTime->setColor(Palette::blockOffset(13)); in PlaceFacilityState()
109 _txtMaintenance->setColor(Palette::blockOffset(13)+10); in PlaceFacilityState()
112 _numMaintenance->setColor(Palette::blockOffset(13)); in PlaceFacilityState()
143 …_game->pushState(new ErrorMessageState(_game, "STR_CANNOT_BUILD_HERE", _palette, Palette::blockOff… in viewClick()
[all …]
/dports/x11/eaglemode/eaglemode-0.95.0/src/emTga/
H A DemTgaImageFileModel.cpp54 L->Palette=NULL; in TryStartLoading()
94 L->Palette=new emColor[L->CMapSize]; in TryStartLoading()
105 L->Palette[i].SetBlue((emByte)Read8()); in TryStartLoading()
106 L->Palette[i].SetGreen((emByte)Read8()); in TryStartLoading()
107 L->Palette[i].SetRed((emByte)Read8()); in TryStartLoading()
108 L->Palette[i].SetAlpha(255); in TryStartLoading()
111 L->Palette[i].SetBlue((emByte)Read8()); in TryStartLoading()
112 L->Palette[i].SetGreen((emByte)Read8()); in TryStartLoading()
113 L->Palette[i].SetRed((emByte)Read8()); in TryStartLoading()
191 L->RunCol=L->Palette[c]; in TryContinueLoading()
[all …]
/dports/www/beehive/beehive-0.4.0/vendor/github.com/muesli/gamut/
H A Dgamut.go13 type Palette struct { struct
18 func (g Palette) MixedWith(p Palette) Palette { argument
19 np := Palette{}
26 func (g *Palette) AddColors(cc Colors) { argument
47 func (g Palette) Colors() Colors { argument
57 func (g Palette) Clamped(cc []color.Color) Colors { argument
67 func (g Palette) Name(color color.Color) (Colors, float64) { argument
86 func (g Palette) Filter(name string) Colors { argument
/dports/cad/leocad/leocad-21.06/common/
H A Dlc_partpalettedialog.cpp12 for (const lcPartPalette& Palette : PartPalettes) in lcPartPaletteDialog() local
14 QListWidgetItem* Item = new QListWidgetItem(Palette.Name); in lcPartPaletteDialog()
25 for (lcPartPalette* Palette : mImportedPalettes) in ~lcPartPaletteDialog()
26 delete Palette; in ~lcPartPaletteDialog()
51 lcPartPalette Palette; in accept() local
52 Palette.Name = Item->text(); in accept()
54 Palette.Parts = std::move(OldPalette->Parts); in accept()
56 PartPalettes.emplace_back(std::move(Palette)); in accept()
123 lcPartPalette* Palette = new lcPartPalette; in on_ImportButton_clicked() local
124 Palette->Name = Dialog.GetSetDescription(); in on_ImportButton_clicked()
[all …]
/dports/games/gemrb/gemrb-0.9.0/gemrb/plugins/BMPImporter/
H A DBMPImporter.cpp34 Palette = NULL; in BMPImporter()
42 free( Palette ); in ~BMPImporter()
52 free( Palette ); in Open()
53 Palette = NULL; in Open()
94 Palette = NULL; in Open()
103 str->Read( &Palette[i].b, 1 ); in Open()
104 str->Read( &Palette[i].g, 1 ); in Open()
105 str->Read( &Palette[i].r, 1 ); in Open()
106 str->Read( &Palette[i].a, 1 ); in Open()
107 Palette[i].a = (Palette[i].a == 0) ? 0xff : Palette[i].a; in Open()
[all …]
/dports/games/openxcom/OpenXcom-1.0/src/Menu/
H A DOptionsBattlescapeState.cpp102 _txtEdgeScroll->setColor(Palette::blockOffset(8)+10); in OptionsBattlescapeState()
110 _cbxEdgeScroll->setColor(Palette::blockOffset(15)-1); in OptionsBattlescapeState()
118 _txtDragScroll->setColor(Palette::blockOffset(8)+10); in OptionsBattlescapeState()
146 _txtFireSpeed->setColor(Palette::blockOffset(8)+10); in OptionsBattlescapeState()
149 _slrFireSpeed->setColor(Palette::blockOffset(15)-1); in OptionsBattlescapeState()
157 _txtXcomSpeed->setColor(Palette::blockOffset(8)+10); in OptionsBattlescapeState()
182 _btnArrows->setColor(Palette::blockOffset(15)-1); in OptionsBattlescapeState()
190 _btnTuCost->setColor(Palette::blockOffset(15)-1); in OptionsBattlescapeState()
198 _txtOptions->setColor(Palette::blockOffset(8)+10); in OptionsBattlescapeState()
201 _btnTooltips->setColor(Palette::blockOffset(15)-1); in OptionsBattlescapeState()
[all …]
/dports/net/tigervnc-server/tigervnc-1.12.0/common/rfb/
H A DTightEncoder.h38 virtual void writeRect(const PixelBuffer* pb, const Palette& palette);
44 void writeMonoRect(const PixelBuffer* pb, const Palette& palette);
45 void writeIndexedRect(const PixelBuffer* pb, const Palette& palette);
46 void writeFullColourRect(const PixelBuffer* pb, const Palette& palette);
60 const PixelFormat& pf, const Palette& palette);
63 const PixelFormat& pf, const Palette& palette);
66 const PixelFormat& pf, const Palette& palette);
70 const PixelFormat& pf, const Palette& palette);
73 const PixelFormat& pf, const Palette& palette);
/dports/net/tigervnc-viewer/tigervnc-1.12.0/common/rfb/
H A DTightEncoder.h38 virtual void writeRect(const PixelBuffer* pb, const Palette& palette);
44 void writeMonoRect(const PixelBuffer* pb, const Palette& palette);
45 void writeIndexedRect(const PixelBuffer* pb, const Palette& palette);
46 void writeFullColourRect(const PixelBuffer* pb, const Palette& palette);
60 const PixelFormat& pf, const Palette& palette);
63 const PixelFormat& pf, const Palette& palette);
66 const PixelFormat& pf, const Palette& palette);
70 const PixelFormat& pf, const Palette& palette);
73 const PixelFormat& pf, const Palette& palette);
/dports/games/manaplus/manaplus-2.1.3.17/src/gui/
H A Dpalette.cpp36 const Color Palette::BLACK = Color(0, 0, 0, 255);
37 Palette::Palettes Palette::mInstances;
39 const Color Palette::RAINBOW_COLORS[7] =
50 const int Palette::RAINBOW_COLOR_COUNT = 7;
52 Palette::Palette(const int size) : in Palette() function in Palette
61 Palette::~Palette() in ~Palette()
66 const Color& Palette::getCharColor(const signed char c, bool &valid) const in getCharColor()
79 void Palette::advanceGradients() in advanceGradients()
85 void Palette::advanceGradient() in advanceGradient()
/dports/graphics/icoutils/icoutils-0.32.3/icotool/
H A Dicotool.h27 typedef struct _Palette Palette; typedef
30 Palette *palette_new(void);
31 void palette_free(Palette *palette);
32 void palette_add(Palette *palette, uint8_t r, uint8_t g, uint8_t b);
33 bool palette_next(Palette *palette, uint8_t *r, uint8_t *g, uint8_t *b);
34 void palette_assign_indices(Palette *palette);
35 uint32_t palette_lookup(Palette *palette, uint8_t r, uint8_t g, uint8_t b);
36 uint32_t palette_count(Palette *palette);
/dports/graphics/aseprite/aseprite-1.2.9/src/app/modules/
H A Dpalettes.cpp27 static Palette* ase_default_palette = NULL;
30 static Palette* ase_current_palette = NULL;
34 ase_default_palette = new Palette(frame_t(0), 256); in init_module_palette()
35 ase_current_palette = new Palette(frame_t(0), 256); in init_module_palette()
47 base::UniquePtr<Palette> pal; in load_default_palette()
122 Palette* get_current_palette() in get_current_palette()
127 Palette* get_default_palette() in get_default_palette()
132 void set_default_palette(const Palette* palette) in set_default_palette()
141 bool set_current_palette(const Palette *_palette, bool forced) in set_current_palette()
143 const Palette* palette = (_palette ? _palette: ase_default_palette); in set_current_palette()
/dports/print/texlive-base/texlive-20150521-source/utils/asymptote/base/
H A Dpalette.asy362 pen[] Palette;
378 return Palette;
390 pen[] Palette;
407 return Palette;
424 pen[] Palette;
474 return Palette;
499 int n=Palette.length;
502 Palette[i]=i*ninv*Palette[i];
503 return Palette;
527 Palette[i]=cmyk(Palette[i]);
[all …]
/dports/games/flobopuyo/flobopuyo-0.20/
H A Dcorona_palette.h18 typedef ColorRGB Palette[256]; typedef
32 void expandPalette(int i, Palette dest) const;
46 Palette m_srcpal;
47 Palette m_destpal;
48 Palette m_curpal;
61 const Palette &getPalette() const { return m_curpal; } in getPalette()
68 void paletteToRGBA(int dest[256], const Palette src);
/dports/textproc/redet/redet-8.26/
H A Dredet.tcl2287 global Palette
2294 set Palette(dot,re) [list {. F}]
2295 set Palette(dot,link) [list Dot]
2374 set Palette(StarPrev,re) [list {* F} ]
2390 set Palette(starclass,re) [list {* F}]
2414 set Palette(StarAny,re) [list {* F}]
3222 set Palette(belldb,link) [list Bell]
8578 set gloss $Palette($test,gloss);
8579 set re $Palette($test,re);
8652 global Palette
[all …]

12345678910>>...281