3333 Commits

Author SHA1 Message Date
Mitchell Hashimoto
c60ead99aa inspector: format termio a little better, incomplete 2023-10-24 20:31:26 -07:00
Mitchell Hashimoto
7b2af3a039 inspector: start termio log 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
5da0e0dab6 inspector: show kitty graphics metadata 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
dbe4530377 inspector: fix key memory leak 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
60c8ae806b inspector: remove unused next id system 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
d82a4760da inspector: note memory leak 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
25106f9644 inspector: add clear keyboard events button 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
f560423e3e inspector: render key events 2023-10-24 15:27:17 -07:00
Mitchell Hashimoto
a162c7c47f inspector: move inspector to dedicated folder 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
00ed6069f6 inspector: render basic key inspector 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
534ecb2d80 circbuf: iterator yields pointers 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
7f5f6d01cf inspector: keep track of keyboard events (not rendered yet) 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
4ed6112e6d move circular buffer to src/ 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
41dbbf43d2 terminal: circular buffer has append, clear, iterator 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
0fb7a02791 inspector: give cell picker modal a reasonable title 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
eaa7777fbb inspector: cell inspector 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
bc398327f2 inspector: track mouse state 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
e40cfc791d inspector: add keyboard info 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
ccde455fa0 inspector: cursor style information 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
0f0195fb97 inspector: screen window 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
a9279f9871 apprt/glfw: does not implement inspector 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
fc549978b9 macos: update inspector size in draw call 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
6cfa9de4df apprt/embedded: do not lock render state for inspector render 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
aa24221acf inspector: show imgui demo window only in debug 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
880d7869a9 inspector: show modes 2023-10-24 15:27:16 -07:00
Mitchell Hashimoto
c8b9bea1e1 apprt: none has app/surface so tests pass 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
5a299e14e4 all threads are notified of inspector state, trigger render 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
afa08ffc02 initial work on basic inspector information 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
c1fade6e5b apprt/embedded: also must render imgui multiple times 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
a1a398be4d inspector: setup basic modes window (empty), dock 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
844baf7148 note font size todo 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
597c1a17ae apprt/embedded: render in native dpi 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
55f681a0fd inspector is scaled to native dpi 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
e62a8bbaae pkg/cimgui: use freetype for font rendering 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
d65b29a537 apprt/embedded: render inspector 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
865bf7441c apprt/gtk: initialize and run the inspector 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
7a30d1080e core: hook up all the inspector activation state and such 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
dcb6eef9c4 apprt/gtk: different bg color for imgui widget 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
522d6b8ba1 apprt/gtk: destory the inspector properly on close 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
6a50a938d6 apprt/gtk: button to toggle inspector 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
199e1cae29 apprt/gtk: surface has inspector state 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
a6dfad9689 pkg/cimgui: requires libcpp 2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
5e2bed62b3 macos: terminal inspector control 2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
29bbcbbf92 core: add input binding to control terminal inspector 2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
92d172377e macos: don't do full surface-style key translation for imgui 2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
b2fd3fae6c macos: proper title when focusing the inspector 2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
ddd7ff4bbb apprt/gtk: use shared key => imgui key helper 2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
52ccef3b8e macos: only re-render the inspector when requested 2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
d50ff6ece7 macos: complete cimgui events 2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
2c40183c3c macos: rendering basic imgui 2023-10-24 15:27:14 -07:00