Skip to content

gui_toolkit 0.266.0

Choose a tag to compare

@sachahjkl sachahjkl released this 15 Nov 08:34
· 933 commits to master since this release
v0.266.0
4b2d4ae

Added

  • A window ready ahead. host.ahead_due says once when to open a hidden window that must show at once later (an editor at a screenshot's shortcut); with no window yet, the graphics driver is made on a thread first and its end wakes the program, so the interface never waits for it.
  • A program's steps in the renderer's trace. With TOOLKIT_RENDER_TRACE=1, render.trace_start, trace_mark and trace_note print how long each step from a trigger took, beside the renderer's own timings: one switch and one list for a latency, from a shortcut to the first picture.
  • A worker thread's own fonts. host.Worker_Fonts with host.worker_fonts gives a worker that draws text (a watermark on a picture) a font state of its own, made at its first use with the interface's face; host.load_ui_font is that one rule, the window's fonts included.

Changed

  • Fields have the corners of buttons. A text field, a text editor, an input frame, a shortcut field and a number's field are rounded as a button is (the same radius, scaled by the rounding setting); they were square beside rounded buttons. next still gives another radius.