Pietro Gagliardi
|
8a81650b3d
|
Moved it all back; the preemptive multitaksing during an event handler kills us on all platforms. Going to have to restrict ALL GUI accss to happening from one t hread, so going to need to drop uitask entirely and have just a start() callback for startup code and a post() function for posting requests to windows (like channel sends but into a perpetual buffer).
|
2014-07-02 22:53:03 -04:00 |
Pietro Gagliardi
|
5d339e656b
|
Moved everything out of the way pending rewrite.
|
2014-07-02 17:13:40 -04:00 |
Pietro Gagliardi
|
ffa1bbe0b9
|
Restored the previous new API. I'm going to change it so that events are callbacks rather than using a window handler, but other than that... yeah.
|
2014-06-30 22:48:12 -04:00 |
Pietro Gagliardi
|
33155f7496
|
Reverted everything back to the old API.
|
2014-06-30 09:57:44 -04:00 |
Pietro Gagliardi
|
ea6200a432
|
Began the migration to the new API. Removed locks from the public control APIs; they won't be needed anymore.
|
2014-06-28 01:05:06 -04:00 |
Pietro Gagliardi
|
2a0dbfc74a
|
Added margins and padding to Grid and a test program to make sure they're the same...
|
2014-06-26 14:22:49 -04:00 |
Pietro Gagliardi
|
214467bb93
|
Implemented window margins for Grids and Stacks.
|
2014-06-26 10:36:59 -04:00 |
Pietro Gagliardi
|
1dd344b2f8
|
Fixed Space() causing panics during size calculations.
|
2014-06-26 03:49:47 -04:00 |
Pietro Gagliardi
|
1eeadc000a
|
Made the new sizing system work on Windows.
|
2014-06-25 23:21:57 -04:00 |
Pietro Gagliardi
|
9a3e73b460
|
Finished the Windows conversion to the new sizing system. Untested.
|
2014-06-25 23:05:29 -04:00 |
Pietro Gagliardi
|
92afc9b944
|
Integrated the new sizing system into Grid and Stack.
|
2014-06-25 22:43:35 -04:00 |
Pietro Gagliardi
|
08922103a7
|
Reverted Stack and Grid back to pre-yoff form. This is part of the change in the sizing system.
|
2014-06-25 22:21:28 -04:00 |
Pietro Gagliardi
|
39f0c352fb
|
Added the necessary work to make new regular Labels work on the other platforms.
|
2014-06-25 11:58:13 -04:00 |
Pietro Gagliardi
|
66f9f13ca2
|
More go fmt.
|
2014-06-10 14:33:48 -04:00 |
Pietro Gagliardi
|
e75730b37d
|
Resolved Grid TODOs: moved feature requests to future plans and made sure SetStretchy() doesn't leave previous stretchy controls filling by accident.
|
2014-04-29 10:10:28 -04:00 |
Pietro Gagliardi
|
f8bca7e0e0
|
Added a sanity check for stretchy control indices in the Grid code.
|
2014-04-29 10:00:27 -04:00 |
Pietro Gagliardi
|
64d5eb541e
|
Changed the new resizing code so that it uses the same allocated slice per window instead of making a new one to store all the resize requests each time.
|
2014-03-17 21:09:03 -04:00 |
Pietro Gagliardi
|
19227080da
|
Changed window resizes so that the actual Control.setRect() functions appended to an array of requests that the resize() function set all at once instead of having each done individually. This will be necessary for what I think will be a solution to the deadlocks. It doesn't work right now; I'm assuming it's allocating too much memory. I know how to fix this, but I'm committing what I have so far to be safe.
|
2014-03-17 20:42:36 -04:00 |
Pietro Gagliardi
|
0e8680c04f
|
Dumped the mutex locks from the other controls and elaborated/asked for help in the README.
|
2014-03-17 14:09:09 -04:00 |
Pietro Gagliardi
|
34ce16d586
|
Separated file creation dates from the package comment.
|
2014-03-12 21:55:45 -04:00 |
Pietro Gagliardi
|
a6188ec490
|
Added more TODOs.
|
2014-03-11 17:38:31 -04:00 |
Pietro Gagliardi
|
cbcf9da6a0
|
More compiler error fixes.
|
2014-03-11 12:25:52 -04:00 |
Pietro Gagliardi
|
9a9a1d21bb
|
Fixed compiler errors in the past few commits.
|
2014-03-11 12:24:48 -04:00 |
Pietro Gagliardi
|
28bd1e9990
|
TODO reduction and documentation fixups in Grid.
|
2014-03-11 12:01:25 -04:00 |
Pietro Gagliardi
|
ce571bad52
|
Removed error returns from Control.preferredSize() since errors are not going to be returned anymore.
|
2014-03-09 19:44:41 -04:00 |
Pietro Gagliardi
|
9dc6e6f7b3
|
Pinned (or marked for later pinninig) behavior of various controls; also improved Space()'s documentation.
|
2014-03-07 19:28:25 -05:00 |
Pietro Gagliardi
|
962a84e056
|
Fixed Mac OS X control placement flipping. This is done by passing the height of the window around setRect() calls to avoid polling the content view frame each time.
|
2014-03-03 17:44:03 -05:00 |
Pietro Gagliardi
|
417ed1f727
|
Added Grid.SetStretchy to allow one control in a Grid to fill the parent Control's space, even when resizing.
|
2014-02-26 07:01:02 -05:00 |
Pietro Gagliardi
|
e1677a8941
|
Added a way to let Controls in a Grid be sized to fill their cells.
|
2014-02-25 21:54:13 -05:00 |
Pietro Gagliardi
|
a95e63003d
|
More documentation fixups.
|
2014-02-25 19:10:09 -05:00 |
Pietro Gagliardi
|
d55b2a9d18
|
Fixed up Grid and Space() documentation.
|
2014-02-25 19:05:01 -05:00 |
Pietro Gagliardi
|
c6cafdd402
|
Wrote the Grid test and found/fixed one error in Grid's position calculations. (If you compare the previous Windows build with this one, you may not notice a difference; this is because of the default preferred size of Labels being too wide).
|
2014-02-25 18:57:19 -05:00 |
Pietro Gagliardi
|
7ba3c5ac17
|
Added untested initial Grid. Now to write a test.
|
2014-02-25 18:21:58 -05:00 |