1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#pragma once
#include "MenuSection.h"
using namespace Jazz2::Input;
namespace Jazz2::UI::Menu
{
MenuSection::MenuSection()
: _root(nullptr) {}
MenuSection::~MenuSection() {}
Recti MenuSection::GetClipRectangle(const Recti& contentBounds) {
return {};
}
void MenuSection::OnShow(IMenuContainer* root) {
_root = root;
}
void MenuSection::OnHide() {
_root = nullptr;
}
NavigationFlags MenuSection::GetNavigationFlags() const {
return NavigationFlags::AllowAll;
}
}
|