Pietro Gagliardi
|
de9c598ca3
|
Removed container from SimpleGrid and Grid. This is necessary to do now, alas; the Windows gouicontainers left over weren't being hidden, causing undesirable Tab behavior.
|
2014-10-26 21:33:52 -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
|
982da8c896
|
Fixed a dumb bug in Grid that prevented the scrollbars in Area from showing up.
|
2014-09-03 21:31:38 -04:00 |
Pietro Gagliardi
|
1eab40b646
|
Various Grid comment updates.
|
2014-09-03 20:57:02 -04:00 |
Pietro Gagliardi
|
dbba883776
|
Mostly fixed Grid behavior.
|
2014-09-03 20:55:28 -04:00 |
Pietro Gagliardi
|
3bd1ec9334
|
Exported xspan/yspan in Grid to the Add() function parameter list.
|
2014-09-03 18:30:38 -04:00 |
Pietro Gagliardi
|
986c75493d
|
Fixed errors preventing current test program from rendering new Grids correctly.
|
2014-09-03 18:26:49 -04:00 |
Pietro Gagliardi
|
fcd55f7636
|
Accidentally left Grid expand code commented out. Fixed.
|
2014-09-03 18:07:27 -04:00 |
Pietro Gagliardi
|
9a2c3c4bde
|
Rewrote the Grid implementation to handle spans.
|
2014-09-03 17:59:20 -04:00 |
Pietro Gagliardi
|
73a7fe6c1d
|
Restructured the Grid allocation algorithm to split position/size assignment and neighbor assignment. This will make xspan/yspan much easier.
|
2014-09-03 12:10:03 -04:00 |
Pietro Gagliardi
|
76c518b3e2
|
Fixed empty cells in Grid not handled correctly.
|
2014-09-01 13:31:39 -04:00 |
Pietro Gagliardi
|
53c57267b1
|
Still more typo fixes.
|
2014-09-01 10:20:58 -04:00 |
Pietro Gagliardi
|
a9fa3e66c2
|
Quick typo fix.
|
2014-09-01 10:20:01 -04:00 |
Pietro Gagliardi
|
1d67ff5281
|
Improved Grid's documentation.
|
2014-09-01 10:18:22 -04:00 |
Pietro Gagliardi
|
83b1957fd7
|
Implemented vertical alignment in Grid.
|
2014-09-01 10:11:41 -04:00 |
Pietro Gagliardi
|
dcb505fd01
|
Implemented Grid halign Center.
|
2014-09-01 10:04:48 -04:00 |
Pietro Gagliardi
|
91e35c1610
|
Added right-alignment to Grid.
|
2014-09-01 00:56:33 -04:00 |
Pietro Gagliardi
|
2731cf3ae0
|
Simplified Grid's code greatly, making it more correct in the process. Also renamed h/vexpand/align to x/yexpand/align for simplicity.
|
2014-09-01 00:37:18 -04:00 |
Pietro Gagliardi
|
29a764199f
|
Added initial implementation of GtkGrid-style Grid.
|
2014-08-31 18:59:55 -04:00 |
Pietro Gagliardi
|
c930166585
|
Renamed grid.go.
|
2014-08-31 13:03:35 -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
|
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 |