37 using namespace ystdex;
55 using namespace YReader;
59 template<
typename _tTarget>
63 if(!GlobalResourceMap[idx])
65 return GlobalResourceMap[GR_BGs].GetObject<_tTarget>();
69 FetchGlobalImage(
size_t idx)
79 using namespace Shells;
80 using namespace Drawing::ColorSpace;
85 for(
size_t i(0); i != 10; ++i)
86 FetchGlobalImage(i).reset();
87 GlobalResourceMap.clear();
88 ReleaseStored<ShlReader>();
89 ReleaseStored<ShlExplorer>();
97 return {~(x * y) >> 2, x | y | 128, 240 - ((x & y) >> 1)};
100 return {(x << 4) / (y | 1), (x | y << 1) % (y + 2),
101 (~y | x << 1) % 27 + 3};
104 return {~(x * y) >> 2, x | y | 128, 240 - ((x & y) >> 1)};
107 return {x + y * y, (x & y) ^ (x | y), x * x + y};
110 return {(x << 4) / ((y & 1) | 1), ~x % 101 + y,
111 (x + y) % (((y - 2) & 1) | 129) + (x << 2)};
114 return {(x | y) % (y + 2), (~y | x) % 27 + 3, (x << 6) / (y | 1)};
118 if(!FetchGlobalImage(i) && p_bg[i])
120 auto&
h(FetchGlobalImage(i));
126 h->GetBufferPtr(), p_bg[i]).count() / 1e9;
128 return FetchGlobalImage(i);
134 return gfx_init_time;