Commit Graph

368 Commits

Author SHA1 Message Date
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
simon.kagstrom
3d1bc2a042 Remove some printouts 2009-12-05 09:38:47 +00:00
simon.kagstrom
db774b9856 Correct pushEvent (how difficult can it be???) 2009-12-05 09:36:24 +00:00
simon.kagstrom
ab534595f0 OOps, move runlogic 2009-12-05 09:34:58 +00:00
simon.kagstrom
4aafeb344a Remove cur_view and use peek instead 2009-12-05 09:33:58 +00:00
simon.kagstrom
688a18721b Make gui views a stack 2009-12-04 20:45:17 +00:00
simon.kagstrom
2b77141e20 Correct quit 2009-12-04 20:09:42 +00:00
simon.kagstrom
d80cb3436c Correct max width 2009-12-04 20:08:24 +00:00
simon.kagstrom
081f22fa8a Add small font as well 2009-12-04 20:06:52 +00:00
simon.kagstrom
bd5194f4bd Fix warning 2009-12-04 20:03:00 +00:00
simon.kagstrom
71a7060bab Correct some memory corruption 2009-12-04 20:00:41 +00:00
simon.kagstrom
80a058c872 Implemented help system (OK, has some memory corruption currently) 2009-12-04 19:10:49 +00:00
simon.kagstrom
c749c39936 Add callback for hovering over an entry 2009-12-04 18:01:59 +00:00
simon.kagstrom
996382ebe9 Add menu backgrounds 2009-12-04 17:55:25 +00:00
simon.kagstrom
347df3f571 Add font 2009-12-04 17:45:52 +00:00
simon.kagstrom
fc25547d02 Add GuiView class and children (currently only the main menu) 2009-11-29 18:29:15 +00:00
simon.kagstrom
601ea56ffb Add parent ptr 2009-11-29 14:11:21 +00:00
simon.kagstrom
dc9418ab4c Added dialogue box implementation 2009-11-29 09:29:26 +00:00
simon.kagstrom
1989da1069 Correct numbering and handle exit 2009-11-29 09:11:38 +00:00
simon.kagstrom
f4db8a7b36 More images, better look 2009-11-28 08:59:42 +00:00
simon.kagstrom
a554c546fa Use the frodo menu instead 2009-11-28 08:43:37 +00:00
simon.kagstrom
0af525b4f9 Add frodo_menu class (not finished) 2009-11-28 08:22:19 +00:00
simon.kagstrom
0379a21a55 Add SDL_ttf font support, correct some stuff 2009-11-26 18:53:04 +00:00
simon.kagstrom
1eff870e62 Add a background as well 2009-11-26 18:41:08 +00:00