Pietro Gagliardi
|
f44094b4e4
|
Implemented uiTab on Mac OS X. It still doesn't quite work yet; switching from one tab and back doesn't show that tab's controls...
|
2015-04-12 15:46:58 -04:00 |
Pietro Gagliardi
|
6121e3a47e
|
Some comment and TODO adjustments.
|
2015-04-12 14:50:58 -04:00 |
Pietro Gagliardi
|
4ff76fec17
|
More TODOs.
|
2015-04-12 12:59:39 -04:00 |
Pietro Gagliardi
|
7ddd16b30a
|
More TODOs.
|
2015-04-12 12:53:16 -04:00 |
Pietro Gagliardi
|
f497afe4ed
|
Made controls transparent to tab backgrounds on Windows. It doesn't quite work right...
|
2015-04-12 12:38:25 -04:00 |
Pietro Gagliardi
|
83221c5c5a
|
Implemented uiTab on Windows.
|
2015-04-12 03:16:11 -04:00 |
Pietro Gagliardi
|
97fa4a9211
|
Added uiTab to the GTK+ backend.
|
2015-04-12 01:06:42 -04:00 |
Pietro Gagliardi
|
39657d164f
|
Quick update/fix to the test program.
|
2015-04-12 01:01:56 -04:00 |
Pietro Gagliardi
|
efca31420b
|
Fixed a major flaw in the GTK+ implementation I only realized now: by calling gtk_widget_show_all() in uiWindowShow(), we override the user's explicit hide settings! Fix it by calling gtk_widget_show() there (to only show the window), and gtk_widget_show_all() in both the new control constructor (to show the new control initially) and in the container constructor (to show that initially too).
|
2015-04-12 00:59:32 -04:00 |
Pietro Gagliardi
|
4a1d80dcae
|
Laid the foundation for tabs.
|
2015-04-12 00:30:44 -04:00 |
Pietro Gagliardi
|
db3d67dc2c
|
More TODOs.
|
2015-04-12 00:15:20 -04:00 |
Pietro Gagliardi
|
7f984b29e2
|
Implemented uiLabel on Mac OS X.
|
2015-04-11 23:49:34 -04:00 |
Pietro Gagliardi
|
ca6b5c9dfd
|
Implemented uiLabel on GTK+. More TODOs.
|
2015-04-11 22:49:41 -04:00 |
Pietro Gagliardi
|
51d83e1ebc
|
Made the necessary adjustments to the test program to test labels (and futureproof other layout changes); getting and setting text on Windows works.
|
2015-04-11 22:33:23 -04:00 |
Pietro Gagliardi
|
3699113bd7
|
Implemented uiLabel on Windows. We need to make a somewhat big change to the test program before we can test getting and setting the label's text, though...
|
2015-04-11 22:22:19 -04:00 |
Pietro Gagliardi
|
80c17ebf71
|
Set up the foundation for uiLabel.
|
2015-04-11 21:53:49 -04:00 |
Pietro Gagliardi
|
e18e535476
|
Fixed the stupid 32-bit bug I did that fucking malloc pointer to struct instead of array of struct thing I always do again jesus fucking christ shit
|
2015-04-11 19:34:38 -04:00 |
Pietro Gagliardi
|
a929a0416d
|
More TODOs.
|
2015-04-11 18:24:53 -04:00 |
Pietro Gagliardi
|
f7b001e400
|
Implemented show/hide/enable/disable on Mac OS X new controls.
|
2015-04-11 18:17:46 -04:00 |
Pietro Gagliardi
|
10045e25f4
|
Removed a leftover line from the Go version of uiStack that is actually wrong in the C version; I thought it would fix the previous commit but it doesn't...
|
2015-04-11 17:26:48 -04:00 |
Pietro Gagliardi
|
18cff13678
|
Okay I have no fucking idea what's going on
|
2015-04-11 17:23:36 -04:00 |
Pietro Gagliardi
|
b880635e74
|
Added the enable/disable/show/hide code to the Windows new control. Something is clobbering stacks; need to debug this...
|
2015-04-11 15:34:16 -04:00 |
Pietro Gagliardi
|
5c567d920d
|
Implemented show/hide/enable/disable on uiStack and fixed other bugs. It works!
|
2015-04-11 14:44:40 -04:00 |
Pietro Gagliardi
|
6d8a811e35
|
Implemented making invisible children of uiStacks not count when drawing or calculating preferred size. Need to implement the new methods on uiStack itself before we can test.
|
2015-04-11 14:30:07 -04:00 |
Pietro Gagliardi
|
9c872df89f
|
Implemented showing, hiding, enabling, and disabling for GTK+ controls.
|
2015-04-11 14:21:58 -04:00 |
Pietro Gagliardi
|
37975ae082
|
Laid the foundation for control showing, hiding, enabling, and disabling.
|
2015-04-11 14:12:12 -04:00 |
Pietro Gagliardi
|
901e1cffd6
|
Renamed some variables in stack.c and added some exposition to make the code make slightly more sense.
|
2015-04-11 13:51:37 -04:00 |
Pietro Gagliardi
|
1b815d9e4f
|
Cleaned up uiStack's data structures to use the stackControl structure instead of four memory blocks for the control-specific parameters.
|
2015-04-11 13:45:59 -04:00 |
Pietro Gagliardi
|
348998bdbe
|
Resolved snwprintf() issues once and for all. Thanks to cousteau, dorp, and kate in irc.freenode.net/##c.
|
2015-04-11 13:32:25 -04:00 |
Pietro Gagliardi
|
4611ebf27c
|
Decided to disable the initial parent window on Windows. If this causes problems, I can re-enable it later. More TODOs.
|
2015-04-11 12:40:09 -04:00 |
Pietro Gagliardi
|
88a46d7a44
|
More exposition.
|
2015-04-11 10:34:26 -04:00 |
Pietro Gagliardi
|
e3c5dc1995
|
Decided to keep the current Windows API padding rules. We can change it later if needed.
|
2015-04-11 10:32:01 -04:00 |
Pietro Gagliardi
|
e1d14a08cb
|
More TODO resolution.
|
2015-04-11 09:39:04 -04:00 |
Pietro Gagliardi
|
9ea77087b2
|
Finished the Mac OS X destruction work.
|
2015-04-11 02:56:16 -04:00 |
Pietro Gagliardi
|
ebb77919f9
|
More of the previous commit. More TODOs.
|
2015-04-10 23:24:21 -04:00 |
Pietro Gagliardi
|
347a254d9f
|
Started to implement proper destruction logic for Mac OS X controls.
|
2015-04-10 23:22:46 -04:00 |
Pietro Gagliardi
|
b982e69fb7
|
More TODO resolution and some GTK+ uiWindow inconsistency (and future repeated-event bug waiting to happen) cleanup.
|
2015-04-10 21:48:50 -04:00 |
Pietro Gagliardi
|
a143f41f19
|
More commentary and TODOs.
|
2015-04-10 21:37:08 -04:00 |
Pietro Gagliardi
|
91907526a2
|
More TODO resolution.
|
2015-04-10 21:29:05 -04:00 |
Pietro Gagliardi
|
0f77841a73
|
Added REAL code for the initial parent of a control on Windows.
|
2015-04-10 19:56:23 -04:00 |
Pietro Gagliardi
|
0cfe64c2bb
|
Moved the control IDs TODO to TODO.md as that's a long-term TODO; it depends on how container controls play out.
|
2015-04-10 18:32:04 -04:00 |
Pietro Gagliardi
|
9a5da6159b
|
More TODO resolution.
|
2015-04-10 18:06:01 -04:00 |
Pietro Gagliardi
|
e03d9ae2bd
|
Changed the Windows new control system to automatically assign the standard control font if a flag is set in the creation parameters structure.
|
2015-04-10 17:53:59 -04:00 |
Pietro Gagliardi
|
c205427bfb
|
Cleaned up Windows initialization error handling and migrated it to return the error message directly instead of through uiInitError.
|
2015-04-10 17:41:09 -04:00 |
Pietro Gagliardi
|
f2760aebde
|
Removed autocorrect from Mac OS X uiEntries. Also moved uiFreeText() to text_darwin.m.
|
2015-04-10 17:06:59 -04:00 |
Pietro Gagliardi
|
6277c34337
|
Decided to kill uiInitError and return the message as a const char * instead. Will need to implement on Windows.
|
2015-04-10 16:54:06 -04:00 |
Pietro Gagliardi
|
e7adf623ae
|
More TODOs.
|
2015-04-10 14:31:16 -04:00 |
Pietro Gagliardi
|
07187a4d18
|
More TODOs.
|
2015-04-10 14:29:45 -04:00 |
Pietro Gagliardi
|
2f85197be7
|
More TODO resolution and cross-OS behavioral parity fixes.
|
2015-04-10 14:24:23 -04:00 |
Pietro Gagliardi
|
e88809179b
|
More TODO resolution and debugging stuff.
|
2015-04-10 13:39:45 -04:00 |