Fix ViewPort PGEX. Added Draw String functions from PGE to ViewPort.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user