Commit Graph

441 Commits

Author SHA1 Message Date
simon.kagstrom
d830751ddb Add prefs mock-up 2010-01-01 09:10:03 +00:00
simon.kagstrom
5f916a0dfd Refactor dialogues: Simplify a lot and remove the tie-in to the main
menu class.
2009-12-31 13:25:46 +00:00
simon.kagstrom
ed831048ce Add network menu 2009-12-29 13:23:01 +00:00
simon.kagstrom
d022302f96 Make help better 2009-12-29 07:50:36 +00:00
simon.kagstrom
d09475245f Add key images 2009-12-28 12:39:05 +00:00
simon.kagstrom
0757bdd4f3 Add options menu 2009-12-28 12:38:41 +00:00
simon.kagstrom
817dea003d Ifdeffery 2009-12-28 09:47:12 +00:00
simon.kagstrom
aad20592ec Simplifiy the implementation of some things (no parent pointer,
all resources in the Gui singleton)
2009-12-28 08:46:18 +00:00
simon.kagstrom
224ec1dbe7 Handle real keyboard input for the virtual keyboard 2009-12-26 13:43:42 +00:00
simon.kagstrom
2c359032c2 Encode keys higher up 2009-12-26 12:19:35 +00:00
simon.kagstrom
e2b34f1ee9 Don't register already registered listeners 2009-12-26 10:21:50 +00:00
simon.kagstrom
46757f1f1e Refactor listeners to handle both key and string callbacks 2009-12-26 10:18:55 +00:00
simon.kagstrom
0a3bc3e081 Add typing listener (to store strings), deregister listeners on delete 2009-12-26 09:16:19 +00:00
simon.kagstrom
aa0d8246bb Pop keyboard view on deactivation 2009-12-26 09:07:18 +00:00
simon.kagstrom
0f7489cbb9 Move keyboard down 2009-12-21 06:20:12 +00:00
simon.kagstrom
6b4ac470f9 Refactor string/key listeners and make the main menu one such 2009-12-20 10:27:27 +00:00
simon.kagstrom
f8bbe977c0 Move background highlighting to utils 2009-12-20 10:21:06 +00:00
simon.kagstrom
b94df096f0 Add highlighted key 2009-12-20 10:12:47 +00:00
simon.kagstrom
2e768d0c67 Make GuiView a widget 2009-12-20 09:31:46 +00:00
simon.kagstrom
b4f133036a Is it active? 2009-12-19 19:17:25 +00:00
simon.kagstrom
2c18cbf559 Create virtual keyboard and add function to draw with it 2009-12-19 19:14:17 +00:00
simon.kagstrom
f96f9304ed Enough to compile the virtual keyboard (and some untested implementation) 2009-12-19 18:52:40 +00:00
simon.kagstrom
b3fffe82d9 Move some initing to widget 2009-12-19 18:33:18 +00:00
simon.kagstrom
24568dc5ed Refactoring: Move pushEvent/popEvent to the Widget class 2009-12-19 17:58:28 +00:00
simon.kagstrom
39db099cd4 Add widget base class 2009-12-19 15:46:15 +00:00
simon.kagstrom
d0f0dc3b50 Add code for the virtual keyboard. Won't compile just yet, 2009-12-19 15:40:53 +00:00
simon.kagstrom
90675026bb Correct crash-on-no-info and simplify some things 2009-12-19 13:25:46 +00:00
simon.kagstrom
032a09ddec Add game info box for loading 2009-12-19 13:20:15 +00:00
simon.kagstrom
b6db22bcc4 Add warning macro 2009-12-19 12:59:09 +00:00
simon.kagstrom
60829984c7 Some fixes: Maximize constness, correct fromDump and remove
unnecessary parameters
2009-12-19 12:04:23 +00:00
simon.kagstrom
293e53bbe8 Add version (if we change the format) 2009-12-19 09:12:30 +00:00
simon.kagstrom
67beaa4ea5 Add game info class and structure 2009-12-19 09:00:29 +00:00
simon.kagstrom
f8abacf034 Add png writing function, skip [.] in directories 2009-12-19 08:12:39 +00:00
simon.kagstrom
fa778010e0 Add timer implementation and timeout for hovering over discs 2009-12-16 17:47:03 +00:00
simon.kagstrom
b6139851ac ifdeffery 2009-12-16 16:53:14 +00:00
simon.kagstrom
a2d9a82c9d Refactor disc browser a bit (file browsing is really general, so add a base
class for it)
2009-12-15 18:37:34 +00:00
simon.kagstrom
b52c401665 Add disc info box 2009-12-13 10:10:33 +00:00
simon.kagstrom
a7aec61e02 Add a disc menu (not quite finished yet), and continued refactoring 2009-12-13 10:02:27 +00:00
simon.kagstrom
281b5a8b05 Deactivate when no views are left 2009-12-13 09:21:27 +00:00
simon.kagstrom
eeb03b75e4 Singleton refactoring, part 2 2009-12-13 08:59:06 +00:00
simon.kagstrom
337921d2ab Refactor gui to singleton factory, stage 1 2009-12-13 08:54:25 +00:00
simon.kagstrom
e50b1a1045 Free views when popping them 2009-12-06 19:21:48 +00:00
simon.kagstrom
32e422327c Rename 2009-12-06 09:17:21 +00:00
simon.kagstrom
fb24e20c76 Rename to more logical name 2009-12-06 09:11:04 +00:00
simon.kagstrom
057b4a743c Factor out the main menu + view as well 2009-12-06 09:06:25 +00:00
simon.kagstrom
269dadfc69 Factor out help box to it's own file (and rename it!) 2009-12-06 09:03:09 +00:00
simon.kagstrom
86ef62ed85 Better super calls 2009-12-06 08:57:57 +00:00
simon.kagstrom
1102d8fdc1 Allow one more line to display 2009-12-05 12:04:56 +00:00
simon.kagstrom
453db84014 Implement and add dialogue boxes as well (for exit currently) 2009-12-05 12:04:00 +00:00
simon.kagstrom
70a954461e Improve error reporting 2009-12-05 11:30:02 +00:00