Noah kirsle
  • Joined on 2018-04-12
kirsle merged pull request go/ui#2 2020-06-05 02:49:26 +00:00
Menus and Menu Bars
kirsle opened issue go/ui#5 2020-06-04 18:26:29 +00:00
Scrollbar Widget
kirsle opened issue go/ui#4 2020-06-04 18:12:26 +00:00
Cache textures for performance boost
kirsle opened issue go/ui#3 2020-06-04 17:46:40 +00:00
Styles and Themes Support
kirsle created pull request go/ui#2 2020-06-04 07:57:00 +00:00
Menus and Menu Bars
kirsle pushed to menus at go/ui 2020-06-04 07:56:27 +00:00
07cefb6499 Menus and Menu Bars
kirsle pushed to master at kirsle/sm64pc 2020-05-11 16:38:56 +00:00
8258bac40a Update README.md
ff2ec85f8c Adds credit to Emil.
1245f3c75e Windows build clarifications.
a73accc906 Merge pull request #51 from fgsfdsfgs/patch-2
a0ba46eaf6 move bettercamera settings to config file; cleanup
kirsle created repository kirsle/sm64pc 2020-05-11 16:38:03 +00:00
kirsle pushed to master at go/audio 2020-04-29 05:56:01 +00:00
ae3b0695ba Initial code for basic SDL2 audio engine
kirsle created repository go/audio 2020-04-29 05:55:46 +00:00
kirsle pushed to master at go/ui 2020-04-22 02:56:03 +00:00
d27636ea48 IsPointInWindow: not in hidden windows
kirsle pushed to master at go/log 2020-04-13 00:17:15 +00:00
ec7e58ef4c Fix wasm junk
kirsle pushed to master at go/log 2020-04-13 00:12:51 +00:00
6d7415aa25 Fix build tags
kirsle pushed to master at go/ui 2020-04-12 23:49:34 +00:00
6d6629d3c0 Add helper function IsPointInWindow
kirsle pushed to master at apps/gophertype 2020-04-10 02:17:21 +00:00
8f98e72e47 Lazy load blog post images by default
kirsle pushed to master at go/render 2020-04-09 00:31:48 +00:00
e495ec6439 Add DarkGrey to the default color names
kirsle pushed to master at go/ui 2020-04-09 00:31:22 +00:00
36db160533 Window Manager Buttons and Bugfixes
kirsle pushed to master at go/render 2020-04-07 23:33:59 +00:00
bb84347294 Add Point Comparator Function and Tests
kirsle pushed to master at go/ui 2020-04-07 06:05:01 +00:00
7d9ba79cd2 Window Manager Basics, Work in Progress
kirsle commented on issue go/ui#1 2020-04-07 05:55:41 +00:00
Window Managers

Hard bug to follow up on later:

If two windows overlap each other with the Focused window on top, and you click into the focused window in a slot covering the lower (Unfocused) window, the Unfocused window will come to the front when it shouldn't.

Root is somewhere in the event handlers for SDL's click event. Debug it like:

Set DebugClickEvents=true in lib/render/sdl/events.go

Code path is like:

  1. First call to MainWindow.Loop()
  2. engine.Poll() reads a click event from raw SDL: "[1194 ms] tick:0 MouseButton type:1025 id:0 x:483 y:285 button:1 state:1"
  3. Supervisor.Loop() called.
  4. Top focused window has its MouseDown event called. Supervisor prevents calling events on the un-focused window cuz the focused one handled it.
  5. Next call to MainWindow.Loop(). the ev.State is still the same as last tick: Button1=true etc.; SDL didn't emit any event to change our state.