Home
last modified time | relevance | path

Searched refs:Palette (Results 226 – 250 of 8292) sorted by relevance

12345678910>>...332

/dports/games/openxcom/OpenXcom-1.0/src/Engine/
H A DState.cpp264 window->setColor(Palette::blockOffset(0)-1); in applyBattlescapeTheme()
271 text->setColor(Palette::blockOffset(0)-1); in applyBattlescapeTheme()
277 button->setColor(Palette::blockOffset(0)-1); in applyBattlescapeTheme()
283 edit->setColor(Palette::blockOffset(0)-1); in applyBattlescapeTheme()
289 list->setColor(Palette::blockOffset(0)-1); in applyBattlescapeTheme()
290 list->setArrowColor(Palette::blockOffset(0)); in applyBattlescapeTheme()
296 arrow->setColor(Palette::blockOffset(0)); in applyBattlescapeTheme()
301 slider->setColor(Palette::blockOffset(0)-1); in applyBattlescapeTheme()
307 combo->setColor(Palette::blockOffset(0)-1); in applyBattlescapeTheme()
308 combo->setArrowColor(Palette::blockOffset(0)); in applyBattlescapeTheme()
[all …]
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/rich/
H A D_palettes.py1 from .palette import Palette
5 WINDOWS_PALETTE = Palette(
27 STANDARD_PALETTE = Palette(
50 EIGHT_BIT_PALETTE = Palette(
/dports/textproc/py-rich/rich-10.16.1/rich/
H A D_palettes.py1 from .palette import Palette
5 WINDOWS_PALETTE = Palette(
27 STANDARD_PALETTE = Palette(
50 EIGHT_BIT_PALETTE = Palette(
/dports/multimedia/dvdstyler/DVDStyler-3.1/src/
H A DMenuPalettes.h21 class Palette: public wxPalette {
27 Palette() { coloursCount = 0; m_hasTranspColour = false; } in Palette() function
28 virtual ~Palette() {} in ~Palette()
33 WX_DECLARE_HASH_MAP(int, Palette, wxIntegerHash, wxIntegerEqual, PaletteMap);
38 Palette m_palette1;
/dports/graphics/gpxsee/GPXSee-7.32/src/GUI/
H A Dpalette.h7 class Palette
10 Palette(const QColor &color = Qt::blue, qreal shift = 0.62);
20 bool operator==(const Palette &other) const
23 bool operator!=(const Palette &other) const
32 QDebug operator<<(QDebug dbg, const Palette &palette);
/dports/games/openxcom/OpenXcom-1.0/src/Basescape/
H A DTransferConfirmState.cpp65 _window->setColor(Palette::blockOffset(13)+5); in TransferConfirmState()
68 _btnCancel->setColor(Palette::blockOffset(15)+6); in TransferConfirmState()
73 _btnOk->setColor(Palette::blockOffset(15)+6); in TransferConfirmState()
78 _txtTitle->setColor(Palette::blockOffset(13)+10); in TransferConfirmState()
83 _txtCost->setColor(Palette::blockOffset(13)+10); in TransferConfirmState()
87 _txtTotal->setColor(Palette::blockOffset(15)+1); in TransferConfirmState()
H A DCraftWeaponsState.cpp75 _window->setColor(Palette::blockOffset(15)+6); in CraftWeaponsState()
78 _btnCancel->setColor(Palette::blockOffset(15)+6); in CraftWeaponsState()
83 _txtTitle->setColor(Palette::blockOffset(15)+6); in CraftWeaponsState()
88 _txtArmament->setColor(Palette::blockOffset(15)+6); in CraftWeaponsState()
91 _txtQuantity->setColor(Palette::blockOffset(15)+6); in CraftWeaponsState()
94 _txtAmmunition->setColor(Palette::blockOffset(15)+6); in CraftWeaponsState()
98 _lstWeapons->setColor(Palette::blockOffset(13)+10); in CraftWeaponsState()
99 _lstWeapons->setArrowColor(Palette::blockOffset(15)+6); in CraftWeaponsState()
/dports/games/openxcom/OpenXcom-1.0/src/Menu/
H A DDeleteGameState.cpp71 _window->setColor(Palette::blockOffset(8)+10); in DeleteGameState()
74 _btnYes->setColor(Palette::blockOffset(8)+10); in DeleteGameState()
79 _btnNo->setColor(Palette::blockOffset(8)+10); in DeleteGameState()
84 _txtMessage->setColor(Palette::blockOffset(8)+10); in DeleteGameState()
116 …_game->pushState(new ErrorMessageState(_game, error, _palette, Palette::blockOffset(8)+10, "BACK01… in btnYesClick()
118 …_game->pushState(new ErrorMessageState(_game, error, _palette, Palette::blockOffset(0), "TAC00.SCR… in btnYesClick()
H A DOptionsBaseState.cpp102 _window->setColor(Palette::blockOffset(8)+5); in OptionsBaseState()
105 _btnVideo->setColor(Palette::blockOffset(8)+5); in OptionsBaseState()
109 _btnAudio->setColor(Palette::blockOffset(8)+5); in OptionsBaseState()
113 _btnControls->setColor(Palette::blockOffset(8)+5); in OptionsBaseState()
117 _btnGeoscape->setColor(Palette::blockOffset(8)+5); in OptionsBaseState()
125 _btnAdvanced->setColor(Palette::blockOffset(8)+5); in OptionsBaseState()
129 _btnMods->setColor(Palette::blockOffset(8)+5); in OptionsBaseState()
134 _btnOk->setColor(Palette::blockOffset(8)+5); in OptionsBaseState()
139 _btnCancel->setColor(Palette::blockOffset(8)+5); in OptionsBaseState()
144 _btnDefault->setColor(Palette::blockOffset(8)+5); in OptionsBaseState()
[all …]
/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/
H A DActionMenuItem.cpp43 _frame->setColor(Palette::blockOffset(0)+7); in ActionMenuItem()
44 _frame->setBackground(Palette::blockOffset(0)+14); in ActionMenuItem()
51 _txtDescription->setColor(Palette::blockOffset(0)-1); in ActionMenuItem()
58 _txtAcc->setColor(Palette::blockOffset(0)-1); in ActionMenuItem()
64 _txtTU->setColor(Palette::blockOffset(0)-1); in ActionMenuItem()
148 _frame->setBackground(Palette::blockOffset(0) + 11); in mouseIn()
162 _frame->setBackground(Palette::blockOffset(0) + 14); in mouseOut()
H A DPrimeGrenadeState.cpp66 _bg->drawRect(0, 0, _bg->getWidth(), _bg->getHeight(), Palette::blockOffset(6)+9); in PrimeGrenadeState()
69 _frame->setColor(Palette::blockOffset(6)+3); in PrimeGrenadeState()
70 _frame->setBackground(Palette::blockOffset(6)+12); in PrimeGrenadeState()
78 _title->setColor(Palette::blockOffset(1)-1); in PrimeGrenadeState()
90 _button[i]->drawRect(&square, Palette::blockOffset(0)+15); in PrimeGrenadeState()
95 _button[i]->drawRect(&square, Palette::blockOffset(6)+12); in PrimeGrenadeState()
102 _number[i]->setColor(Palette::blockOffset(1)-1); in PrimeGrenadeState()
/dports/games/openxcom/OpenXcom-1.0/src/Ufopaedia/
H A DArticleStateTextImage.cpp49 _btnOk->setColor(Palette::blockOffset(5)+3); in ArticleStateTextImage()
50 _btnPrev->setColor(Palette::blockOffset(5)+3); in ArticleStateTextImage()
51 _btnNext->setColor(Palette::blockOffset(5)+3); in ArticleStateTextImage()
53 _txtTitle->setColor(Palette::blockOffset(15)+4); in ArticleStateTextImage()
63 _txtInfo->setColor(Palette::blockOffset(15)-1); in ArticleStateTextImage()
/dports/graphics/p5-Color-Palette/Color-Palette-0.100003/eg/
H A Ddemo.pl4 use Color::Palette;
5 use Color::Palette::Schema;
9 my $pb_palette = Color::Palette->new({
32 my $lb_palette = Color::Palette->new({
55 my $template = Color::Palette::Schema->new({
/dports/net-mgmt/pandorafms_console/pandorafms_console-6.0SP2/include/graphs/pChart/
H A DpData.class.php366 foreach ($this->Palette as $Key => $Value) {
368 $this->Palette[$Key]["R"] = $R;
369 $this->Palette[$Key]["G"] = $G;
370 $this->Palette[$Key]["B"] = $B;
374 $this->Palette[$Key]["Alpha"] = $Alpha;}
383 if ( $Overwrite ) { $this->Palette = ""; }
393 if ( $this->Palette == "" ) { $ID = 0; } else { $ID = count($this->Palette); }
405 if ( !isset($this->Palette[$ID]) )
425 if ( isset($this->Palette[$ID]) )
450 if ( isset($this->Palette[$ID]) )
[all …]
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/prolog/lib/
H A Dpce_colour_item.pl76 Palette:[chain]) :-> label
77 ( Palette == @default
79 ; Palette1 = Palette
112 make_default_palette(Palette) :-
113 new(Palette, chain),
139 get(CI, member, palette, Palette),
142 ( get(Palette?members, find,
243 palette(CI, Palette:chain) :->
249 palette(CI, Palette:chain) :<-
268 get(Palette?members, find,
[all …]
/dports/graphics/devil/devil-1.7.8/src-IL/src/
H A Dil_stack.c187 ifree(Image->Pal.Palette); in ilCloseImage()
188 Image->Pal.Palette = NULL; in ilCloseImage()
236 ILAPI ILboolean ILAPIENTRY ilIsValidPal(ILpal *Palette) in ilIsValidPal() argument
238 if (Palette == NULL) in ilIsValidPal()
240 if (Palette->PalSize == 0 || Palette->Palette == NULL) in ilIsValidPal()
242 switch (Palette->PalType) in ilIsValidPal()
257 ILAPI void ILAPIENTRY ilClosePal(ILpal *Palette) in ilClosePal() argument
259 if (Palette == NULL) in ilClosePal()
261 if (!ilIsValidPal(Palette)) in ilClosePal()
263 ifree(Palette->Palette); in ilClosePal()
[all …]
H A Dil_wal.c110 Mipmaps[i]->Pal.Palette = (ILubyte*)ialloc(768); in iLoadWalInternal()
111 if (Mipmaps[i]->Pal.Palette == NULL) in iLoadWalInternal()
113 memcpy(Mipmaps[i]->Pal.Palette, ilDefaultQ2Pal, 768); in iLoadWalInternal()
138 if (iCurImage->Pal.Palette && iCurImage->Pal.PalSize && iCurImage->Pal.PalType != IL_PAL_NONE) in iLoadWalInternal()
139 ifree(iCurImage->Pal.Palette); in iLoadWalInternal()
140 iCurImage->Pal.Palette = (ILubyte*)ialloc(768); in iLoadWalInternal()
141 if (iCurImage->Pal.Palette == NULL) in iLoadWalInternal()
146 memcpy(iCurImage->Pal.Palette, ilDefaultQ2Pal, 768); in iLoadWalInternal()
/dports/games/openxcom/OpenXcom-1.0/src/Geoscape/
H A DMonthlyReportState.cpp81 _window->setColor(Palette::blockOffset(15)-1); in MonthlyReportState()
84 _btnOk->setColor(Palette::blockOffset(8)+10); in MonthlyReportState()
90 _btnBigOk->setColor(Palette::blockOffset(8)+10); in MonthlyReportState()
97 _txtTitle->setColor(Palette::blockOffset(15)-1); in MonthlyReportState()
101 _txtFailure->setColor(Palette::blockOffset(8)+10); in MonthlyReportState()
136 _txtMonth->setColor(Palette::blockOffset(15)-1); in MonthlyReportState()
137 _txtMonth->setSecondaryColor(Palette::blockOffset(8)+10); in MonthlyReportState()
159 _txtRating->setColor(Palette::blockOffset(15)-1); in MonthlyReportState()
168 _txtChange->setColor(Palette::blockOffset(15)-1); in MonthlyReportState()
172 _txtDesc->setColor(Palette::blockOffset(8)+10); in MonthlyReportState()
[all …]
H A DTargetInfoState.cpp65 _window->setColor(Palette::blockOffset(8)+10); in TargetInfoState()
68 _btnIntercept->setColor(Palette::blockOffset(8)+5); in TargetInfoState()
72 _btnOk->setColor(Palette::blockOffset(8)+5); in TargetInfoState()
77 _txtTitle->setColor(Palette::blockOffset(8)+10); in TargetInfoState()
84 _txtTargetted->setColor(Palette::blockOffset(15)-1); in TargetInfoState()
88 _txtFollowers->setColor(Palette::blockOffset(15)-1); in TargetInfoState()
H A DAlienTerrorState.cpp70 _window->setColor(Palette::blockOffset(8)+5); in AlienTerrorState()
73 _btnIntercept->setColor(Palette::blockOffset(8)+5); in AlienTerrorState()
77 _btnCentre->setColor(Palette::blockOffset(8)+5); in AlienTerrorState()
81 _btnCancel->setColor(Palette::blockOffset(8)+5); in AlienTerrorState()
86 _txtTitle->setColor(Palette::blockOffset(8)+5); in AlienTerrorState()
92 _txtCity->setColor(Palette::blockOffset(8)+5); in AlienTerrorState()
/dports/science/cdk/cdk-cdk-2.3/display/renderextra/src/main/java/org/openscience/cdk/renderer/generators/
H A DHighlightGenerator.java129 final Palette palette = model.getParameter(HighlightPalette.class).getValue(); in generate()
240 public static Palette createPalette(final Color[] colors) { in createPalette()
250 public static Palette createPalette(final Color color, final Color... colors) { in createPalette()
266 public static Palette createAutoPalette(float saturation, float brightness, int alpha) { in createAutoPalette()
290 public static Palette createAutoGenPalette(boolean transparent) { in createAutoGenPalette()
298 public static interface Palette { interface in HighlightGenerator
313 private static final class FixedPalette implements Palette {
344 private static final class AutoGenerated implements Palette {
438 private static final Palette DEFAULT_PALETTE = createAutoGenPalette(true);
441 public static class HighlightPalette extends AbstractGeneratorParameter<Palette> {
[all …]
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/hexen/
H A Df_finale.c65 static fixed_t *Palette; variable
247 Palette = Z_Malloc(768 * sizeof(fixed_t), PU_STATIC, 0); in InitializeFade()
256 Palette[i] = 0; in InitializeFade()
268 Palette[i] = RealPalette[i] << FRACBITS; in InitializeFade()
269 PaletteDelta[i] = FixedDiv(Palette[i], -70 * FRACUNIT); in InitializeFade()
283 Z_Free(Palette); in DeInitializeFade()
300 Palette[i] += PaletteDelta[i]; in FadePic()
301 RealPalette[i] = Palette[i] >> FRACBITS; in FadePic()
/dports/games/uhexen/uhexen-0.601/src/
H A Df_finale.c56 static fixed_t *Palette; variable
237 Palette = Z_Malloc(768*sizeof(fixed_t), PU_STATIC, 0); in InitializeFade()
246 Palette[i] = 0; in InitializeFade()
256 Palette[i] = RealPalette[i]<<FRACBITS; in InitializeFade()
257 PaletteDelta[i] = FixedDiv(Palette[i], -70*FRACUNIT); in InitializeFade()
271 Z_Free(Palette); in DeInitializeFade()
288 Palette[i] += PaletteDelta[i]; in FadePic()
289 RealPalette[i] = Palette[i]>>FRACBITS; in FadePic()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/hexen/
H A Df_finale.c65 static fixed_t *Palette; variable
247 Palette = Z_Malloc(768 * sizeof(fixed_t), PU_STATIC, 0); in InitializeFade()
256 Palette[i] = 0; in InitializeFade()
268 Palette[i] = RealPalette[i] << FRACBITS; in InitializeFade()
269 PaletteDelta[i] = FixedDiv(Palette[i], -70 * FRACUNIT); in InitializeFade()
283 Z_Free(Palette); in DeInitializeFade()
300 Palette[i] += PaletteDelta[i]; in FadePic()
301 RealPalette[i] = Palette[i] >> FRACBITS; in FadePic()
/dports/graphics/aseprite/aseprite-1.2.9/src/render/
H A Dquantization.h20 class Palette; variable
33 void calculate(doc::Palette* palette, int maskIndex);
40 doc::Palette* create_palette_from_sprite(
45 doc::Palette* newPalette, // Can be NULL to create a new palette
57 const doc::Palette* palette,

12345678910>>...332