MCPcopy Create free account
hub / github.com/SFML/SFML / initialize

Method initialize

src/SFML/Window/WindowBase.cpp:386–398  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

384
385////////////////////////////////////////////////////////////
386void WindowBase::initialize()
387{
388 // Setup default behaviors (to get a consistent behavior across different implementations)
389 setVisible(true);
390 setMouseCursorVisible(true);
391 setKeyRepeatEnabled(true);
392
393 // Get and cache the initial size of the window
394 m_size = m_impl->getSize();
395
396 // Notify the derived class
397 onCreate();
398}
399
400} // namespace sf

Callers

nothing calls this directly

Calls 1

getSizeMethod · 0.45

Tested by

no test coverage detected