Skip to content

Conversation

@Life4gal
Copy link
Owner

No description provided.

Life4gal added 30 commits April 10, 2025 15:17
`feat`: Allows to scroll the contents of the window using the mouse wheel.
…te the vertex/index data of earlier windows.
`fix`: Collapsing a window (double-clicking on the titlebar) sets the size of the window correctly (this used to result in the contents of the child window in the canvas being rendered even after the window was collapsed).
…wing it when the background fill alpha is greater than 0, which used to cause child windows not to draw the border).🐛
`fix`: Invisible items will correctly set the hover to false instead of doing nothing.🐛
…e access to the class's private constructor.🐛
Life4gal added 24 commits May 7, 2025 01:03
* Move all GFX enumerations to the type.hpp.
* Move the `size_of(text)` implementation from `TextureContext` to `RenderList` to ensure that it is highly consistent with the implementation of drawing text
* TextureContext holds the font file data (once held by the GlyphParser)
* Instead of returning GlyphInfo, GlyphParser::parse returns only some of its members, to clarify the purpose of the interface
🐛
…ntent is managed by `Fonts`, and `TextureContext` only proxies its interface.✨

`todo`:
* To keep the internal implementation invisible to the outside world, the current call chain is a bit too cumbersome(RenderContext->TextureContext->Fonts).
* `Fonts` obviously not a good name :(
* Allow `RefWrapper<const T>` to be implicitly converted to `const T&`.
* Allow `const RefWrapper<T>` to be implicitly converted to `const T&`.
🐛
@Life4gal Life4gal merged commit ad1cf2b into master Jul 10, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant