Pietro Gagliardi
|
d03b8f4b7c
|
Removed extern from C function definitions in containers_windows.c.
|
2014-07-25 16:06:53 -04:00 |
Pietro Gagliardi
|
506ab20582
|
More TODOs.
|
2014-07-25 15:59:09 -04:00 |
Pietro Gagliardi
|
9ea22218ff
|
Implemented Tab on Windows.
|
2014-07-25 15:58:24 -04:00 |
Pietro Gagliardi
|
d515bd74c6
|
Added the framework for tabs, added necessary assistant routines for tabs, and implemented those assistant routines on the Windows backend.
|
2014-07-25 12:45:56 -04:00 |
Pietro Gagliardi
|
5e9b60a795
|
Re-added LineEdit interface. Honestly I'm not too thrilled with how the unparent/reparent system is turning out; removing it failed, however...
|
2014-07-24 17:24:25 -04:00 |
Pietro Gagliardi
|
a2eb69cbf6
|
Fixed compilation errors on Mac OS X. Reparenting works; redrawing, however...
|
2014-07-23 17:09:08 -04:00 |
Pietro Gagliardi
|
300835a1b4
|
Implemented Checkbox on Mac OS X. Also untested; will test next.
|
2014-07-22 23:32:32 -04:00 |
Pietro Gagliardi
|
f21fdfd7dc
|
Oops, forgot to fill in a name in a comment in the previous commit. Fixed.
|
2014-07-22 18:33:44 -04:00 |
Pietro Gagliardi
|
3b5c9738fd
|
Implemented the Control parent/unparent redraw provisions on the GTK+ backend.
|
2014-07-22 18:12:21 -04:00 |
Pietro Gagliardi
|
e9c6d96d2d
|
Added provisions for proper window redraw on Window.SetParent() and implemented them on Mac OS X; still untested.
|
2014-07-22 17:45:29 -04:00 |
Pietro Gagliardi
|
e989c953fa
|
Moved Window.SetControl() into window.go pending addition of fake resize events.
|
2014-07-22 00:07:41 -04:00 |
Pietro Gagliardi
|
de92b822a7
|
More TODOs.
|
2014-07-21 22:03:18 -04:00 |
Pietro Gagliardi
|
58db287ca2
|
Fixed the RemoveWindowSubclass() crash in Windows Checkboxes.
|
2014-07-21 21:37:06 -04:00 |
Pietro Gagliardi
|
451536f6a5
|
Mostly added Checkbox to the Windows backend; it doesn't show up right away and it crashes in WM_NCDESTROY...
|
2014-07-21 21:34:52 -04:00 |
Pietro Gagliardi
|
d57d2aa2de
|
Added Checkbox on the GTK+ backend, added a checkbox to the test program, and fixed a small error in the GTK+ widgetbase.parent() that kept the new widget hidden.
|
2014-07-21 21:07:14 -04:00 |
Pietro Gagliardi
|
54c999bc42
|
Switched from gtk_init() to the version that lets us catch and report any errors it encounters.
|
2014-07-21 16:08:22 -04:00 |
Pietro Gagliardi
|
d60d176472
|
Actually, switch back to GtkLayout, as GtkFixed has the side effect of not allowing truly arbitrary resizes.
|
2014-07-21 10:48:56 -04:00 |
Pietro Gagliardi
|
d319d9f4ac
|
Switched the GTK+ layout control from GtkLayout back to GtkFixed; the size-allocate thing overrides the size-request issue I had earlier that prompted the switch away.
|
2014-07-21 10:45:37 -04:00 |
Pietro Gagliardi
|
7d3504e25b
|
Implemented initial window size on the GTK+ backend.
|
2014-07-21 10:37:15 -04:00 |
Pietro Gagliardi
|
26065e45cf
|
Disabled Checkbox for now; more stuff to do first.
|
2014-07-21 10:32:32 -04:00 |
Pietro Gagliardi
|
ea5936855f
|
Re-added Checkbox's interface specification (with th Request changes applied) and removed Combobox; I'm going to implement things in a different order now.
|
2014-07-21 09:51:05 -04:00 |
Pietro Gagliardi
|
55db438d63
|
Resolved ambiguous WINAPI issues on Windows.
|
2014-07-21 09:43:37 -04:00 |
Pietro Gagliardi
|
cb96b8c6fd
|
Added common_darwin.go; moved toBOOL() there.
|
2014-07-20 21:26:26 -04:00 |
Pietro Gagliardi
|
88a51068db
|
Re-added Mac OS X versioning macros and compiler/linker options.
|
2014-07-20 21:22:10 -04:00 |
Pietro Gagliardi
|
ecdb7bc09d
|
Removed leftover TODO in window_darwin.go.
|
2014-07-20 17:30:22 -04:00 |
Pietro Gagliardi
|
11daae4a63
|
Resolved the NSWindowDelegate issue and added an explicit NSApplicationDelegate specifier just to be safe; thanks to Zorg__ in irc.freenode.net/#macdev for explaining (it's an issue with NSApp specifically).
|
2014-07-20 17:27:56 -04:00 |
Pietro Gagliardi
|
6da105da56
|
Resolved NSMakeRect() argument casting TODO in sizing_darwin.m.
|
2014-07-20 14:56:25 -04:00 |
Pietro Gagliardi
|
672efd5246
|
Implemented Window.Close() on Mac OS X, settling both that TODO and the one about making sure Window.Close() works as documented on all platforms.
|
2014-07-20 13:01:46 -04:00 |
Pietro Gagliardi
|
5fa0950112
|
Verified that Window.Close() works as documented on GTK+.
|
2014-07-19 23:36:11 -04:00 |
Pietro Gagliardi
|
fa5b2012d0
|
Oops, NewButton() should return Button, not the backend type. Fixed.
|
2014-07-19 16:47:19 -04:00 |
Pietro Gagliardi
|
214dc6cd5c
|
Ah, fixed the stalling: logic error in the test program itself.
|
2014-07-19 10:16:00 -04:00 |
Pietro Gagliardi
|
627abfd593
|
Fixed issuing in the new system. Now to figure out why it stalls...
|
2014-07-19 10:10:52 -04:00 |
Pietro Gagliardi
|
e73e7ab733
|
Fixed more conversion kinks. Now for a major change...
|
2014-07-19 10:07:42 -04:00 |
Pietro Gagliardi
|
32061353a1
|
Updated the test program to be Request-less. Now to test...
|
2014-07-19 09:58:57 -04:00 |
Pietro Gagliardi
|
104337188f
|
Removed Request completely, also updating the uitask files. Also renamed xperform to doissue for consistency.
|
2014-07-19 09:57:01 -04:00 |
Pietro Gagliardi
|
48c5055eb9
|
Started dropping the whole request/response system because it fell apart... time to make a ui.Do(func(){ ... })
|
2014-07-19 09:44:32 -04:00 |
Pietro Gagliardi
|
47c0f573a9
|
Fixed a slight channel leak in event.fire().
|
2014-07-18 22:56:30 -04:00 |
Pietro Gagliardi
|
08f5c42639
|
Added a test case for Window.Close().
|
2014-07-18 22:30:07 -04:00 |
Pietro Gagliardi
|
abb5b0c1d7
|
Decided not to use removeFromSuperviewWithoutNeedingRedraw at mikeash in irc.freenode.net/#macdev's suggestion (he basically said the documentation's description of the difference is "gibberish" and that I shouldn't need it). Let's just hope that stays the case...
|
2014-07-18 21:20:21 -04:00 |
Pietro Gagliardi
|
2c3c200df8
|
Settled TODO about cairo version macros.
|
2014-07-18 20:46:51 -04:00 |
Pietro Gagliardi
|
847690bb10
|
Fixed window resizing in GTK+ acting wonky AND several related TODOs to boot!
|
2014-07-18 19:36:29 -04:00 |
Pietro Gagliardi
|
58673a614c
|
Made the previous commit more robust.
|
2014-07-18 15:19:55 -04:00 |
Pietro Gagliardi
|
b56f60c04c
|
Fixed control positioning on initial window show on Mac OS X.
|
2014-07-18 15:16:41 -04:00 |
Pietro Gagliardi
|
6bc4425915
|
Scrapped Window.SetSize() and Window.Center() (for now?).
|
2014-07-18 14:07:12 -04:00 |
Pietro Gagliardi
|
351c7cd9b2
|
Added the standard control fonts to the Mac OS X backend. The GTK+ backend is fine as it stands.
|
2014-07-18 11:47:48 -04:00 |
Pietro Gagliardi
|
f64f2781ce
|
Added (and applied) standard Windows fonts.
|
2014-07-18 11:20:18 -04:00 |
Pietro Gagliardi
|
489ce0a053
|
Added #include "_cgo_export.h" to files that needed it and fixed a cast error in controls_windows.c that that revealed. Anyway buttons work now on all platforms, woo :D
|
2014-07-18 00:29:15 -04:00 |
Pietro Gagliardi
|
d2f09a0222
|
Fixed all the remaining compiler errors. C conversion works!
|
2014-07-18 00:22:21 -04:00 |
Pietro Gagliardi
|
7c6fa3b2fd
|
Fixed assorted typos in some of the new C files.
|
2014-07-17 23:56:16 -04:00 |
Pietro Gagliardi
|
b174ed985c
|
Added include guards to winapi_windows.h because of cgo including the file multiple times.
|
2014-07-17 23:52:07 -04:00 |