ba3e8f9779
- We were using the wrong keycodes for letters, so we never triggered undo/redo/copy/paste in response to Ctrl+Letter combos. - ImGui comes with system clipboard support on Windows and Mac, but not UNIX/Linux. I added a bare bones X11 implementation, enough to support copying and pasting text in and out of the ImGui text windows. There is a bit of a delay when pasting to another program, probably because we're not running a dedicated thread to handle those events. It looks like we get a flurry of events before the real SelectionRequest. - Note that this leaves the virtual clipboard functions on Window only implemented for UNIX. We could supply our own copies for Win/Mac and other platforms, if anyone really cares. Change-Id: I2701e077ff2b6dff5ae3c5127c24b0937b893c89 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/334049 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com> |
||
---|---|---|
.. | ||
AnimTimer.h | ||
BisectSlide.cpp | ||
BisectSlide.h | ||
GMSlide.cpp | ||
GMSlide.h | ||
ImageSlide.cpp | ||
ImageSlide.h | ||
ImGuiLayer.cpp | ||
ImGuiLayer.h | ||
ParticlesSlide.cpp | ||
ParticlesSlide.h | ||
SampleSlide.cpp | ||
SampleSlide.h | ||
SkottieSlide.cpp | ||
SkottieSlide.h | ||
SKPSlide.cpp | ||
SKPSlide.h | ||
SkRiveSlide.cpp | ||
SkRiveSlide.h | ||
SkSLSlide.cpp | ||
SkSLSlide.h | ||
Slide.h | ||
SlideDir.cpp | ||
SlideDir.h | ||
StatsLayer.cpp | ||
StatsLayer.h | ||
SvgSlide.cpp | ||
SvgSlide.h | ||
TouchGesture.cpp | ||
TouchGesture.h | ||
Viewer.cpp | ||
Viewer.h |