Pietro Gagliardi
|
a7747b95a4
|
Added Window.Center() test to the test program.
|
2014-06-11 10:10:10 -04:00 |
Pietro Gagliardi
|
d14ee7f3dd
|
Fixed the implementation of sysData.center() on Windows to be thread-safe; also added center() to the _xSysData interface.
|
2014-06-11 10:01:55 -04:00 |
Pietro Gagliardi
|
0e620c4d34
|
Fixed window.go from the previous commit to improve documentation and change function behavior.
|
2014-06-11 09:51:00 -04:00 |
Pietro Gagliardi
|
2407a415b9
|
Merge pull request #17 from papplampe/master
added Center function to window + Windows implementation (thanks to @papplampe)
|
2014-06-11 09:42:11 -04:00 |
papplampe
|
4fa35b2239
|
added Center function to window
|
2014-06-11 11:41:31 +02:00 |
Pietro Gagliardi
|
5fa1bd22e2
|
More go fmt. That completes the main package go fmt. Won't bother with test or tools.
|
2014-06-10 16:05:41 -04:00 |
Pietro Gagliardi
|
a210775287
|
More go fmt.
|
2014-06-10 15:43:01 -04:00 |
Pietro Gagliardi
|
380afbf755
|
More go fmt.
|
2014-06-10 15:31:55 -04:00 |
Pietro Gagliardi
|
1e66637cd2
|
More go fmt.
|
2014-06-10 14:59:39 -04:00 |
Pietro Gagliardi
|
ad8a90ec7e
|
More go fmt.
|
2014-06-10 14:49:54 -04:00 |
Pietro Gagliardi
|
86cf5489d3
|
More go fmt.
|
2014-06-10 14:35:26 -04:00 |
Pietro Gagliardi
|
66f9f13ca2
|
More go fmt.
|
2014-06-10 14:33:48 -04:00 |
Pietro Gagliardi
|
a9a07c5cc8
|
More go fmt.
|
2014-06-10 13:35:18 -04:00 |
Pietro Gagliardi
|
5b19e6e9a1
|
More go fmt.
|
2014-06-10 13:10:59 -04:00 |
Pietro Gagliardi
|
a3222f248d
|
More go fmt.
|
2014-06-10 11:38:52 -04:00 |
Pietro Gagliardi
|
37bc89fe52
|
More go fmt.
|
2014-06-10 11:33:53 -04:00 |
Pietro Gagliardi
|
6e7f15c8e0
|
More go fmt.
|
2014-06-10 11:23:00 -04:00 |
Pietro Gagliardi
|
09e3fcd9cb
|
More go fmt.
|
2014-06-10 11:12:32 -04:00 |
Pietro Gagliardi
|
3c1a61049b
|
More go fmt.
|
2014-06-10 10:22:30 -04:00 |
Pietro Gagliardi
|
94f9684e68
|
More go fmt.
|
2014-06-10 10:14:35 -04:00 |
Pietro Gagliardi
|
43b3f1c2a8
|
Partial go fmt. Will do the rest over the next few commits. While I'm not too happy about it, everyone else uses go fmt, and pull requests will be more convenient if I just do it. (Also do it now, because when I change the Windows backend things are going to change...)
|
2014-06-10 09:55:14 -04:00 |
Pietro Gagliardi
|
7b2e6b7fa3
|
Made adjustments to the output of windowsconstgen to please go fmt.
|
2014-06-10 09:46:00 -04:00 |
Pietro Gagliardi
|
e432e6fecf
|
Declared the API as it stands now stable.
|
2014-06-09 23:04:19 -04:00 |
Pietro Gagliardi
|
a0e8048b06
|
Had Area.SetSize() explicitly labelled as repainting the whole Area; made sure it does that on GTK+ (it already did on Windows and Mac). I think we're ready to declare the API as it stands now stable!
|
2014-06-09 22:47:45 -04:00 |
Pietro Gagliardi
|
764010bd81
|
Areas have worked on all platforms forever now; remove the GTK+ only note from its documentation.
|
2014-06-09 22:38:22 -04:00 |
Pietro Gagliardi
|
37ab5f41a7
|
Cleaned up the scrollbars documentation in the Overview.
|
2014-06-09 22:37:43 -04:00 |
Pietro Gagliardi
|
989ba776b0
|
More TODOs.
|
2014-06-09 22:27:41 -04:00 |
Pietro Gagliardi
|
caeff5bb88
|
Implemented RepaintAll() on Windows.
|
2014-06-09 22:26:37 -04:00 |
Pietro Gagliardi
|
f8d46b6bdb
|
Implemented Area.RepaintAll() on GTK+.
|
2014-06-09 22:22:02 -04:00 |
Pietro Gagliardi
|
fa4094adeb
|
Added Area.RepaintAll() (requested by aybabtme on the Gopher Academy Slack) and implemented it on Mac OS X.
|
2014-06-09 22:11:08 -04:00 |
Pietro Gagliardi
|
6b860779e3
|
Verified mouse drag behavior. Also more TODOs.
|
2014-06-09 21:55:33 -04:00 |
Pietro Gagliardi
|
8d688188b8
|
Decided to not change parameter order of constructors.
|
2014-06-09 21:35:14 -04:00 |
Pietro Gagliardi
|
0e3811244e
|
Updated GTK+/Wayland TODO now that we know what's wrong
|
2014-06-09 19:57:01 -04:00 |
Pietro Gagliardi
|
bd2317777e
|
Resolved vertical alignment of labels on Windows.
|
2014-06-09 17:28:12 -04:00 |
Pietro Gagliardi
|
2a878f0e91
|
Removed TODO about Windows label ellipsization; SS_LEFTNOWORDWRAP's docs say so. Replaced it with one about vertical label alignment...
|
2014-06-09 17:06:33 -04:00 |
Pietro Gagliardi
|
72012114f1
|
Properly integrated the Area preferred size into the Windows backend's preferred size table.
|
2014-06-09 16:56:19 -04:00 |
Pietro Gagliardi
|
14c8cb43e9
|
Removed TODO about messagebox font in stdfont_windows.go; decided to just use it.
|
2014-06-09 16:49:20 -04:00 |
Pietro Gagliardi
|
24d24c5e30
|
Actually make the prefsize_windows.go change from the previous commit.
|
2014-06-09 16:48:04 -04:00 |
Pietro Gagliardi
|
e090029678
|
Removed TODO about GetDC() vs GetWindowDC() in prefsize_windows.go; the latter includes the non-client area, which we won't bother with.
|
2014-06-09 16:45:06 -04:00 |
Pietro Gagliardi
|
bdb942440c
|
Removed the GTK+ scrollbars in Area thing as that can't be resolved (it's a property of the minimum preferred size of both the GtkScrollbar and GtkScrolledWindow; these can't be changed). Thanks to baedert in irc.gimp.net/#gtk+.
|
2014-06-09 16:17:08 -04:00 |
Pietro Gagliardi
|
7adc18caf1
|
Removed TODO on getting the available button count: this isn't meaningful. (desrt in irc.gimp.net/#gtk+ confirmed that GDK has no such function and both him and mikeash in irc.freenode.net/#macdev pointed out issues with such a function.)
|
2014-06-08 22:38:42 -04:00 |
Pietro Gagliardi
|
b1aa096be2
|
David Wendt re-evaluated the current master build and it's stable now; removed that TODO.
|
2014-06-08 22:26:24 -04:00 |
Pietro Gagliardi
|
d1e14eec95
|
Added screenshots to the README. Fixes issue #11.
|
2014-06-08 19:39:52 -04:00 |
Pietro Gagliardi
|
7dfd990d6f
|
Updated some TODOs.
|
2014-06-08 16:03:20 -04:00 |
Pietro Gagliardi
|
17d00b59c7
|
Fixed a quick typo spotted by _7sins in irc.freenode.net/#go-nuts.
|
2014-06-08 15:23:54 -04:00 |
Pietro Gagliardi
|
41085768e7
|
Made the application-modal sentinel in dialog.go non-nil to prevent weird behavior on nil Windows in program code. Thanks to xtg in the Gopher Academy Slack for corroborating.
|
2014-06-08 13:00:21 -04:00 |
Pietro Gagliardi
|
bb6de0de48
|
Cleaned up dialog documentation.
|
2014-06-08 12:56:04 -04:00 |
Pietro Gagliardi
|
b172ab2e37
|
Added new MsgBox() behavior on Mac OS X. Now we can finally remove MsgBox() from the TODOs! :D
|
2014-06-08 12:36:55 -04:00 |
Pietro Gagliardi
|
10f55564d0
|
Fixed modality issues on the GTK+ MsgBox() changes. The system introduced here has the advantage of scaling out to all other types of dialogs.
|
2014-06-08 11:50:11 -04:00 |
Pietro Gagliardi
|
54966a3823
|
Whoops, forgot to apply dialogWindow to dialog_unix.go.
|
2014-06-08 10:16:44 -04:00 |