Pietro Gagliardi
|
c04abae6e4
|
First part: get rid of noStretchyView. We won't need it anymore.
|
2016-05-06 23:03:31 -04:00 |
Pietro Gagliardi
|
a3629e752d
|
Added default implementations of the new methods where necessary. Before we go around implementing them, it's time for a massive rewrite of uiBox.
|
2016-05-06 21:50:14 -04:00 |
Pietro Gagliardi
|
f9e3b7a2d5
|
Okay we've got a handle on how this is supposed to work now I think; I just need to figure out how to abstract out this should-expand behavior...
|
2016-05-06 20:55:33 -04:00 |
Pietro Gagliardi
|
e462c7a660
|
Okay I think we're on to something now...
|
2016-05-06 20:34:02 -04:00 |
Pietro Gagliardi
|
117b8c92d2
|
Tried to change uiBox to use updateConstraints instead of a relayout() function. Maybe this will end my woes...
|
2016-05-06 19:21:41 -04:00 |
Pietro Gagliardi
|
ac84b66724
|
Separated the presence of a no-stretchy view from the presence of a stretchy control. This will make experimenting easier.
|
2016-05-02 15:47:48 -04:00 |
Pietro Gagliardi
|
09a7fb7123
|
Decided not to do the drag/drop for our font button; I don't know what even provides a NSFont source, but the font panel does not.
|
2016-05-02 13:30:24 -04:00 |
Pietro Gagliardi
|
b6a396dd4a
|
Deactivated the current font button on window close and implemented cleanup, both on OS X.
|
2016-05-02 10:32:39 -04:00 |
Pietro Gagliardi
|
c5f6a09200
|
More auto layout commentary.
|
2016-05-01 16:26:04 -04:00 |
Pietro Gagliardi
|
896a779e1e
|
More auto layout fixes and hacks and TODOs.
|
2016-05-01 16:25:05 -04:00 |
Pietro Gagliardi
|
8efa8c19db
|
Minor warning changes.
|
2016-05-01 16:15:54 -04:00 |
Pietro Gagliardi
|
de4540dfca
|
Some comment explanation.
|
2016-05-01 12:02:36 -04:00 |
Pietro Gagliardi
|
896c2590c5
|
FIxed the various uiGroup glitches. Woo!
|
2016-05-01 12:00:10 -04:00 |
Pietro Gagliardi
|
022f0a2591
|
More TODOs.
|
2016-05-01 11:43:34 -04:00 |
Pietro Gagliardi
|
aecbf078d3
|
Fixed some of the uiBox glitches.
|
2016-05-01 11:25:35 -04:00 |
Pietro Gagliardi
|
b653a8ac2c
|
Fixed runtime errors. It MOSTLY works!
|
2016-04-30 18:40:09 -04:00 |
Pietro Gagliardi
|
1038b8d892
|
Compile fixes. Oh boy...
|
2016-04-30 18:07:36 -04:00 |
Pietro Gagliardi
|
c87a932a6d
|
Rewrote darwin/box.m's layout code to create constraints directly. Let's try this out.
|
2016-04-30 17:45:44 -04:00 |
Pietro Gagliardi
|
835c711a24
|
Started reworking the auto layout system. uiBox is next.
|
2016-04-30 17:14:14 -04:00 |
Pietro Gagliardi
|
d7d7d4fd76
|
Fixed the SyncEnableState() machinery not quite working properly.
|
2016-04-25 18:07:29 -04:00 |
Pietro Gagliardi
|
7b0780be2a
|
Made SyncEnableState() a uiDarwinControl method instead of a uiControl method since it's not needed on GTK+.
|
2016-04-25 17:52:16 -04:00 |
Pietro Gagliardi
|
98e7afc5de
|
Freed most of the mapTables.
|
2016-04-25 13:47:24 -04:00 |
Pietro Gagliardi
|
d0d0efce1a
|
Fixed build errors. Now to test!
|
2016-04-25 13:38:17 -04:00 |
Pietro Gagliardi
|
3ca4a28bb3
|
Settled the SetParent stuff. NOW we can test.
|
2016-04-25 12:59:45 -04:00 |
Pietro Gagliardi
|
23c2998040
|
Migrated darwin/control.m. Forgot the SetParent/SetSuperview rule! One more commit before we can build...
|
2016-04-25 12:55:51 -04:00 |
Pietro Gagliardi
|
189d661b7f
|
Migrated darwin/tab.m and fixed up the other files. Now for darwin/control.m, then we can test...
|
2016-04-25 12:52:54 -04:00 |
Pietro Gagliardi
|
b50eda0303
|
Migrated darwin/group.m. That just leaves darwin/tab.m and a few fixups to a number of other controls.
|
2016-04-25 12:42:43 -04:00 |
Pietro Gagliardi
|
f0ca2dcee5
|
Migrated darwin/box.m.
|
2016-04-25 12:35:01 -04:00 |
Pietro Gagliardi
|
6e584f26d3
|
Migrated darwin/window.m.
|
2016-04-25 12:28:36 -04:00 |
Pietro Gagliardi
|
c36d5079db
|
Migrated the controls that don't have children to the new object method model on OS X.
|
2016-04-25 11:54:09 -04:00 |
Pietro Gagliardi
|
639a010a56
|
Tested everything by migrating darwin/combobox.m; fixed errors along the way. Also more TODOs.
|
2016-04-25 10:23:16 -04:00 |
Pietro Gagliardi
|
dda30cdb3c
|
Started the new uiControl infrastructure.
|
2016-04-24 19:22:21 -04:00 |
Pietro Gagliardi
|
cf51ec823f
|
Got rid of toplevelOwning(); I didn't like that one.
|
2016-04-24 18:23:00 -04:00 |
Pietro Gagliardi
|
bc0a1d43c9
|
Applied the new type system to the Windows backend and fixed some more C++ stupidity related to it.
|
2016-04-24 17:38:48 -04:00 |
Pietro Gagliardi
|
b6c54aac43
|
Fixed build errors. Let's test!
|
2016-04-24 16:14:19 -04:00 |
Pietro Gagliardi
|
ded1ee6997
|
Removed typed stuff from darwin/menu.m. Now let's try building it.
|
2016-04-24 16:07:45 -04:00 |
Pietro Gagliardi
|
5efad5e850
|
Migrated the uiNewControl() definitions on OS X. This just leaves uiMenu.
|
2016-04-24 16:03:13 -04:00 |
Pietro Gagliardi
|
b2c9577cb9
|
Set up all the control signatures and the framework for signature-based control types on OS X.
|
2016-04-24 15:46:29 -04:00 |
Pietro Gagliardi
|
f60178798f
|
Removed common type code.
|
2016-04-24 15:08:48 -04:00 |
Pietro Gagliardi
|
7b0f930185
|
Removed all the type function declarations from all the controls. More TODOs.
|
2016-04-24 15:04:36 -04:00 |
Pietro Gagliardi
|
cfa1b6bf0a
|
Added uiFontButtonFont() and uiFontButtonOnChanged(); implemented on OS X.
|
2016-04-20 13:40:54 -04:00 |
Pietro Gagliardi
|
721269b3eb
|
Implemented colored text on OS X and Windows.
|
2016-04-19 18:45:16 -04:00 |
Pietro Gagliardi
|
e786d664cb
|
Implemented text layout SetColor on OS X.
|
2016-04-19 16:06:50 -04:00 |
Pietro Gagliardi
|
5b74b2752e
|
Decided to use character offsets instead of byte offsets for text layout attributes. This removes the shaky code from the OS X and Windows backends to compute a list of character offsets for byte offsets. The equivalent code for GTK+ to convert chars to bytes will be much more solid; it will be written next.
|
2016-04-19 14:39:33 -04:00 |
Pietro Gagliardi
|
c2d165af94
|
Implemented the uiDrawTextFont direct from system font-making functions on other platforms.
|
2016-04-19 11:23:05 -04:00 |
Pietro Gagliardi
|
ccfa3d41a3
|
More work on the initial font and showing styles. I have a feeling my current approach is a mistake.
|
2016-04-18 13:32:48 -04:00 |
Pietro Gagliardi
|
84fc5dafaa
|
More TODOs.
|
2016-04-18 10:22:36 -04:00 |
Pietro Gagliardi
|
23ec771c86
|
Removed uiFontDescriptor.SmallCaps; on Windows this has to be applied to layouts.
|
2016-04-15 14:23:16 -04:00 |
Pietro Gagliardi
|
0bc140cd46
|
Dropped uiDrawTextGravity. That has to do with vertical text, which we can both abstract into a higher level API and can't do yet because DirectWrite simply does not support vertical text on Windows 7 for reasons that escape logical thought.
|
2016-04-15 00:24:27 -04:00 |
Pietro Gagliardi
|
1b61bfd67c
|
More TODOs.
|
2016-04-14 14:33:20 -04:00 |