Commit Graph

64 Commits

Author SHA1 Message Date
andreja6
a9f91c8a9e Changed how window works
Controls now work
2018-04-24 19:17:49 -07:00
andreja6
04f1ac813e Controller still broken but window size works 2018-04-24 19:02:48 -07:00
andreja6
2b2672b9fd Now resizes with hwnd
but controls are dead asgassdsad
2018-04-24 18:23:07 -07:00
andreja6
d0bba08f3a Controlls dont work 2018-04-24 18:11:29 -07:00
andreja6
3f222b75d8 Tried adding dialog and main window 2018-04-24 18:01:26 -07:00
andreja6
cbd680a6ac Changed the way blocks are rendered 2018-04-24 17:13:04 -07:00
andreja6
d1a1ebd016 Added mouse click functions to image button
Added destructor for images
Deleting listener now on exit
2018-04-24 12:39:53 -07:00
andreja6
9ffe37c21a Fixed issue with disabled images 2018-04-24 00:59:03 -07:00
andreja6
3ee0075f1d Added scale tool image 2018-04-24 00:34:34 -07:00
andreja6
05da8e2270 Added "disabled" bool to button
Changed null check
2018-04-23 23:40:58 -07:00
andreja6
68ac692314 Added final GUI components 2018-04-23 23:25:06 -07:00
andreja6
a4176510b9 Changed class organization 2018-04-23 22:05:41 -07:00
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