diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-03-02 18:01:31 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2018-03-02 18:01:31 -0500 |
commit | bbe334b6c9249fea57dee53a0804693dab46f03c (patch) | |
tree | 292bd467f2f3bdee4d85106ec8ba08757705c05b /database.h | |
parent | c1cc06fa5b3ae49b7cdadf0af439f5858d8483eb (diff) | |
download | lunatic-bbe334b6c9249fea57dee53a0804693dab46f03c.tar.gz lunatic-bbe334b6c9249fea57dee53a0804693dab46f03c.tar.bz2 lunatic-bbe334b6c9249fea57dee53a0804693dab46f03c.zip |
Added overlay shadow, achievement title wrapping, and date
The canonical title font is Roboto Bold and the date font is Roboto Medium.
Diffstat (limited to 'database.h')
-rw-r--r-- | database.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/database.h b/database.h index a616318..9dcb118 100644 --- a/database.h +++ b/database.h | |||
@@ -12,6 +12,11 @@ struct achievement { | |||
12 | std::string color; | 12 | std::string color; |
13 | }; | 13 | }; |
14 | 14 | ||
15 | struct did { | ||
16 | int profileId; | ||
17 | std::string date; | ||
18 | }; | ||
19 | |||
15 | class database { | 20 | class database { |
16 | public: | 21 | public: |
17 | 22 | ||
@@ -43,6 +48,8 @@ public: | |||
43 | 48 | ||
44 | std::string getRandomImageForGame(int gameId) const; | 49 | std::string getRandomImageForGame(int gameId) const; |
45 | 50 | ||
51 | did getRandomDidForAchievement(int achievementId) const; | ||
52 | |||
46 | private: | 53 | private: |
47 | 54 | ||
48 | database() = default; | 55 | database() = default; |