Pietro Gagliardi
|
982004d050
|
go fmt. Precursor to bug report filing.
|
2014-10-02 10:05:53 -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
|
e4992dbcb2
|
Began the work for moving everything to the new control sizing system.
|
2014-06-25 22:07:37 -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
|
1e66637cd2
|
More go fmt.
|
2014-06-10 14:59:39 -04:00 |
Pietro Gagliardi
|
ce5cd80dba
|
Updated the documentation: Area now works on all platforms, Modifiers behavior on both left and right keys simultaneously is undefined for now, and the way to create custom Controls no longer involves embedding Area.
|
2014-03-30 19:57:24 -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
|
34ce16d586
|
Separated file creation dates from the package comment.
|
2014-03-12 21:55:45 -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
|
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
|
53db57745f
|
Added Control.preferredSize() and preferredSize() for all the standard Controls.
|
2014-02-24 10:56:35 -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
|
b1b05c2b1f
|
Removed all //package ui comments.
|
2014-02-17 18:01:32 -05:00 |
Pietro Gagliardi
|
80f43a613a
|
Renamed Control.apply() to Control.make().
|
2014-02-14 11:12:08 -05:00 |
Pietro Gagliardi
|
91113a32bf
|
Removed Control.setParent() as the parent/child hierarchy is now unidirectional.
|
2014-02-13 11:45:10 -05:00 |
Pietro Gagliardi
|
5626b9e35c
|
Added sizing of windows and the main window control. It presently deadlocks; I'll need to redo my mutexes...
|
2014-02-13 05:28:26 -05:00 |
Pietro Gagliardi
|
942490e1aa
|
Adjusted Control and Window for the new system.
|
2014-02-12 21:23:53 -05:00 |
Pietro Gagliardi
|
ddfb5c7603
|
Added buttons.
|
2014-02-12 11:29:20 -05:00 |
Pietro Gagliardi
|
e9e2c0f269
|
Set up restrictions tracking. Added a restriction that a window and its controls are fixed to the window once it has been open. Started accounting for parent windows in controls.
|
2014-02-12 10:29:56 -05:00 |
Pietro Gagliardi
|
9794814e93
|
Started implementing the public API: added the Window and Control types and the skeleton of the Windows implementation.
|
2014-02-11 16:14:15 -05:00 |