Pietro Gagliardi
|
b31ce95b33
|
Fixed up more LPCWSTR->LPWSTR conversion, including some code simplification.
|
2014-08-01 18:30:07 -04:00 |
Pietro Gagliardi
|
80828b8a7d
|
Changed LPCWSTR to LPWSTR in the Windows code as the C means const and there are a few cases of const->non-const conversions as a result.
|
2014-08-01 18:25:59 -04:00 |
Pietro Gagliardi
|
7f027bae3c
|
Applied non-standalone Label offsets to the Windows backend. Also more TODOs.
|
2014-08-01 15:11:09 -04:00 |
Pietro Gagliardi
|
9c0aa7be5c
|
Resolved a TODO about label alignment.
|
2014-08-01 13:14:10 -04:00 |
Pietro Gagliardi
|
b1902686ca
|
Disambiguated what happens when a regular Label is used in a Standalone context.
|
2014-07-30 22:45:03 -04:00 |
Pietro Gagliardi
|
bdc8aac4d6
|
Added preferred size tests to zz_test.go; these will help for what we're about to do (implement Control.preferredSize() on all other platforms).
|
2014-07-30 22:42:32 -04:00 |
Pietro Gagliardi
|
c5917de29c
|
Split out the default definitions of Control.allocate() into a single place.
|
2014-07-30 20:38:01 -04:00 |
Pietro Gagliardi
|
713be62f16
|
Applied Labels being vertically aligned to the top when next to a Table in the GTK+ backend.
|
2014-07-30 17:32:10 -04:00 |
Pietro Gagliardi
|
3d922c87fa
|
Fixed up attributes of Table on Mac OS X.
|
2014-07-30 13:10:19 -04:00 |
Pietro Gagliardi
|
d21bd30583
|
Moved the Mac OS X function newScrollView() to control_darwin.m and verified its styles against Interface Builder.
|
2014-07-30 12:50:45 -04:00 |
Pietro Gagliardi
|
a8b7283a87
|
Moved the definition of Control itself to control.go and updated some comments.
|
2014-07-30 12:36:00 -04:00 |
Pietro Gagliardi
|
c0473db73c
|
Ported the new Control setup to Mac OS X.
|
2014-07-30 12:34:54 -04:00 |
Pietro Gagliardi
|
4740f72efb
|
Applied the new Control system to the GTK+ backend.
|
2014-07-30 10:21:23 -04:00 |
Pietro Gagliardi
|
210102fe95
|
Set up a new, cleaner model for deriving Control's methods and applied it to the Windows backend.
|
2014-07-30 02:06:01 -04:00 |
Pietro Gagliardi
|
5a51263adc
|
Renamed the controls* and containers* files to basicctrls* and containerctrls*, respectively, in preparation for the widget hierarchy redo.
|
2014-07-30 00:54:50 -04:00 |
Pietro Gagliardi
|
8b1756e952
|
Re-added Stack. Of course it only works right on GTK+ right now... the other platforms's Control.preferredSize()s aren't implemented yet!
|
2014-07-29 23:23:45 -04:00 |
Pietro Gagliardi
|
9daab20fce
|
Changed Control.setParent() to take the same argument type on all platforms; this is needed for re-adding Stack and Grid. This argument type is defined by each platform.
|
2014-07-29 23:01:28 -04:00 |
Pietro Gagliardi
|
f4bb7360d4
|
Added Label and implemented it on all platforms.
|
2014-07-29 13:48:31 -04:00 |
Pietro Gagliardi
|
8d7f0c9a62
|
Wrote up the data model for Mac OS X Tables; now Tables work everywhere!
|
2014-07-29 10:54:52 -04:00 |
Pietro Gagliardi
|
4e0436da18
|
Added the beginning of the Mac OS X Table code.
|
2014-07-29 10:32:49 -04:00 |
Pietro Gagliardi
|
b37f32c142
|
Made column headers resizeable on GTK+ Tables.
|
2014-07-29 04:30:58 -04:00 |
Pietro Gagliardi
|
abb77b7a5c
|
Hooked all the GTK+ Table stuff together and got it working. Woo!
|
2014-07-29 03:43:01 -04:00 |
Pietro Gagliardi
|
f099d935ea
|
Added build guards to the GTK+ Table code.
|
2014-07-29 03:11:21 -04:00 |
Pietro Gagliardi
|
24f5a91ff4
|
Wrote the GTK+ Table model code. Mostly working; now it just needs an update mechanism...
|
2014-07-29 03:07:11 -04:00 |
Pietro Gagliardi
|
92539e10e9
|
Added the beginning of the GTK+ Table model implementation.
|
2014-07-29 01:53:34 -04:00 |
Pietro Gagliardi
|
ab8acd99b9
|
Fixed a small error in the zz_test.go rewrite from a few commits ago.
|
2014-07-29 01:40:17 -04:00 |
Pietro Gagliardi
|
a501c5678d
|
Began the implementation of Table on GTK+.
|
2014-07-29 01:06:56 -04:00 |
Pietro Gagliardi
|
74756e3086
|
Added #include "_cgo_export.h" to table_windows.c.
|
2014-07-29 00:47:09 -04:00 |
Pietro Gagliardi
|
389269bc66
|
Fixed the test program crashing after a while (prevent the Window and Controls from being garbage-collected from under us).
|
2014-07-28 23:55:52 -04:00 |
Pietro Gagliardi
|
84e04cdae1
|
Set up some extended styles on Windows Tables for consistency and future features.
|
2014-07-28 23:47:45 -04:00 |
Pietro Gagliardi
|
8fcadffeaf
|
Implemented Table item text grabbing on Windows.
|
2014-07-28 23:29:06 -04:00 |
Pietro Gagliardi
|
3c34f22373
|
Fixed up borders for currently implemented controls on Windows.
|
2014-07-28 22:16:45 -04:00 |
Pietro Gagliardi
|
5a70accb2f
|
Fixed the Tab wrong control drawing issues on Windows.
|
2014-07-28 21:10:13 -04:00 |
Pietro Gagliardi
|
7cb6ca1243
|
Began the implementation of Table on Windows.
|
2014-07-28 20:52:32 -04:00 |
Pietro Gagliardi
|
e2ef204b70
|
Quick note about Table.Unlock() and updates.
|
2014-07-28 18:03:59 -04:00 |
Pietro Gagliardi
|
0b82f37bcb
|
Added the basic Table interface. Now to implement it...
|
2014-07-28 17:59:50 -04:00 |
Pietro Gagliardi
|
286704bedd
|
Fixed the proper recursive application of spaced on Windows tabs by having container.resize() also take the origin coordinates as arguments.
|
2014-07-28 15:02:27 -04:00 |
Pietro Gagliardi
|
13bcf728ba
|
Made the previous commit's changes on Windows. If the Stack Overflow question tells me I'm wrong, we can deal with it then. But yay simple sizing code again :D
|
2014-07-28 14:43:34 -04:00 |
Pietro Gagliardi
|
bea4df1abf
|
Began final simplification of size code. spaced is now a global variable; either all controls are given spacing now, or none will. beginResize() is a method on container again. Done on GTK+ and Mac OS X for now. I'm going to go ahead and implement this on Windows in a bit, regardless of whether that Stack Overflow question get answered or not, because ugggggggggh I just want to continue working on this project for fuck's sake!
|
2014-07-28 14:00:01 -04:00 |
Pietro Gagliardi
|
3f124a016e
|
Made Tab in the GTK+ backend scrollable (in case there are too many tabs).
|
2014-07-28 13:18:03 -04:00 |
Pietro Gagliardi
|
d8785297ff
|
Added a note about GTK+ color selection dialog deprecations for later.
|
2014-07-27 14:50:49 -04:00 |
Pietro Gagliardi
|
be8afd43c0
|
Copied stack.go and grid.go to a temporary restaging area; removed the margin code from both as we no longer need it there.
|
2014-07-27 10:48:30 -04:00 |
Pietro Gagliardi
|
e679f8c9e4
|
Actually implemented margins in the right place — in container.resize() itself, not just in the actual containers (as the old Stack and Grid code do). I'll need to remove them from Stack and Grid when I merge them back in...
|
2014-07-27 10:42:59 -04:00 |
Pietro Gagliardi
|
d34ffa326c
|
Made the sizing recursive chain idempotent and added a -spaced option to the test program to test spacing.
|
2014-07-26 14:11:03 -04:00 |
Pietro Gagliardi
|
22989c13da
|
Removed sizing.endResize(); it's not really used at this point.
|
2014-07-26 11:21:21 -04:00 |
Pietro Gagliardi
|
b5d8b4f3de
|
Adjusted autocompletion settings for TextField on Mac OS X.
|
2014-07-26 11:18:34 -04:00 |
Pietro Gagliardi
|
2c810e7165
|
Verified Mac OS X control appearance and fonts with Interface Builder.
|
2014-07-26 10:05:18 -04:00 |
Pietro Gagliardi
|
e8df54cb82
|
Implemented TextField on Mac OS X.
|
2014-07-26 09:20:33 -04:00 |
Pietro Gagliardi
|
348b3f7032
|
Implemented TextField on GTK+.
|
2014-07-26 08:52:33 -04:00 |
Pietro Gagliardi
|
4c4235465e
|
Made TextFields properly horizontally scrollable on Windows.
|
2014-07-26 07:02:19 -04:00 |