| Age | Commit message (Collapse) | Author |
|
|
|
here has the advantage of scaling out to all other types of dialogs.
|
|
decided it would be safest to let event handlers propagate, as I did with Areas earlier.)
|
|
directives from ALL files, rather than using each file's directive individually, so having them combined like this is pointless. Instead, the #cgo directives are (or is, since there's only one) in uitask_unix.go. Will do the same for Mac next; this will help since we're going to add a CFLAGS value afterward.
|
|
|
|
one place. This will also affect what happens if I switch to DeferWindowPos() on Windows.
|
|
rid of some of the casting functions and invocations of said functions, and only adds sysdata_unix.go to the cgo list.
|
|
file a bit.
|
|
window instead of making a new one to store all the resize requests each time.
|
|
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.
|
|
versioning macros can be included in all Go files, not just area_unix.go.
|
|
events are no longer generated; instead all events are given to fixed, compile-time, cgo-exported callback functions that take the sysData as user data. This saves memory (we no longer need to generate closures and we no longer have to save them elsewhere to keep them from being garbage collected) and makes the top of sysdata_unix.go slightly cleaner, but it moves the code for handling UI events into callbacks_unix.go. This is needed for Area, in which we need to feed the sysData to an event connected to a subwidget instead of the main widget returned.
|
|
|
|
CPU hog.
|
|
build. Once I iron out a bug with Windows event handling, I'll add a README.
|
|
the way.
|
|
though...
|
|
|
|
|