Add Input functionality to Ultra
- Add point InSpace check to PD::Li::Math - Add Universal AlignmentCenter flag for Horizontal and and Vertical Alignment - Add Fallbackfont to Layout (if you dont want to set font per object) - Add Button Object WIP - Rename OnHover to OnFocus and add OnUnfocus - Move font and FontScale to ElementBase (for fallback logic etc) - Add UpdateInput func to ElementBase - Corectly Set fontScale in Text Rendering - Update ecample
This commit is contained in:
@@ -10,6 +10,7 @@ PD_API bool InBounds(const fvec2& pos, const fvec2& size, const fvec4& rect);
|
||||
PD_API bool InBounds(const fvec2& pos, const fvec4& rect);
|
||||
PD_API bool InBounds(const fvec2& a, const fvec2& b, const fvec2& c,
|
||||
const fvec4& rect);
|
||||
PD_API bool InSpace(const PD::fvec2& pos, const Rect& rect);
|
||||
PD_API void RotateCorner(fvec2& pos, float sinus, float cosinus);
|
||||
PD_API Rect PrimRect(const fvec2& pos, const fvec2& size, float angle = 0.f);
|
||||
PD_API Rect PrimLine(const fvec2& a, const fvec2& b, int t = 1);
|
||||
|
||||
Reference in New Issue
Block a user