blatantly ganked from T2D; adds rotation as an option for drawbitmap

demonstrates a bit of usage in guibitmapctrl. (do note, gui elements may need followup via altering thier clip rect depending on how folks want to end up using this)
This commit is contained in:
AzaezelX 2021-10-25 23:16:41 -05:00
parent 14ebeaf3eb
commit d07d113246
4 changed files with 55 additions and 27 deletions

View file

@ -44,7 +44,8 @@ class GuiBitmapCtrl : public GuiControl
Point2I mStartPoint;
ColorI mColor;
F32 mRotation;
/// If true, bitmap tiles inside control. Otherwise stretches.
bool mWrap;