Commit Graph

137 Commits

Author SHA1 Message Date
Simon Robertshaw
adc9cc0816 Move graphics into seperate folder 2012-07-06 16:06:26 +01:00
Simon Robertshaw
5a71068ba0 Textbox now inherits from Label - gets all the fancy text selection features 2012-06-26 22:55:52 +01:00
Simon Robertshaw
7c259c0123 Release selection when the label component loses focus 2012-06-26 21:05:57 +01:00
Simon Robertshaw
ab6fed71d7 Replace textblock with new multiline label - with text selection!!!!111!!!one!! 2012-06-26 20:57:10 +01:00
Simon Robertshaw
ab8f382acc Sign tool can now edit existing signs 2012-06-25 13:57:23 +01:00
Simon Robertshaw
f5547f267b Option to use OpenGL JUST for the interface 2012-06-23 14:59:07 +01:00
Simon Robertshaw
ad76b293d8 Make Confirm dialogue less ugly 2012-06-20 19:39:33 +01:00
Simon Robertshaw
e81e18238d Merge branch 'master' of github.com:FacialTurd/PowderToypp 2012-06-20 13:40:34 +01:00
Simon Robertshaw
2be9c92508 OpenGL canvas for Windows, Notifications for main Game, Update checker in Client (+ other client triggered events) 2012-06-20 13:40:18 +01:00
Simon Robertshaw
8c608ee8b9 Use C++ allocation/freeing for text masking and multiline processing 2012-06-18 17:07:27 +01:00
Simon Robertshaw
7f921924f5 Use a heap allocation when hiding password text 2012-06-12 19:10:43 +01:00
Simon Robertshaw
61ed6e0276 Rename Save class to SaveInfo, introduce SaveFile for hanlding of local data (stamps and local saves). Rename Stamps browser to LocalBrowser, ready for sharing code with the local save browser 2012-06-07 14:23:26 +01:00
Simon Robertshaw
49dafbfd26 Use a different method for decoding saves with uncompressed object in memory for stamps and clipboard, also allows for transformation (rotation), missing failure states and code for loading it into a Simulation 2012-06-05 20:08:35 +01:00
Simon Robertshaw
a247951115 Add missing header includer for C libraries. 2012-06-02 16:51:01 +01:00
Simon Robertshaw
e0c9dab8cb Move more SDL dependancies out of program, OpenGLCanvas for JNI and JNI methods. 2012-05-31 10:24:44 +01:00
Simon Robertshaw
86746f38b0 Separate SDL from graphics code
Also remove OS X specific project files and update Makefile to ensure
the Element class generator only runs when necessary
2012-05-30 12:32:58 +01:00
Simon Robertshaw
f8fcd73b20 Moar button appearance 2012-05-23 20:25:35 +01:00
Simon Robertshaw
f41ab864ef Fix slight issues when clicking on menu section buttons and missing isMouseInside in MouseEnter action for buttons 2012-05-23 19:49:44 +01:00
Simon Robertshaw
26eeb40541 Extra callback for just mouse hover 2012-05-23 19:31:01 +01:00
Simon Robertshaw
adf7a3c720 Better icon alignment, improve appearance of preview 2012-05-22 20:30:23 +01:00
Simon Robertshaw
ba5efb101e Username, password icons for Login window 2012-05-15 18:55:36 +01:00
Simon Robertshaw
136675b56a Move style into Component 2012-05-15 18:13:17 +01:00
Simon Robertshaw
f39d2361e7 Improve appearance of some dialogues, style defaults 2012-05-14 20:47:14 +01:00
Simon Robertshaw
4bb90d0d79 Text alignment for dropdown, make sign UI nice 2012-05-13 21:11:02 +01:00
Simon Robertshaw
41e1d28c56 Correct air include path for OptionsModel, correct Window debugmode logic, justifications for sign 2012-05-13 20:54:29 +01:00
Simon Robertshaw
7758fe52cb DropDown UI component 2012-05-13 20:00:22 +01:00
Simon Robertshaw
4032a0469b Click function for tools that aren't continuous. Debug helper for UI components (Ctrl+Shift D when DEBUG is defined), fix add sign window logic 2012-05-13 17:43:41 +01:00
Simon Robertshaw
51b17badf4 A bit of refactoring (elements) 2012-05-07 17:59:50 +01:00
Simon Robertshaw
e38fd405af Correct quirks with drawrect and fillrect, change UI components accordingly, shorten save name in save button 2012-04-22 17:13:43 +01:00
Simon Robertshaw
96506610b2 Clean out graphics, add openGL graphics in seperate file, change brush to use unsigned char rather than boolean for bitmap/outline 2012-04-21 22:46:37 +01:00
Simon Robertshaw
75a9460c83 OpenGL rendering 2012-04-20 19:21:10 +01:00
Simon Robertshaw
c4bace95bf Allow deleting of stamps 2012-04-19 15:22:18 +01:00
Simon Robertshaw
e9fc64eed6 No interaction with non-visible components" 2012-04-19 14:38:15 +01:00
Simon Robertshaw
c261030cef Started on dropdown control 2012-04-17 15:56:57 +01:00
Simon Robertshaw
91064f4935 Remove other references to Global.h 2012-04-14 15:19:18 +01:00
Simon Robertshaw
20b3be68a7 Remove some unnecessary files. 2012-04-14 14:49:26 +01:00
Simon Robertshaw
b2907798f2 Fix issue where unborn children were slaughtered when removing a component from an event 2012-04-09 12:40:30 +01:00
Simon Robertshaw
c88079d084 Element sampling HUD thingy (No very good with MVC) 2012-04-08 00:11:21 +01:00
Simon Robertshaw
bbfbb81086 Confirmation Dialogue, Save selection and multi-delete 2012-04-07 00:45:24 +01:00
Simon Robertshaw
299c1da9ae Search and stamps scolling with mouse wheel, Esc to exit 2012-04-03 18:12:32 +01:00
Simon Robertshaw
838a612026 Use a single instance of a background simulation for thumbnail rendering 2012-04-03 17:08:56 +01:00
Simon Robertshaw
73c5082cbc Super, megaheavyweight thumbnail renderer 2012-04-03 14:07:39 +01:00
Simon Robertshaw
efddc12e5d Stamps browser, placement + clipboard sampling and placement - No clipboard or stamp thumbnail generation, needs thumbnail generator from SaveLoader 2012-04-02 17:01:28 +01:00
Simon Robertshaw
81f3114cb2 Better sliders for Decoration editor 2012-03-05 17:10:18 +00:00
Simon Robertshaw
55acb6aa80 More fancy Sliders for deco colour 2012-03-05 15:24:52 +00:00
Simon Robertshaw
644e6770e4 Slider and decoration colour changer 2012-03-04 16:26:03 +00:00
Simon Robertshaw
d604fac18f Slight appearence changes to save buttons 2012-02-11 17:11:07 +00:00
Simon Robertshaw
725f1aff85 Fix thumbnail alignment for save buttons, add code for building PSv format 2012-02-11 17:04:39 +00:00
Simon Robertshaw
9f7b06ff47 Comments on save preview and some minor changes for vote bars 2012-02-11 16:08:59 +00:00
Simon Robertshaw
7ae5eaab79 Started intrepreter for tpt script and various things for console 2012-02-05 16:37:36 +00:00
Simon Robertshaw
f5dd32b284 Working GOL (No graphics 2012-02-02 00:33:10 +00:00
Simon Robertshaw
038da72c61 Console UI, open in browser button, tab and enter shortcut for Login UI, various 2012-02-01 18:45:59 +00:00
Simon Robertshaw
857b0cc1fc Load user information from preferences, fps display for testing 2012-01-31 18:49:14 +00:00
Simon Robertshaw
1d297cb57a Line and rect drawing 2012-01-30 16:03:18 +00:00
Simon Robertshaw
259fc2bcf7 ASCII for key events, save and Textarea (no caret, yet) 2012-01-30 00:40:28 +00:00
Simon Robertshaw
80aa7219a2 Vote view in save preview, better handling of controller destruction 2012-01-29 17:12:35 +00:00
Simon Robertshaw
680a36549a Background retrieval of save info and save list. 2012-01-29 14:44:36 +00:00
Simon Robertshaw
7c53ca7799 Voting, fix save browser 2012-01-28 19:56:13 +00:00
Simon Robertshaw
b5728a9e3e Zoom 2012-01-28 14:51:39 +00:00
Simon Robertshaw
07525180c2 Icon management, fix element menu order, fix renderer crash 2012-01-27 20:19:42 +00:00
Simon Robertshaw
2a7628dfd0 Render options 2012-01-27 13:27:40 +00:00
Simon Robertshaw
1c971e4b42 Functional checkbox on render options screen 2012-01-27 11:05:26 +00:00
Simon Robertshaw
ebd80c73de Some inlines and Checkbox ui component 2012-01-27 09:38:56 +00:00
Simon Robertshaw
e84f0fc6e5 Ellipse cursor 2012-01-26 18:06:23 +00:00
Simon Robertshaw
9e1be78bc2 I've got to a point where I can no longer be bothered to think of a proper commit comment 2012-01-26 01:13:33 +00:00
Simon Robertshaw
8b80942b16 Login working, segfaults sometimes 2012-01-25 17:21:55 +00:00
Simon Robertshaw
35858ef607 Fix textbox 2012-01-24 23:33:32 +00:00
Simon Robertshaw
97b35bc470 Various 2012-01-24 20:19:19 +00:00
Simon Robertshaw
df72f2580f Better element buttons, Save preview WIP 2012-01-23 22:53:57 +00:00
Simon Robertshaw
8a65c395f4 Element menu 2012-01-23 10:50:48 +00:00
Simon Robertshaw
8c0678fa48 Begining menu, tool 2012-01-22 23:24:49 +00:00
Simon Robertshaw
19c1fa5dcb Brush class for drawing on simulation, more interface for game 2012-01-22 14:45:37 +00:00
Simon Robertshaw
3a283d4f3c Nice graphics for Showing windows 2012-01-21 23:29:40 +00:00
Simon Robertshaw
dea70befcf Basic skeleton for save preview 2012-01-21 22:48:37 +00:00
Simon Robertshaw
1cee908c16 Fix thumbnail crash, turns out SaveButton was storing a Thumbnail pointer, not a Thumbnail as I thought 2012-01-21 18:51:28 +00:00
Simon Robertshaw
8ec6aae617 Better cleanup for simulation - fix memory leaks 2012-01-21 13:19:10 +00:00
Simon Robertshaw
36a952ca4d Better handling of save vector from client 2012-01-21 00:17:42 +00:00
Simon Robertshaw
0e5a46aa64 Ensure action class is freed 2012-01-20 23:52:19 +00:00
Simon Robertshaw
fa201a7aeb Fix some uninitialised variables 2012-01-20 23:42:17 +00:00
Simon Robertshaw
c8073657fc More stuff, need to fix memory leak 2012-01-20 22:07:49 +00:00
Simon Robertshaw
44639a6423 Some folder changes, started search and client 2012-01-19 13:44:59 +00:00
Simon Robertshaw
4a60b97c70 Some minor changes 2012-01-17 20:46:06 +00:00
Simon Robertshaw
2511afec8b More stuff, better events and starting on interface 2012-01-15 19:35:40 +00:00
Simon Robertshaw
2c9295007a Various things, also IEF UI 2012-01-14 18:51:24 +00:00
Simon Robertshaw
fc2f52099c More stuff, started console 2012-01-11 22:59:45 +00:00
Simon Robertshaw
2eb09c1daa Project changed, ControlFactory (Creates large UI structures such as
menus, dialoges...) GameSession (Session information, such as filename,
reference to simulation
2012-01-10 23:18:37 +00:00
Simon Robertshaw
b0ea52690b Initial 2012-01-08 17:39:03 +00:00