summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-13Fixed Area test time label weirdness by making Labels truncate their text ↵Pietro Gagliardi
instead of word-wrapping on all platforms. This doesn't explain GTK+/Wayland, alas.
2014-04-13Fixed weird Area time label truncation on Windows; more TODOs and future ↵Pietro Gagliardi
plans related to that.
2014-04-13Removed winbuttonsize/; we're not going to use that for a while (the sizing ↵Pietro Gagliardi
we have now is fine; not optimal, but it works, for the most part). (We can always pull it back later.)
2014-04-13Renamed unmigrated/ to experiments/ as I have now migrated everything and ↵Pietro Gagliardi
that folder now contains experimental code.
2014-04-13Migrated cursors_windows.go and icons_windows.go.Pietro Gagliardi
2014-04-13Removed unmigrated/main_windows.go; that test program has long since been ↵Pietro Gagliardi
unneeded.
2014-04-13Rolled back the Windows horizontally scrolling Listbox changes because I ↵Pietro Gagliardi
can't seem to get it to work on Mac OS X (and keeping that code there is inefficient); removed the guarantee of horizontal scrollbars in Listbox and made that a future plan. Both the Windows and the non-working Mac OS X code is in unmigrated/hscrolllistbox.go (and the unmigrated/ folder will be renamed shortly).
2014-04-13Consolidated NSScrollView code on Mac OS X to be all in one place.Pietro Gagliardi
2014-04-13More shuffling of TODOs and future plans.Pietro Gagliardi
2014-04-13Added horizontal scrollbars to Listboxes on Windows. Also fixed typos and ↵Pietro Gagliardi
bugs in Windows sysData.selectedTexts().
2014-04-13Pinned down horizontal scrollbar behavior on Listboxes; also reworded the ↵Pietro Gagliardi
Area scrollbar behavior sentence a bit to match. Now to actually implement the changes...
2014-04-13More TODO/future plan shuffling.Pietro Gagliardi
2014-04-13More TODOs and future plans. Also finally removed the TODO about incorrect ↵Pietro Gagliardi
Area redraw on Windows.
2014-04-12More TODOs and future plans.Pietro Gagliardi
2014-04-12Fixed Listboxes on Mac OS X having an initial selection.Pietro Gagliardi
2014-04-12Fixed Comboboxes on Mac OS X having an initial selection. This also lays the ↵Pietro Gagliardi
groundwork for adding Combobox/Listbox.Select() as a public function...
2014-04-12Verified that the Listbox item text is vertically positioned properly on Mac ↵Pietro Gagliardi
OS X.
2014-04-12Removed the GDI+ dependency on Windows since we no longer use it.Pietro Gagliardi
2014-04-12Updated README to reflect the new Area image.RGBA changes.Pietro Gagliardi
2014-04-12Made Areas on Windows flicker-free.Pietro Gagliardi
2014-04-12Fixed ARGB rendering on Windows. Now to make it flicker-free...Pietro Gagliardi
2014-04-12Documented the thread safety of AreaHandler and Area.SetSize().Pietro Gagliardi
2014-04-12Switched to ARGB drawing in Areas on GTK+.Pietro Gagliardi
2014-04-11Rewrote Area code on Windows to use alpha-premultiplied RGB and only use GDI ↵Pietro Gagliardi
functions to do it... and it doesn't quite work right yet.
2014-04-11Added a general-purpose function to produce a native-endian ARGB ↵Pietro Gagliardi
representation of the image. I thought cairo image surfaces would work, but they're not designed for reading in images, the cairo functions for reading image data were introduced in the next version (1.12), and GDK-Pixbuf only does non-alpha-premultiplied... This can be used on Windows though.
2014-04-11Switched to alpha-premultiplied image data for Areas on Mac OS X. This is ↵Pietro Gagliardi
the easiest change; it involves removing one bit flag from the NSBitmapImageRep constructor (the other changes are indentation changes).
2014-04-11Changed from using image.NRGBA to image.RGBA (premultiplied alpha) in ↵Pietro Gagliardi
Area.Paint() since it'll be easier to work with on Windows after applying what Treeki/Ninjifox suggested I do instead of what I am doing now.
2014-04-11Added CS_HREDRAW and CS_VREDRAW to our Area on Windows, just to be safe.Pietro Gagliardi
2014-04-11Attempted to fix the Windows transparency issues; we're not quite there... ↵Pietro Gagliardi
flicker...
2014-04-10Removed TODO about Windows -1 conversions, as the Go spec specifically says ↵Pietro Gagliardi
that signed values are sign-extended to the full size of the type to convert to (and even shows an example of this), so the code we have was correct, not just working out of luck.
2014-04-10Added bounds checking to NewArea() and Area.SetSize() such that an Area must ↵Pietro Gagliardi
have a valid size.
2014-04-10More TODOs.Pietro Gagliardi
2014-04-10Fixed Area mouse events being sent when something happens outside the Area ↵Pietro Gagliardi
itself.
2014-04-10More future plans and TODOs.Pietro Gagliardi
2014-04-10Decided not to make Labels selectable; nothing does it and it's a platform ↵Pietro Gagliardi
detail.
2014-04-10Documented scrollbars on Listbox and Area to the best of my ability, ↵Pietro Gagliardi
shuffling the appropriate TODOs around.
2014-04-10More TODOs.Pietro Gagliardi
2014-04-10"Fixed" the zero-size Combobox drop-down on Windows by having Windows fix it ↵Pietro Gagliardi
for us (and since we did everything we need to do to get it to fix it for us, it was already fixed!).
2014-04-10Removed unnecessary space if the secondaryText argument to MsgBox***() is an ↵Pietro Gagliardi
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-10Documented that event channels can be assigned to each other to collapse events.Pietro Gagliardi
2014-04-09More TODOs and future plans.Pietro Gagliardi
2014-04-09Added a test for the extremities of the Area's actual drawing area to make ↵Pietro Gagliardi
sure all pixels are shown on all platforms. That seems to be the case right now... Also more TODOs.
2014-04-09More future plans.Pietro Gagliardi
2014-04-09Fixed Area drawing assuming the first pixel of the *image.NRGBA is at i.Pix[0].Pietro Gagliardi
2014-04-09Tried to resolve the use a single window class for each type of custom ↵Pietro Gagliardi
window TODO; found it was nothing but problems, so moved to future plans.
2014-04-09Fixed GTK+ windows having the wrong background.Pietro Gagliardi
2014-04-09As it turns out, Windows does have a facility for windows that only serve as ↵Pietro Gagliardi
message dispatches; let's use it for our message handler. (I only found this out while looking up SetParent() for the previous commit).
2014-04-09More (big) future plans.Pietro Gagliardi
2014-04-08Slowed GTK+ indeterminate Progressbars down.Pietro Gagliardi
2014-04-07More future plans.Pietro Gagliardi