Commit Graph

31 Commits

Author SHA1 Message Date
Pietro Gagliardi 982004d050 go fmt. Precursor to bug report filing. 2014-10-02 10:05:53 -04:00
Pietro Gagliardi 77bf566ebb ...in with the new. 2014-08-30 23:02:02 -04:00
Pietro Gagliardi 155899c65e Out with the old... 2014-08-30 23:01:08 -04:00
Pietro Gagliardi 8a81650b3d Moved it all back; the preemptive multitaksing during an event handler kills 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-02 22:53:03 -04:00
Pietro Gagliardi 5d339e656b Moved everything out of the way pending rewrite. 2014-07-02 17:13:40 -04:00
papplampe 4fa35b2239 added Center function to window 2014-06-11 11:41:31 +02:00
Pietro Gagliardi 1e66637cd2 More go fmt. 2014-06-10 14:59:39 -04:00
Pietro Gagliardi fe4d9b992d Changed SetWindowLong() to SetWindowLongPtr() in the Windows backend. I forgot I already had some there :| 2014-06-07 14:50:05 -04:00
Pietro Gagliardi bd08967a5a Removed TODOs about sign extension on Windows; situation resolved. 2014-06-04 19:06:16 -04:00
Pietro Gagliardi c5df1b1afc Removed a stray function from common_windows.go that both was not used and went against what we're trying to do with strings in Windows. 2014-06-03 10:42:26 -04:00
Pietro Gagliardi 38800f027f Converted sysdata_windows.go to use the new string conversion setup from the previous commit. This has to be first, otherwise a few other things will fail to compile... 2014-06-03 03:20:04 -04:00
Pietro Gagliardi d8ee23ff74 Added convenience functions to the Windows backend for UTF-16 string handling. I'll convert the existing code to use it shortly. 2014-06-03 02:06:11 -04:00
Pietro Gagliardi 9c86bf8d30 Merged windows_windows.go into common_windows.go. 2014-05-26 22:36:34 -04:00
Pietro Gagliardi 51469fffb5 Removed constants from common_windows.go. Almost done! 2014-05-25 15:09:01 -04:00
Pietro Gagliardi eb0188a099 Changed most instances of var to const in the Windows code. Only one left... 2014-05-25 11:31:57 -04:00
Pietro Gagliardi b27caae7c3 Renamed _LPARAM._X()/_LPARAM._Y() to _LPARAM.X()/_LPARAM.Y(): it doesn't matter since _LPARAM is not exported anyway, _WPARAM already had this change, and the constant checking tool complains that _X()/_Y() remain undefined (too early? do I need to merge the package files?). 2014-05-25 01:03:45 -04:00
Pietro Gagliardi 9ed8d9c816 Consistency change: all Windows API structure field names now match case-wise (some were forcibly exported in the past for historical reasons: I originally started package ui by trying to write a Windows API wrapper, but decided to ditch that and just use the Windows API directly from package ui). Also more TODOs. 2014-05-11 11:11:57 -04:00
Pietro Gagliardi 719cab8742 Migrated cursors_windows.go and icons_windows.go. 2014-04-13 13:11:17 -04:00
Pietro Gagliardi ac633a8694 Removed the GDI+ dependency on Windows since we no longer use it. 2014-04-12 15:42:13 -04:00
Pietro Gagliardi e3fdc76c5b Rewrote Area code on Windows to use alpha-premultiplied RGB and only use GDI functions to do it... and it doesn't quite work right yet. 2014-04-11 21:30:19 -04:00
Pietro Gagliardi 150b999c0a Forced Common Controls version 6 on Windows by embedding the needed manifest in. 2014-04-02 13:47:11 -04:00
Pietro Gagliardi 9533b3d7d4 Added Area mouse events on Windows. Also more TODOs. 2014-03-25 15:06:43 -04:00
Pietro Gagliardi cfcac03df7 Added GDI+ to the package's Windows version: DLL loaded, initialized, and shut down. It will be used for drawing to Areas because using GDI itself is more complex than it needs to be. 2014-03-24 17:01:33 -04:00
Pietro Gagliardi 34ce16d586 Separated file creation dates from the package comment. 2014-03-12 21:55:45 -04: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 fb82e651a4 Moved to a proper package; main() is now a test and go test -c is used to build. Once I iron out a bug with Windows event handling, I'll add a README. 2014-02-19 11:41:10 -05:00
Pietro Gagliardi 0e41eddf54 Removed a TODO regarding Windows Common Controls because I'm not going to be using those constants (and if I ever add more controls I will need to use comctl anyway). 2014-02-15 15:59:02 -05:00
Pietro Gagliardi c20e3a2611 More TODO reduction. 2014-02-15 15:41:50 -05:00
Pietro Gagliardi 09f6ec4a66 Now that we have sysData.text() we no longer need the getText() that needed to be migrated. 2014-02-14 12:17:21 -05:00
Pietro Gagliardi aa3e2788f3 Moved some more data structures to common_windows.go and made more things private. 2014-02-11 18:36:13 -05:00
Pietro Gagliardi 42229820d2 Added _windows.go extensions to all the files in preparation for the library writing. 2014-02-11 13:06:12 -05:00