Commit Graph

152 Commits

Author SHA1 Message Date
andreja6
55e890bdc1 Made BaseButton class
Buttons now children of BaseButton
Buttons now render over and down modes
Text buttons now exist
Buttons render differently
2018-04-23 22:02:12 -07:00
andreja6
98d3358fd5 Added resize, cursor, and arrows mode
Added selection box rendering
Added arrow rendering
added resize rendering
2018-04-23 20:09:01 -07:00
andreja6
68edb442d3 Mouse now stays where you left it 2018-04-23 17:53:41 -07:00
andreja6
20e8c63d5c Changed how the camera works
Added arrow key controlled camera
Removed WASD camera movement
FPS is now locked to 30 Frames P/S
Mouse wheel now moves the camera
2018-04-23 17:51:03 -07:00
andreja6
5d8e4bc040 Merge pull request #10 from andreja6/HWND
Hwnd
2018-04-23 14:09:23 -07:00
andreja6
11788fa37c Changed the way controllerflags are rendered, they work now 2018-04-23 11:35:02 -07:00
andreja6
e29ad28a06 Test of hover text 2018-04-22 23:32:36 -07:00
andreja6
9d30c2aed7 Tried doing stuff with fonts 2018-04-22 22:52:50 -07:00
andreja6
c62df67db2 Changed default DataModel name to "undefined" 2018-04-22 21:09:43 -07:00
andreja6
c9e997c794 Added mouse cursors 2018-04-22 20:44:29 -07:00
andreja6
8a6d7d0d8d added new line 2018-04-22 19:57:12 -07:00
andreja6
6cea4397f2 Changed window to SDL, can now access bare HWND component 2018-04-22 19:51:14 -07:00
andreja6
f0fffa71d4 Tried something 2018-04-22 15:05:45 -07:00
andreja6
49c117d5d7 Removed MFC 2018-04-22 12:32:37 -07:00
andreja6
19913cb665 Added base class for button listening
Fixed a few memory leaks
2018-04-20 18:55:55 -07:00
andreja6
810488e20c Added test dialog 2018-04-20 06:59:37 -07:00
andreja6
a91bc4c5b5 Reverted to old sln 2018-04-19 22:26:57 -07:00
andreja6
2445d076a1 Reset Solution 2018-04-19 21:36:31 -07:00
andreja6
8fc8549a6c Added deprication notice to debug mode 2018-04-19 20:42:11 -07:00
andreja6
bb3aac25c5 put drawButton in its class, and not in main loop 2018-04-19 20:30:30 -07:00
andreja6
09fa95d4a0 Added dialog 2018-04-19 19:40:15 -07:00
andreja6
acd87e351b Made test work on offset 2018-04-19 18:17:19 -07:00
andreja6
8d53e8ff0f Removed useless debug comments and code 2018-04-19 18:07:48 -07:00
andreja6
b900e918b4 Converted most menu buttons to TextButton, No longer hard coded
Removed useless values
MUCH faster now!
2018-04-19 18:03:12 -07:00
andreja6
067a744cda Changed className TextButtonInstance to TextButton to match naming convention 2018-04-19 17:19:02 -07:00
andreja6
3e4c128347 Added bare bones TextButton rendering
(Yes, it took that many lines of code)
2018-04-19 17:18:26 -07:00
andreja6
acbe509c05 Fixed errors
Changed bit depth
2018-04-19 00:15:16 -07:00
andreja6
8a780d6f0b Added some images 2018-04-18 23:53:32 -07:00
andreja6
0a2b508290 Added down state
-Added mouse down state
-Commented out useless function
-Added temporary default value to ovr_id
-Added temporary images go_dn and go_dn_id
-Removed debug spacing increase and decrease key press code (causes crashes by design and was useless)
2018-04-18 22:50:31 -07:00
andreja6
33e3aeb16e Commented out useless function 2018-04-18 20:42:15 -07:00
andreja6
4526fa68df Added mouseover testing, will be moved to instances 2018-04-18 20:39:36 -07:00
andreja6
acfd499cfb GO BUTTON TEXTURE!
YES!
2018-04-18 19:56:48 -07:00
andreja6
b12c753179 Added visible and float booleans 2018-04-13 20:09:20 -07:00
andreja6
7d623bb99d Added Over and Out options on text buttons 2018-04-13 14:14:35 -07:00
andreja6
21684a6ea3 Added properties to TextButtonInstance
Why wont the go button become textured aaaaaaaaaaaaaaaa
2018-04-12 22:44:51 -07:00
andreja6
5306ec6809 Fixed include issues 2018-04-12 19:25:17 -07:00
andreja6
ede16aa880 Created dialogs resource 2018-04-11 11:49:48 -07:00
andreja6
57e1eb54b7 Made camera faster on shift 2018-04-11 10:41:08 -07:00
andreja6
e348ee5ea2 Added test object 2018-04-11 09:43:42 -07:00
andreja6
2a205e2998 Made title of window dynamic 2018-04-11 09:13:48 -07:00
andreja6
58ee5c9889 Added instance rendering
Added rendering and creation
2018-04-11 08:56:54 -07:00
andreja6
7d38523166 Changed how instances work
Made instance vector hold pointers
Made all instances delete on exit
Made error message delete all instances
2018-04-11 07:20:43 -07:00
andreja6
2b508cd017 Changed the way of getting an instance type 2018-04-11 06:42:11 -07:00
andreja6
59f6652396 Added instance types
I feel like the way it works now isn't the best
2018-04-10 21:59:55 -07:00
andreja6
0908d93f29 Added instance vector
Added instance header to main
2018-04-10 18:41:38 -07:00
andreja6
f8f309f98e Removed unneded space 2018-04-10 17:35:00 -07:00
andreja6
3087ad0cc8 Cleaned up error message 2018-04-10 15:59:15 -07:00
andreja6
b4c60ec624 Added file checking
Check to make sure if file exists before continuing
2018-04-10 14:10:41 -07:00
andreja6
e0bad6e42b Made requred G3D version 6.10 for safety reasons 2018-04-10 12:40:51 -07:00
andreja6
1fb211554d Added more GUI objects 2018-04-10 12:25:48 -07:00