about summary refs log tree commit diff stats
path: root/database.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-03-02 18:01:31 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-03-02 18:01:31 -0500
commitbbe334b6c9249fea57dee53a0804693dab46f03c (patch)
tree292bd467f2f3bdee4d85106ec8ba08757705c05b /database.h
parentc1cc06fa5b3ae49b7cdadf0af439f5858d8483eb (diff)
downloadlunatic-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.h7
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
15struct did {
16 int profileId;
17 std::string date;
18};
19
15class database { 20class database {
16public: 21public:
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
46private: 53private:
47 54
48 database() = default; 55 database() = default;