Jazz2::UI::Menu::ServerSelectSection class

Base classes

class MenuSection
Base class of a menu section.
class Jazz2::Multiplayer::IServerObserver
Interface to observe publicly-listed running servers.

Constructors, destructors, conversion operators

ServerSelectSection()
~ServerSelectSection()

Public functions

auto GetClipRectangle(const Recti& contentBounds) -> Recti override
Allows to override clip rectangle of the middle layer.
void OnShow(IMenuContainer* root) override
Called when the section is shown.
void OnUpdate(float timeMult) override
Called when the section should be updated.
void OnDraw(Canvas* canvas) override
Called when the section should be drawn — the bottom background layer.
void OnDrawClipped(Canvas* canvas) override
Called when the section should be drawn — the middle clipped layer.
void OnTouchEvent(const TouchEvent& event, Vector2i viewSize) override
Called when a touch event is triggered.
void OnServerFound(Multiplayer::ServerDesc&& desc) override
Called when a server is discovered.