Pietro Gagliardi
|
d97f5233a9
|
De-container-ized Stack.
|
2014-10-26 20:08:53 -04:00 |
Pietro Gagliardi
|
335480db7c
|
Reimplemented Control.containerShow()/Control.containerHide(). Will be needed to fully move Tab on Windows away from container.
|
2014-10-26 15:15:13 -04:00 |
Pietro Gagliardi
|
62048303a3
|
Merged new container/sizing stuff.
|
2014-10-18 17:03:07 -04:00 |
Pietro Gagliardi
|
982004d050
|
go fmt. Precursor to bug report filing.
|
2014-10-02 10:05:53 -04:00 |
Pietro Gagliardi
|
29a764199f
|
Added initial implementation of GtkGrid-style Grid.
|
2014-08-31 18:59:55 -04:00 |
Pietro Gagliardi
|
2c4eecc9c3
|
Changed Grid to SimpleGrid in preparation for a better Grid.
|
2014-08-31 13:02:47 -04:00 |
Pietro Gagliardi
|
77bf566ebb
|
...in with the new.
|
2014-08-30 23:02:02 -04:00 |
Pietro Gagliardi
|
155899c65e
|
Out with the old...
|
2014-08-30 23:01:08 -04:00 |
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
|
3bedaf483a
|
Implemented padding on Stack.
|
2014-06-26 10:55:11 -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
|
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
|
09e3fcd9cb
|
More go fmt.
|
2014-06-10 11:12:32 -04:00 |
Pietro Gagliardi
|
59870e80f0
|
Quick changes: turned "Window has been opened" to "Window has been created" since I'm going to separate creating and opening (Open() will call Create()).
|
2014-06-03 22:54:28 -04:00 |
Pietro Gagliardi
|
d33008e85e
|
Made Space() return the same Control repeatedly instead of making a new one each time to conserve memory. No future guarantees, however, so that is noted in the documentation as well.
|
2014-04-26 16:05:23 -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
|
cdd535cc71
|
Made Stack.SetStretchy() panic on invalid index, ending that group of functions. Also added the tests for those functions who did not have tests already written.
|
2014-03-11 17:37:04 -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
|
bca8979b36
|
More Space() documentation fixes; also a TODO for Space().
|
2014-03-07 19:31:57 -05: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
|
d6f289bc86
|
Split NewStack() into NewHorizontalStack() and NewVerticalStack(). Unexported Orientation and its values accordingly.
|
2014-03-06 20:30:13 -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
|
69bff124a6
|
Lock Stack's mutex lock like with all other Controls.
|
2014-02-25 19:16:26 -05:00 |
Pietro Gagliardi
|
d55b2a9d18
|
Fixed up Grid and Space() documentation.
|
2014-02-25 19:05:01 -05:00 |
Pietro Gagliardi
|
700cbbec7e
|
More documentation fixups.
|
2014-02-25 15:44:57 -05:00 |
Pietro Gagliardi
|
cd73e42850
|
Documentation fixups.
|
2014-02-25 15:43:12 -05:00 |
Pietro Gagliardi
|
8440c7a078
|
Added Space() for padding layouts.
|
2014-02-25 15:38:04 -05:00 |
Pietro Gagliardi
|
f839192c8f
|
Made sure Stack.SetStretchy() (like all other layout-changing functions) cannot be called once the parent Window has been opened.
|
2014-02-24 11:19:57 -05:00 |
Pietro Gagliardi
|
b716530863
|
Added Stack.preferredSize() and fixed errors in stack.go.
|
2014-02-24 11:14:26 -05:00 |
Pietro Gagliardi
|
1510af0005
|
Fixed some compiler errors in the last few commits.
|
2014-02-24 10:44:20 -05:00 |
Pietro Gagliardi
|
1c540117d3
|
Wrote the new Stack.setRect().
|
2014-02-24 10:42:58 -05:00 |
Pietro Gagliardi
|
a174fbebbd
|
Changed Orientation to a bool to prevent invalid values outright.
|
2014-02-24 10:30:14 -05:00 |
Pietro Gagliardi
|
19f9761a81
|
Started rewriting Stack to conform to the new layout plan.
|
2014-02-24 10:29:15 -05:00 |
Pietro Gagliardi
|
fb82e651a4
|
Moved to a proper package; main() is now a test and go test -c is used to build. Once I iron out a bug with Windows event handling, I'll add a README.
|
2014-02-19 11:41:10 -05:00 |
Pietro Gagliardi
|
1bb2371e8d
|
More TODO reduction.
|
2014-02-15 15:38:41 -05:00 |
Pietro Gagliardi
|
168b6eb112
|
Handled all controls's created field.
|
2014-02-14 20:41:36 -05:00 |
Pietro Gagliardi
|
80f43a613a
|
Renamed Control.apply() to Control.make().
|
2014-02-14 11:12:08 -05:00 |
Pietro Gagliardi
|
9a4e7bf5eb
|
Changed Stack so that controls are added only at creation time.
|
2014-02-14 10:58:16 -05:00 |
Pietro Gagliardi
|
5436f8f5fa
|
Added Stacks of controls.
|
2014-02-13 17:04:57 -05:00 |