8 #include "CallbackCollection.h"
9 #include "VectorMath.h"
24 bool HasInteriorModel()
const {
return m_pInteriorModel != NULL; }
25 const InteriorsModel* GetInteriorModel()
const {
return m_pInteriorModel; }
27 void SetInteriorModelAtFloorIndex(
const InteriorsModel& interiorModel,
int floorIndex);
28 void ClearInteriorModel();
31 bool IsFullyExpanded()
const {
return m_expandedState == Expanded; }
32 bool IsCollapsed()
const {
return m_expandedState == Collapsed; }
33 bool IsEnteringExpanded()
const {
return m_expandedState == EnteringExpanded; }
34 bool IsExitingExpanded()
const {
return m_expandedState == ExitingExpanded; }
36 bool CanExpand()
const;
38 void ToggleExpanded();
39 void FinishEnterExpanded();
40 void FinishExitExpanded();
41 void SetFullyExpanded();
44 void SetExpandedParam(
float expandedParam);
45 float GetExpandedParam()
const {
return m_expandedParam; }
47 float GetFloorParam()
const {
return m_floorParam; }
48 void SetFloorParam(
float floorParam);
50 int GetSelectedFloorIndex()
const {
return m_selectedFloorIndex; }
51 void SetSelectedFloorIndex(
int floorIndex);
53 v4 GetBackgroundColor()
const {
return m_backgroundColor; }
54 void SetBackgroundColor(
const v4& color);
78 ExpandedState m_expandedState;
80 float m_expandedParam;
82 int m_selectedFloorIndex;