summaryrefslogtreecommitdiff
path: root/control.go
AgeCommit message (Collapse)Author
2018-08-26Migrate the link_darwin_amd64.go and control.go files back; fixed up errors ↵Pietro Gagliardi
in the C files and util.go.
2018-08-26Moved all the Go files out of the way again, this time so we can migrate ↵Pietro Gagliardi
them to more proper cgo usage.
2018-08-12Fixed build errors.Pietro Gagliardi
2018-08-11And readded some helper code for the containers.Pietro Gagliardi
2018-08-11More control conversion and syncing.Pietro Gagliardi
2018-08-11Created a new Control setup; wrote Button for it.Pietro Gagliardi
2018-08-11Moved the existing .go files out of the way and replaced ui.h with the ↵Pietro Gagliardi
alpha4 ui.h.
2015-12-12Added Button and Checkbox.Pietro Gagliardi
2015-12-12Added uiWindow.Pietro Gagliardi
2015-12-12Added code for Controls.Pietro Gagliardi
2015-12-11LET'S GET THIS FINAL REWRITE EVER STARTEDPietro Gagliardi
2014-10-26Reimplemented Control.containerShow()/Control.containerHide(). Will be ↵Pietro Gagliardi
needed to fully move Tab on Windows away from container.
2014-10-18Merged new container/sizing stuff.Pietro Gagliardi
2014-10-02go fmt. Precursor to bug report filing.Pietro Gagliardi
2014-08-30...in with the new.Pietro Gagliardi
2014-08-30Out with the old...Pietro Gagliardi
2014-07-02Moved it all back; the preemptive multitaksing during an event handler kills ↵Pietro Gagliardi
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-02Moved everything out of the way pending rewrite.Pietro Gagliardi
2014-06-25Began the work for moving everything to the new control sizing system.Pietro Gagliardi
2014-06-25Added the necessary work to make new regular Labels work on the other platforms.Pietro Gagliardi
2014-06-10More go fmt.Pietro Gagliardi
2014-03-30Updated the documentation: Area now works on all platforms, Modifiers ↵Pietro Gagliardi
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-17Changed the new resizing code so that it uses the same allocated slice per ↵Pietro Gagliardi
window instead of making a new one to store all the resize requests each time.
2014-03-17Changed window resizes so that the actual Control.setRect() functions ↵Pietro Gagliardi
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-12Separated file creation dates from the package comment.Pietro Gagliardi
2014-03-09Removed error returns from Control.preferredSize() since errors are not ↵Pietro Gagliardi
going to be returned anymore.
2014-03-03Fixed Mac OS X control placement flipping. This is done by passing the ↵Pietro Gagliardi
height of the window around setRect() calls to avoid polling the content view frame each time.
2014-02-24Added Control.preferredSize() and preferredSize() for all the standard Controls.Pietro Gagliardi
2014-02-19Moved to a proper package; main() is now a test and go test -c is used to ↵Pietro Gagliardi
build. Once I iron out a bug with Windows event handling, I'll add a README.
2014-02-17Removed all //package ui comments.Pietro Gagliardi
2014-02-14Renamed Control.apply() to Control.make().Pietro Gagliardi
2014-02-13Removed Control.setParent() as the parent/child hierarchy is now unidirectional.Pietro Gagliardi
2014-02-13Added sizing of windows and the main window control. It presently deadlocks; ↵Pietro Gagliardi
I'll need to redo my mutexes...
2014-02-12Adjusted Control and Window for the new system.Pietro Gagliardi
2014-02-12Added buttons.Pietro Gagliardi
2014-02-12Set up restrictions tracking. Added a restriction that a window and its ↵Pietro Gagliardi
controls are fixed to the window once it has been open. Started accounting for parent windows in controls.
2014-02-11Started implementing the public API: added the Window and Control types and ↵Pietro Gagliardi
the skeleton of the Windows implementation.