mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
add an indicator to games when they have game settings
add slightly irregular *.zim files for now (has some symbols from DejaVuSansCondensed and an extra symbol)
This commit is contained in:
parent
be3389fdef
commit
df8e3bfe45
10 changed files with 4550 additions and 4479 deletions
|
@ -306,6 +306,10 @@ void GameButton::Draw(UIContext &dc) {
|
|||
} else {
|
||||
dc.Draw()->Flush();
|
||||
}
|
||||
if (!ginfo->id.empty() && g_Config.hasGameConfig(ginfo->id))
|
||||
{
|
||||
dc.Draw()->DrawImage(I_GEAR, x, y + h - ui_images[I_GEAR].h, 1.0f);
|
||||
}
|
||||
if (overlayColor) {
|
||||
dc.FillRect(Drawable(overlayColor), overlayBounds);
|
||||
}
|
||||
|
|
8948
UI/ui_atlas.cpp
8948
UI/ui_atlas.cpp
File diff suppressed because it is too large
Load diff
|
@ -41,7 +41,8 @@
|
|||
#define I_ICONGOLD 30
|
||||
#define I_FOLDER 31
|
||||
#define I_UP_DIRECTORY 32
|
||||
#define I_GEAR 33
|
||||
|
||||
|
||||
extern const Atlas ui_atlas;
|
||||
extern const AtlasImage ui_images[33];
|
||||
extern const AtlasImage ui_images[34];
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -34,3 +34,5 @@ image I_ICON source_assets/image/icon_regular_72.png copy
|
|||
image I_ICONGOLD source_assets/image/icon_gold_72.png copy
|
||||
image I_FOLDER source_assets/image/folder_line.png copy
|
||||
image I_UP_DIRECTORY source_assets/image/up_line.png copy
|
||||
image I_GEAR source_assets/image/gear.png copy
|
||||
|
||||
|
|
|
@ -33,3 +33,4 @@ image I_ICON source_assets/image/icon_regular_72.png copy
|
|||
image I_ICONGOLD source_assets/image/icon_gold_72.png copy
|
||||
image I_FOLDER source_assets/image/folder_line.png copy
|
||||
image I_UP_DIRECTORY source_assets/image/up_line.png copy
|
||||
image I_GEAR source_assets/image/gear.png copy
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
height="1052.3622047"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
inkscape:version="0.48.2 r9819"
|
||||
sodipodi:docname="buttons.svg">
|
||||
<defs
|
||||
id="defs4">
|
||||
|
@ -1229,6 +1229,39 @@
|
|||
operator="over"
|
||||
result="composite2" />
|
||||
</filter>
|
||||
<filter
|
||||
id="filter4781"
|
||||
inkscape:label="Drop shadow"
|
||||
width="1.5"
|
||||
height="1.5"
|
||||
x="-.25"
|
||||
y="-.25">
|
||||
<feGaussianBlur
|
||||
id="feGaussianBlur4783"
|
||||
in="SourceAlpha"
|
||||
stdDeviation="2"
|
||||
result="blur" />
|
||||
<feColorMatrix
|
||||
id="feColorMatrix4785"
|
||||
result="bluralpha"
|
||||
type="matrix"
|
||||
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.5 0 " />
|
||||
<feOffset
|
||||
id="feOffset4787"
|
||||
in="bluralpha"
|
||||
dx="0"
|
||||
dy="0"
|
||||
result="offsetBlur" />
|
||||
<feMerge
|
||||
id="feMerge4789">
|
||||
<feMergeNode
|
||||
id="feMergeNode4791"
|
||||
in="offsetBlur" />
|
||||
<feMergeNode
|
||||
id="feMergeNode4793"
|
||||
in="SourceGraphic" />
|
||||
</feMerge>
|
||||
</filter>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
|
@ -1238,16 +1271,16 @@
|
|||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="3.959798"
|
||||
inkscape:cx="176.69166"
|
||||
inkscape:cy="991.50356"
|
||||
inkscape:cx="73.150997"
|
||||
inkscape:cy="947.90072"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="2325"
|
||||
inkscape:window-height="1422"
|
||||
inkscape:window-x="28"
|
||||
inkscape:window-y="37"
|
||||
inkscape:window-maximized="0" />
|
||||
inkscape:window-width="1822"
|
||||
inkscape:window-height="1057"
|
||||
inkscape:window-x="1370"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
|
@ -1766,5 +1799,27 @@
|
|||
d="m -18.561551,39.179179 3.59867,4.545687 5.3664299,-9.154508"
|
||||
style="fill:none;stroke:#ffffff;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;filter:url(#filter5328)" />
|
||||
</g>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"
|
||||
x="194.70689"
|
||||
y="34.633499"
|
||||
id="text3261"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3263"
|
||||
x="194.70689"
|
||||
y="34.633499" /></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;filter:url(#filter4781);font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"
|
||||
x="-48.487312"
|
||||
y="151.8112"
|
||||
id="text4033"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4035"
|
||||
x="-48.487312"
|
||||
y="151.8112">⚙</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 66 KiB |
BIN
source_assets/image/gear.png
Normal file
BIN
source_assets/image/gear.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Add table
Reference in a new issue