Commit Graph

616 Commits

Author SHA1 Message Date
Pietro Gagliardi cd73e42850 Documentation fixups. 2014-02-25 15:43:12 -05:00
Pietro Gagliardi 8440c7a078 Added Space() for padding layouts. 2014-02-25 15:38:04 -05:00
Pietro Gagliardi dbe983037a Removed the example from the README while the API is still volatile. 2014-02-25 15:14:33 -05:00
Pietro Gagliardi 7aa84e26f0 Split NewCombobox() into separate functions NewCombobox() and NewEditableCombobox(). 2014-02-25 15:13:37 -05:00
Pietro Gagliardi 06fa3a5174 Added password entry fields; they are the alternate mode of LineEdit. 2014-02-25 15:06:51 -05:00
Pietro Gagliardi 04ae299ef0 Some more control notes. 2014-02-25 14:50:59 -05:00
Pietro Gagliardi f41687d8e7 Updated platform control comparison table. 2014-02-25 14:43:08 -05:00
Pietro Gagliardi a18997b190 Still not formatted correctly (should have used gist for this, durr) 2014-02-25 14:29:22 -05:00
Pietro Gagliardi b51f971cbe Markdown fixup in platform-specific control differences table. 2014-02-25 14:27:47 -05:00
Pietro Gagliardi 68260e0509 Added platform notes on sliders and spinners. 2014-02-25 14:26:32 -05:00
Pietro Gagliardi 1a4e10f18d Removed a stray TODO about a constant in comctl_windows.go. 2014-02-25 13:17:22 -05:00
Pietro Gagliardi 84949b52d8 Listed issues with adding Slider. Will add that later. 2014-02-25 13:13:23 -05:00
Pietro Gagliardi c85f327cb0 Updated candidates list now that ProgressBar is added. 2014-02-25 08:29:32 -05:00
Pietro Gagliardi a8bd21fe95 Added Windows implementation of ProgressBar and the requisite comctl32.dll code. 2014-02-25 08:28:10 -05:00
Pietro Gagliardi 668de3bccb Added most of the Windows implementation of ProgressBar. Now to grab the comctl32.dll stuff. 2014-02-25 01:02:16 -05:00
Pietro Gagliardi d8c0df7993 Added GTK+ implementation of ProgressBar and added a ProgressBar to the test program. 2014-02-25 00:49:08 -05:00
Pietro Gagliardi 23a40cae26 More TODOs. 2014-02-25 00:34:21 -05:00
Pietro Gagliardi d721e8f61b "Note This message [PBM_SETMARQUEE] requires ComCtl32.dll version 6.00 or later." blah, no more indeterminate progress bars (Windows 2000 has 5.something) 2014-02-25 00:31:48 -05:00
Pietro Gagliardi bfc9f7e339 Added portable parts of ProgressBar. 2014-02-25 00:13:47 -05:00
Pietro Gagliardi 7039e1c025 Markdown fixups in the control planning document. 2014-02-24 20:32:35 -05:00
Pietro Gagliardi 6baefb894f Added control planning document. 2014-02-24 20:28:07 -05:00
Pietro Gagliardi f3365135c8 Quick documentation change in prefsize_windows.go. 2014-02-24 15:02:58 -05:00
Pietro Gagliardi aebf40df6b More TODOs. 2014-02-24 14:56:11 -05:00
Pietro Gagliardi 58f6bed7e4 Set the default control font on Windows to the expected standard font instead of to the default System font. 2014-02-24 14:49:46 -05:00
Pietro Gagliardi a9325fbfbc Some notes on the last few changes. 2014-02-24 14:17:37 -05:00
Pietro Gagliardi b166c0f114 And the uitask message fixed was the issue all along. Now it works. 2014-02-24 14:16:05 -05:00
Pietro Gagliardi 4c6ce9639f Oh right derp, preferredSize() is running on uitask already; don't use the dispatch channel. Almost working... 2014-02-24 14:12:02 -05:00
Pietro Gagliardi d08ad65c4c Potential fix: show the window before getting control preferred sizes; need to make setRect() locking first. 2014-02-24 14:05:38 -05:00
Pietro Gagliardi 62d4886253 More TODOs (unrelated to previous commit). 2014-02-24 13:26:04 -05:00
Pietro Gagliardi 165308b819 Added Windows preferred size code. It doesn't work right now; both GetDC() and GetWindowDC() are not returning at all on both wine and Windows XP; need to debug (print guards are included). 2014-02-24 13:22:59 -05:00
Pietro Gagliardi 1d9a883431 Re-added Windows font grabbing code. I won't use it just yet, since I only now realize I don't actually need it for preferred sizes, but eh 2014-02-24 11:55:38 -05:00
Pietro Gagliardi 3014a5edf1 More TODOs. 2014-02-24 11:35:06 -05:00
Pietro Gagliardi f839192c8f Made sure Stack.SetStretchy() (like all other layout-changing functions) cannot be called once the parent Window has been opened. 2014-02-24 11:19:57 -05:00
Pietro Gagliardi 8bf2b5cc76 Adjusted main_test.go to make use of SetStretchy(). IT WORKS! :D 2014-02-24 11:18:47 -05:00
Pietro Gagliardi b716530863 Added Stack.preferredSize() and fixed errors in stack.go. 2014-02-24 11:14:26 -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 1510af0005 Fixed some compiler errors in the last few commits. 2014-02-24 10:44:20 -05:00
Pietro Gagliardi 1c540117d3 Wrote the new Stack.setRect(). 2014-02-24 10:42:58 -05:00
Pietro Gagliardi a174fbebbd Changed Orientation to a bool to prevent invalid values outright. 2014-02-24 10:30:14 -05:00
Pietro Gagliardi 19f9761a81 Started rewriting Stack to conform to the new layout plan. 2014-02-24 10:29:15 -05:00
Pietro Gagliardi f7ed9deda1 Added a new layout plan for Stack. 2014-02-24 10:22:23 -05:00
Pietro Gagliardi d5ce49c8b0 Added the preferred widget size basework and its GTK+ implementation. 2014-02-23 20:04:33 -05:00
Pietro Gagliardi a0c951cca9 sigh 2014-02-23 17:16:58 -05:00
Pietro Gagliardi ab0b13a3ab Fixed up todo.md to remove things that are done and add more notes. 2014-02-21 11:35:50 -05:00
Pietro Gagliardi e39a5d928c Fixed the unregistered window class error on 64-bit Windows: turns out it was a difference in Go's int vs. what Windows expected (thanks Microsoft for not using your special types here). Fixed all instances of this, even in unmigrated/. Still does not work in wine... 2014-02-21 02:27:59 -05:00
Pietro Gagliardi bd51e3e9a7 Got rid of my Windows input lag problems on Windows (triggered by the switch to the concurrent garbage collector sweep routine in the Go runtime) by treating <-uitask as a Windows message itself posted to the message loop thread and not making the message loop a CPU waster. 2014-02-19 22:59:48 -05:00
Pietro Gagliardi 43dd5121b2 More README updates. 2014-02-19 12:47:44 -05:00
Pietro Gagliardi 3284f6c4f4 Updated README to package-ize. 2014-02-19 11:58:52 -05:00
Pietro Gagliardi 4fe6ccce97 Super ultra important TODO related to previous two commits. 2014-02-19 11:57:18 -05:00
Pietro Gagliardi fb5c789fc4 ...and now it magically works again?! after too long, anyway... 2014-02-19 11:56:46 -05:00