Skip to content

Commit

Permalink
add an indicator to games when they have game settings
Browse files Browse the repository at this point in the history
add slightly irregular *.zim files for now
(has some symbols from DejaVuSansCondensed and an extra symbol)
  • Loading branch information
Bigpet committed Dec 15, 2014
1 parent be3389f commit df8e3bf
Show file tree
Hide file tree
Showing 10 changed files with 4,550 additions and 4,479 deletions.
4 changes: 4 additions & 0 deletions UI/MainScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
8,948 changes: 4,478 additions & 4,470 deletions UI/ui_atlas.cpp

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion UI/ui_atlas.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 modified android/assets/ui_atlas.zim
Binary file not shown.
Binary file modified assets/ui_atlas.zim
Binary file not shown.
Binary file modified assets/ui_atlas_lowmem.zim
Binary file not shown.
2 changes: 2 additions & 0 deletions atlasscript.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

1 change: 1 addition & 0 deletions atlasscript_lowmem.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
71 changes: 63 additions & 8 deletions source_assets/image/buttons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source_assets/image/gear.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit df8e3bf

Please sign in to comment.