Commit Graph

12 Commits

Author SHA1 Message Date
Pietro Gagliardi 8e0a38dc47 Implemented the new MsgBox() transience behavior on GTK+. 2014-06-05 00:24:05 -04:00
Pietro Gagliardi 74a8a6f9da Removed TODO about application-modal dialog boxes in GTK+; they were already application modal! The real issue is window transience... and that's where platforms differ greatly. 2014-06-03 18:32:58 -04:00
Pietro Gagliardi a48dd80add Removed the extra #cgo directives from the Unix files. cgo collects directives from ALL files, rather than using each file's directive individually, so having them combined like this is pointless. Instead, the #cgo directives are (or is, since there's only one) in uitask_unix.go. Will do the same for Mac next; this will help since we're going to add a CFLAGS value afterward. 2014-05-19 22:32:38 -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 14770e890a Moved <stdlib.h> includes in the GTK+ backend to gtk_unix.h; organized that file a bit. 2014-04-01 16:01:49 -04:00
Pietro Gagliardi 63f8033f49 Split out includes of <gtk/gtk.h> into a new header file so the GTK+ versioning macros can be included in all Go files, not just area_unix.go. 2014-03-16 10:34:12 -04:00
Pietro Gagliardi 34ce16d586 Separated file creation dates from the package comment. 2014-03-12 21:55:45 -04:00
Pietro Gagliardi 621ab929e1 Removed a stray TODO resolved by the previous few commits. 2014-03-12 12:34:09 -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 fd86aa55c8 Added GTK+ message boxes. 2014-02-17 02:54:58 -05:00