MCPcopy Create free account
hub / github.com/TankOs/SFGUI / HasFocus

Method HasFocus

src/SFGUI/Widget.cpp:117–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117bool Widget::HasFocus( PtrConst widget ) {
118 if( focus_widget.lock() == widget ) {
119 return true;
120 }
121
122 return false;
123}
124
125void Widget::SetAllocation( const sf::FloatRect& rect ) {
126 sf::FloatRect oldallocation( m_allocation );

Callers 2

CreateEntryDrawableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected