Fix ViewPort PGEX. Added Draw String functions from PGE to ViewPort.

This commit is contained in:
2023-12-14 01:43:42 -06:00
parent c11417d8a0
commit 4bab1397dc
15 changed files with 823 additions and 17 deletions
+8
View File
@@ -197,6 +197,14 @@ bool MenuComponent::PointWithinParent(MenuComponent*child,vi2d drawPos){
}
}
bool MenuComponent::PointWithinParent(MenuComponent*child,geom2d::rect<float> drawRect){
if(parentComponent!=nullptr){
return parentComponent->PointWithinParent(child,drawRect);
}else{
return true;
}
}
bool MenuComponent::HandleOutsideDisabledButtonSelection(MenuComponent*disabledButton){
return false;
};