Pietro Gagliardi
|
7637193aff
|
The latest go tip fixes cgo to not be confused by typedefs of incomplete types like cairo_t; remove the hack to make GTK+ builds work in the meantime. As a side effect, package ui now requires go tip to build; reflected this in the README.
|
2014-03-27 17:20:46 -04:00 |
Pietro Gagliardi
|
45cd12cccf
|
Printed the hardware_keycode on GTK+ Area key events... something came up so I think I might be able to do what I originally wanted to do with keyboards... also more TODOs.
|
2014-03-26 23:13:31 -04:00 |
Pietro Gagliardi
|
f5084c07d4
|
Fixed import formatting on area_unix.go. I'm rereading the GLFW source; it makes some interesting assumptions that might allow me to get a better solution to this whole keystroke ordeal after all... if I'm provided with irrefutable evidence.
|
2014-03-26 11:01:37 -04:00 |
Pietro Gagliardi
|
9533b3d7d4
|
Added Area mouse events on Windows. Also more TODOs.
|
2014-03-25 15:06:43 -04:00 |
Pietro Gagliardi
|
2b48f7cabf
|
Wrote the code to actually scroll Areas on Windows.
|
2014-03-25 09:40:14 -04:00 |
Pietro Gagliardi
|
13370c22d3
|
Added the actual scrolling to Windows Areas. Now to just adjust the cliprect properly...
|
2014-03-25 08:23:31 -04:00 |
Pietro Gagliardi
|
136f2262fd
|
More TODOs (and some done TODO elimination).
|
2014-03-25 07:21:21 -04:00 |
Pietro Gagliardi
|
3c0bcb6d68
|
Made the scrollbars on Windows Areas actually scroll. There are some kinks that need to be worked out before we can move on...
|
2014-03-25 07:11:10 -04:00 |
Pietro Gagliardi
|
0c3b64106c
|
Added scrollbars to Areas on Windows; they seem to respond properly to resize events, but since we're not handling scroll events, the scroll position won't change yet. (We're also not drawing with scrolling just yet.)
|
2014-03-25 02:29:30 -04:00 |
Pietro Gagliardi
|
81de64cafc
|
More TODOs.
|
2014-03-24 23:08:36 -04:00 |
Pietro Gagliardi
|
30a31b1617
|
Implemented Area painting on Windows.
|
2014-03-24 23:01:06 -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
|
5c8587ab00
|
Started the Windows implementation of Area.
|
2014-03-24 13:32:38 -04:00 |
Pietro Gagliardi
|
6da4a9ba9f
|
Changed -qq to -y in the apt-get install line in .travis.yaml because I want to see the full details of the install.
|
2014-03-24 11:54:30 -04:00 |
Pietro Gagliardi
|
645bc6bdcb
|
OK lets try doing cross-platform builds with Travis.ci again; also added multiarch-support again for testing
|
2014-03-24 11:45:45 -04:00 |
Pietro Gagliardi
|
d1a41cd95a
|
Corrected a copy-paste fail in stdwndclass_windows.go that broke compilation (this is why you test builds on all platforms, folks!) and added a TODO about resizing on Windows in the meantime.
|
2014-03-24 11:36:15 -04:00 |
Pietro Gagliardi
|
6e4ec82af5
|
More TODOs.
|
2014-03-23 21:32:35 -04:00 |
Pietro Gagliardi
|
bbccf96981
|
Fixed the shrinking not working: the Cairo clip rect apparently can fall outside the actual size of the widget. (I did notice this before.)
|
2014-03-23 21:31:29 -04:00 |
Pietro Gagliardi
|
cd49e05da8
|
Fixed a slight documentation error in area.go.
|
2014-03-23 21:04:47 -04:00 |
Pietro Gagliardi
|
a41f582866
|
Added Area resizing. Everything mostly works, but not making things smaller...
|
2014-03-23 20:54:11 -04:00 |
Pietro Gagliardi
|
0cc13633cb
|
Added the tweets mentioned in one of the comments in area.go to the Area planning document.
|
2014-03-23 17:44:23 -04:00 |
Pietro Gagliardi
|
7acb3c5272
|
Added GDK_KEY_Alt_L/R to the modifier key handling in GTK+ key events.
|
2014-03-23 17:26:11 -04:00 |
Pietro Gagliardi
|
aee2b98270
|
Fixed modifier keys in GTK+ not being registered by KeyEvent on first press.
|
2014-03-23 17:24:13 -04:00 |
Pietro Gagliardi
|
d1376e035d
|
Added the GTK+ implementation of Area keyboard events. Seems to work fine for now...
|
2014-03-23 17:12:30 -04:00 |
Pietro Gagliardi
|
646e91b25a
|
Had ExtKey start at 1 so KeyEvent.ExtKey can be 0.
|
2014-03-23 17:08:46 -04:00 |
Pietro Gagliardi
|
234f88b535
|
Okay I'm done; fuck keyboards.
|
2014-03-23 13:03:01 -04:00 |
Pietro Gagliardi
|
58420cbb1c
|
Update to previous commit
|
2014-03-23 12:12:36 -04:00 |
Pietro Gagliardi
|
963f83e39c
|
Added loose ends to the Area keyboard planning. Hopefully I'll FINALLY write the code today...
|
2014-03-23 12:07:58 -04:00 |
Pietro Gagliardi
|
bcd4de443c
|
Added some Cocoa-related notes noticed when writing an input test.
|
2014-03-23 11:25:33 -04:00 |
Pietro Gagliardi
|
6ecf70bd3c
|
Filled out the keyboard planning table in the Area planning document some more; it should be complete enough for ExtKey now.
|
2014-03-22 23:32:02 -04:00 |
Pietro Gagliardi
|
c8d7d3a2a1
|
More Area key set planning.
|
2014-03-22 17:00:06 -04:00 |
Pietro Gagliardi
|
0eef9ba4bc
|
Added a note about what package ui will do to a keypress it will not send out due to not being portable to the Area planning document.
|
2014-03-22 15:33:01 -04:00 |
Pietro Gagliardi
|
61a372987a
|
Added GDK common keys to the Area planning document. This also filters out some of the Windows keys.
|
2014-03-22 15:30:39 -04:00 |
Pietro Gagliardi
|
f06f0c5ab3
|
Added a list of Windows virtual key codes to the Area planning to start filtering the ones we can handle from the ones we can't; also expanded some other parts some more.
|
2014-03-22 13:25:03 -04:00 |
Pietro Gagliardi
|
e73992ab71
|
Finally finished getting ready for Area keyboard input; now just need to figure out which keys to support. Also a Wayland-related TODO.
|
2014-03-22 12:30:58 -04:00 |
Pietro Gagliardi
|
18271980cb
|
Finished writing what I need for the GTK+ key equivalency test: display of GDK_KEYMAP_A and GDK_KEYMAP_a to see if I can do what I want to do (map back).
|
2014-03-21 22:33:07 -04:00 |
Pietro Gagliardi
|
d14aed4f47
|
Added code to the GTK+ Area to print the GdkKeymapKeys for a given key value. For GTK+/X11 it appears that we can just use the keyval field... that just leaves GTK+/Wayland (see previous commit). If the same applies, we'll need to see if I can feed artificial keycodes in and it'll still work as expected...
|
2014-03-21 17:06:46 -04:00 |
Pietro Gagliardi
|
bf3a692b21
|
Added a note about OpenGL support on Linux (again) to controlcandidates.md now that I noticed it while looking for a way to test GTK+/Wayland...
|
2014-03-21 17:04:57 -04:00 |
Pietro Gagliardi
|
59cfaa3faa
|
Whoops, also forgot about handling unwanted keystrokes in the final keyboard consensus in the Area planning document.
|
2014-03-21 14:59:50 -04:00 |
Pietro Gagliardi
|
2ff2cb6851
|
Whoops, forgot something in the previous commit.
|
2014-03-21 13:19:03 -04:00 |
Pietro Gagliardi
|
81670724e8
|
Reached a decision about Area keystroke handling; noted it in the planning document. I just now need to figure out one thing...
|
2014-03-21 13:17:08 -04:00 |
Pietro Gagliardi
|
88b8937c30
|
Er whoops, forgot one bit of info in the past two commits.
|
2014-03-20 12:14:30 -04:00 |
Pietro Gagliardi
|
e517115556
|
Some fixups in the previous commit.
|
2014-03-20 12:11:56 -04:00 |
Pietro Gagliardi
|
9ea4b1280a
|
Final say on character input woes in Area planning.
|
2014-03-20 12:10:30 -04:00 |
Pietro Gagliardi
|
e7750f0235
|
More Area keyboard planning...
|
2014-03-20 11:25:29 -04:00 |
Pietro Gagliardi
|
c766cb965f
|
Added complementary GLib/GObject version compatibility macros to gtk_unix.h alongside the GDK/GTK+ ones.
|
2014-03-19 21:16:35 -04:00 |
Pietro Gagliardi
|
32112462f8
|
And whoops I forgot the most important thing: MY USE CASE (for keyboard input in Area planning again)
|
2014-03-19 17:47:47 -04:00 |
Pietro Gagliardi
|
04fa7cf20f
|
Redid the whole Area keyboard event planning, with me coming to more of a definite decision...
|
2014-03-19 17:46:08 -04:00 |
Pietro Gagliardi
|
6447b65dfb
|
Need to rewrite the keyboard planning section of the Area planning doc; added a bunch of links to help...
|
2014-03-19 12:21:06 -04:00 |
Pietro Gagliardi
|
be90f38305
|
guh apple (keyCode not safe)
|
2014-03-18 23:37:35 -04:00 |