Commit Graph

13 Commits

Author SHA1 Message Date
Pietro Gagliardi 74c851754c Gave message boxes on Windows the MB_TASKMODAL style, which does event modality to the other windows in the program. Does not affect resizes. 2014-06-02 17:12:10 -04:00
Pietro Gagliardi 55c5776334 Stripped constants from dialog_windows.go. 2014-05-25 14:12:57 -04:00
Pietro Gagliardi 304995b372 Decided not to show an icon in the regular MsgBox() on Windows and Unix. For Mac OS X I need to see what the difference between Warning and Informational is. 2014-04-25 18:39:43 -04:00
Pietro Gagliardi 013e8707da Removed unnecessary space if the secondaryText argument to MsgBox***() is an empty string. This doesn't change much on Mac OS X; it always shows the informational text field, showing an empty string by default. On GTK+ it seems to get rid of the bold over the primary text; I'm going to assume this is intentional (it looks that way on GTK+ 2; the HIG docs have outdated screenshots...). 2014-04-10 12:35:37 -04:00
Pietro Gagliardi 34ce16d586 Separated file creation dates from the package comment. 2014-03-12 21:55:45 -04:00
Pietro Gagliardi 46c992f1dc Made message boxes run on uitask on Windows; adjusted some related TODOs. 2014-03-12 12:21:50 -04:00
Pietro Gagliardi dd577010ca More TODOs. 2014-03-12 12:16:44 -04:00
Pietro Gagliardi 2fb7056be4 Standardized message boxes so they appear similarly on all platforms. This shafts Windows because primary/secondary text message boxes were only added in Windows Vista, but at least MSDN provides discourse. 2014-03-12 12:14:24 -04: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 316e5e9db4 Split out the dialog functions into portable and non-portable code to keep the package documentation in the portable code only. 2014-02-17 02:34:58 -05:00
Pietro Gagliardi 3a99ee6569 Removed stray TODO left over from copy/paste. 2014-02-15 18:43:49 -05:00
Pietro Gagliardi e70c6f10c5 Fixed a build error in the previous commit. 2014-02-15 16:27:47 -05:00
Pietro Gagliardi 16e561c1e3 Added message boxes and adjusted init() accordingly to display one on failure. 2014-02-15 16:27:07 -05:00