You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some changes that must be done for a probable first release of the library (some of these items are implemented in an internal beta version that will be published in the near future):
update to Skia m81
add Surface::drawText() expand the current os::draw_text() function (Drawing text as functions instead of Surface members #12) and remove freetype usage if possible, use Skia directly to draw text, SkShaper module uses harfbuzz+icu
what to do with os::ScopedHandle? add os::DisplayHandle and os::SurfaceHandle aliases? or use move semantic and pimpl idiom?
rename os::Display -> os::Window?
add API to get main monitor/screen, list of monitors/screen, bounds of each monitor, etc.
create an example that can create 4 windows in a 2x2 grid of windows on each monitor
add a new kind of coordinate/position for os::Display that is bounds + monitor/screen
getEvent() -> replace bool arg with an enum { WaitForEvents, DontWait } we've replaced the parameter with a timeout
enable GPU support again and create a simple OpenGL example
create an example about complex text layout / new text API
merge all os::Surface::drawSurface()/blitTo() in one member function with a os::Paint argument
decide if constants should have k prefix (e.g. os::Event::ResizeDisplay vs os::kArrowCursor; or os::Key::Esc instead of os::kKeyEsc) / Check web KeyboardEvent codes as a reference / Review keyboard events #50
Some changes that must be done for a probable first release of the library (some of these items are implemented in an internal beta version that will be published in the near future):
add Surface::drawText()expand the currentos::draw_text()function (Drawing text as functions instead of Surface members #12) and remove freetype usage if possible, use Skia directly to draw text,SkShapermodule uses harfbuzz+icuos::Display::setTitleBar()->setTitle()os::Surface::bounds()->Rect(0, 0, width, height)os::Display::invalidate()=os::Display->invalidateRegion(display->surface->bounds)os::ScopedHandle? addos::DisplayHandleandos::SurfaceHandlealiases? or use move semantic and pimpl idiom?os::Display->os::Window?os::Displaythat is bounds + monitor/screenwe've replaced the parameter with a timeoutgetEvent()-> replace bool arg with anenum { WaitForEvents, DontWait }os::Surface::drawSurface()/blitTo()in one member function with aos::Paintargumentkprefix (e.g.os::Event::ResizeDisplayvsos::kArrowCursor; oros::Key::Escinstead ofos::kKeyEsc) / Check web KeyboardEvent codes as a reference / Review keyboard events #50