Home
last modified time | relevance | path

Searched refs:ColorCache (Results 1 – 25 of 74) sorted by relevance

123

/dports/devel/kdevelop/kdevelop-21.12.3/kdevplatform/language/highlighting/
H A Dcolorcache.cpp33 ColorCache* ColorCache::m_self = nullptr;
35 ColorCache::ColorCache(QObject* parent) in ColorCache() function in KDevelop::ColorCache
67 bool ColorCache::tryActiveDocument() in tryActiveDocument()
77 ColorCache::~ColorCache() in ~ColorCache()
84 ColorCache* ColorCache::self() in self()
87 m_self = new ColorCache; in self()
92 void ColorCache::generateColors() in generateColors()
133 void ColorCache::slotDocumentActivated() in slotDocumentActivated()
235 void ColorCache::update() in update()
246 void ColorCache::updateInternal() in updateInternal()
[all …]
H A Dcolorcache.h29 class KDEVPLATFORMLANGUAGE_EXPORT ColorCache
35 ~ColorCache() override;
38 static ColorCache* self();
115 explicit ColorCache(QObject* parent = nullptr);
116 static ColorCache* m_self;
H A Dcodehighlighting.cpp54 connect(ColorCache::self(), &ColorCache::colorsGotChanged, in CodeHighlighting()
128 ColorMap ret(ColorCache::self()->validColorCount() + 1, nullptr); in emptyColorMap()
251 highlightDeclaration(dec, ColorCache::self()->generatedColor(colorNum)); in highlightDUChain()
258 colorNum = (colorNum + 1) % ColorCache::self()->primaryColorCount(); in highlightDUChain()
260 colorNum = ColorCache::self()->primaryColorCount(); in highlightDUChain()
265 if (colorNum < ColorCache::self()->primaryColorCount()) { in highlightDUChain()
269 highlightDeclaration(dec, ColorCache::self()->generatedColor(colorNum)); in highlightDUChain()
272 colorNum = ColorCache::self()->primaryColorCount(); in highlightDUChain()
275 if (colorNum == ColorCache::self()->validColorCount()) { in highlightDUChain()
281 if (colorNum < ColorCache::self()->validColorCount()) { in highlightDUChain()
[all …]
H A Dconfigurablecolors.h17 class ColorCache; variable
44 explicit CodeHighlightingColors(ColorCache* cache);
/dports/print/texlive-base/texlive-20150521-source/texk/dvipng/dvipng-1.15/
H A Dset.c40 static int ColorCache[gdAlphaMax+1]; variable
62 ColorCache[0] in CreateImage()
69 ColorCache[gdAlphaMax]=-1; in CreateImage()
132 ColorCache[0],Transparent); in WriteImage()
134 ColorCache[0],Transparent); in WriteImage()
136 ColorCache[0],Transparent); in WriteImage()
138 ColorCache[0],Transparent); in WriteImage()
225 ColorCache[x]=-1; in SetGlyph()
233 if (ColorCache[0]!=bgColor || ColorCache[pixelgrey]==-1) { in SetGlyph()
248 if (ColorCache[0]==bgColor) in SetGlyph()
[all …]
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/ui/swt/mainwindow/
H A DColors.java36 import com.aelitis.azureus.ui.swt.utils.ColorCache;
343 newColor = ColorCache.getColor(display, in runSupport()
372 ColorCache.reset(); in allocateDynamicColors()
383 black = ColorCache.getColor(display, 0, 0, 0); in allocateNonDynamicColors()
385 dark_grey = ColorCache.getColor(display, 96, 96, 96); in allocateNonDynamicColors()
386 blue = ColorCache.getColor(display, 0, 0, 170); in allocateNonDynamicColors()
387 green = ColorCache.getColor(display, 0, 170, 0); in allocateNonDynamicColors()
389 grey = ColorCache.getColor(display, 170, 170, 170); in allocateNonDynamicColors()
390 red = ColorCache.getColor(display, 255, 0, 0); in allocateNonDynamicColors()
392 yellow = ColorCache.getColor(display, 255, 255, 0); in allocateNonDynamicColors()
[all …]
/dports/x11-wm/blackbox/blackbox-0.70.1/lib/
H A DColor.cc40 class ColorCache { class
42 ColorCache(const Display &display);
43 ~ColorCache(void);
114 static ColorCache *colorcache = 0;
119 colorcache = new ColorCache(display); in createColorCache()
131 bt::ColorCache::ColorCache(const Display &display) in ColorCache() function in bt::ColorCache
136 bt::ColorCache::~ColorCache(void) in ~ColorCache()
140 unsigned long bt::ColorCache::find(unsigned int screen, int r, int g, int b) { in find()
189 void bt::ColorCache::release(unsigned int screen, int r, int g, int b) { in release()
210 void bt::ColorCache::clear(bool force) { in clear()
/dports/games/multimc/MultiMC5-0.6.11/application/
H A DColorCache.h7 class ColorCache
10 ColorCache(QColor front, QColor back, qreal bias) in ColorCache() function
88 class LogColorCache : public ColorCache
92 : ColorCache(front, back, 1.0) in LogColorCache()
106 return ColorCache::getFront((int)MessageLevel::Message); in getFront()
108 return ColorCache::getFront((int)level); in getFront()
H A DColorCache.cpp7 QColor ColorCache::blend(QColor color) in blend()
21 QColor ColorCache::blendBackground(QColor color) in blendBackground()
27 void ColorCache::recolorAll() in recolorAll()
/dports/x11-themes/gtk3-oxygen-engine/oxygen-gtk3-1.4.1/src/
H A Doxygencolorutils.cpp66 typedef SimpleCache<guint32,Rgba> ColorCache; typedef
68 static ColorCache m_decoColorCache;
69 static ColorCache m_lightColorCache;
70 static ColorCache m_darkColorCache;
71 static ColorCache m_midColorCache;
72 static ColorCache m_shadowColorCache;
73 static ColorCache m_backgroundTopColorCache;
74 static ColorCache m_backgroundBottomColorCache;
75 static ColorCache m_backgroundRadialColorCache;
76 static ColorCache m_backgroundColorCache;
[all …]
/dports/x11-themes/gtk-oxygen-engine/oxygen-gtk2-1.4.6/src/
H A Doxygencolorutils.cpp66 typedef SimpleCache<guint32,Rgba> ColorCache; typedef
68 static ColorCache m_decoColorCache;
69 static ColorCache m_lightColorCache;
70 static ColorCache m_darkColorCache;
71 static ColorCache m_midColorCache;
72 static ColorCache m_shadowColorCache;
73 static ColorCache m_backgroundTopColorCache;
74 static ColorCache m_backgroundBottomColorCache;
75 static ColorCache m_backgroundRadialColorCache;
76 static ColorCache m_backgroundColorCache;
[all …]
/dports/print/lyx/lyx-2.3.4.2/src/frontends/qt4/
H A DColorCache.cpp60 void ColorCache::init() in init()
71 QColor ColorCache::get(Color const & color) const in get()
78 QColor ColorCache::get(Color const & color, bool syscolors) const in get()
81 const_cast<ColorCache *>(this)->init(); in get()
109 bool ColorCache::isSystem(ColorCode const color) const in isSystem()
H A DColorCache.h27 class ColorCache
31 ColorCache() : initialized_(false) {} in ColorCache() function
/dports/x11-themes/plasma5-oxygen/oxygen-5.23.5/liboxygen/
H A Doxygenhelper.h445 using ColorCache = BaseCache<QColor>; variable
468 ColorCache _decoColorCache;
469 ColorCache _lightColorCache;
470 ColorCache _darkColorCache;
471 ColorCache _shadowColorCache;
472 ColorCache _backgroundTopColorCache;
473 ColorCache _backgroundBottomColorCache;
474 ColorCache _backgroundRadialColorCache;
475 ColorCache _backgroundColorCache;
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/ui/swt/welcome/
H A DWelcomeWindow.java46 import com.aelitis.azureus.ui.swt.utils.ColorCache;
176 black = ColorCache.getColor(display, 0, 0, 0); in _setWhatsNew()
177 white = ColorCache.getColor(display, 255, 255, 255); in _setWhatsNew()
178 light = ColorCache.getColor(display, 200, 200, 200); in _setWhatsNew()
179 grey = ColorCache.getColor(display, 50, 50, 50); in _setWhatsNew()
180 green = ColorCache.getColor(display, 30, 80, 30); in _setWhatsNew()
181 blue = ColorCache.getColor(display, 20, 20, 80); in _setWhatsNew()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/ui/swt/components/graphics/
H A DBackGroundGraphic.java39 import com.aelitis.azureus.ui.swt.utils.ColorCache;
71 lightGrey = ColorCache.getColor(canvas.getDisplay(), 250, 250, 250); in initialize()
72 lightGrey2 = ColorCache.getColor(canvas.getDisplay(), 233, 233, 233); in initialize()
73 colorWhite = ColorCache.getColor(canvas.getDisplay(), 255, 255, 255); in initialize()
/dports/x11/hs-xmobar/xmobar-0.39/src/Xmobar/X11/
H A DColorCache.hs20 module Xmobar.X11.ColorCache(withColors, withDrawingColors) where
26 module Xmobar.X11.ColorCache(withColors) where
44 type ColorCache = [(String, Color)] type
46 colorCache :: IORef ColorCache
/dports/net-p2p/vuze/vuze-5.7.4.0_2/com/aelitis/azureus/ui/swt/skin/
H A DSWTSkinPropertiesImpl.java29 import com.aelitis.azureus.ui.swt.utils.ColorCache;
83 color = ColorCache.getSchemedColor(Utils.getDisplay(), rgb[0], rgb[1], rgb[2]); in getColorWithAlpha()
88 color = ColorCache.getColor(Utils.getDisplay(), getStringValue(sID)); in getColorWithAlpha()
/dports/databases/kexi/kexi-3.2.0/src/main/
H A DKexiMenuWidget_p.h109 typedef QCache<quint64, QColor> ColorCache; typedef
113 ColorCache m_backgroundTopColorCache;
114 ColorCache m_backgroundBottomColorCache;
115 ColorCache m_backgroundRadialColorCache;
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/ui/swt/views/columnsetup/
H A DColumnTC_NameInfo.java38 import com.aelitis.azureus.ui.swt.utils.ColorCache;
155 gc.setBackground(ColorCache.getColor(gc.getDevice(), 255, 255, 255)); in cellPaint()
157 gc.setBackground(ColorCache.getColor(gc.getDevice(), 215, 215, 215)); in cellPaint()
159 gc.setForeground(ColorCache.getColor(gc.getDevice(), 145, 145, 145)); in cellPaint()
162 gc.setForeground(ColorCache.getColor(gc.getDevice(), 50, 50, 50)); in cellPaint()
/dports/print/xreader/xreader-3.2.2/backend/dvi/mdvi-lib/
H A Dcolor.c74 } ColorCache; typedef
77 static ColorCache color_cache[CCSIZE];
87 ColorCache *cc, *tofree; in get_color_table()
/dports/graphics/atril-lite/atril-1.26.0/backend/dvi/mdvi-lib/
H A Dcolor.c74 } ColorCache; typedef
77 static ColorCache color_cache[CCSIZE];
87 ColorCache *cc, *tofree; in get_color_table()
/dports/graphics/atril/atril-1.26.0/backend/dvi/mdvi-lib/
H A Dcolor.c74 } ColorCache; typedef
77 static ColorCache color_cache[CCSIZE];
87 ColorCache *cc, *tofree; in get_color_table()
/dports/graphics/evince/evince-41.3/backend/dvi/mdvi-lib/
H A Dcolor.c74 } ColorCache; typedef
77 static ColorCache color_cache[CCSIZE];
87 ColorCache *cc, *tofree; in get_color_table()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/ui/swt/views/stats/
H A DDHTOpsPanel.java50 import com.aelitis.azureus.ui.swt.utils.ColorCache;
458 Color white = ColorCache.getColor(display,255,255,255); in refresh()
527 gc.setForeground( ColorCache.getColor( gc.getDevice(), 0, 0, 0 )); in refresh()
779 gc.setForeground( ColorCache.getColor( gc.getDevice(), 0, 0, 0 )); in setColour()
789 gc.setForeground( ColorCache.getColor( gc.getDevice(), 20, 200, 20 )); in setColour()
793 gc.setForeground( ColorCache.getColor( gc.getDevice(), 140, 160, 40 )); in setColour()
797 gc.setForeground( ColorCache.getColor( gc.getDevice(), 20, 20, 220 )); in setColour()
801 gc.setForeground( ColorCache.getColor( gc.getDevice(), 40, 140, 160 )); in setColour()

123