Rose
Layout.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include "Visual.h"
11 
12 namespace rose {
13 
18  class StackLayout : public LayoutManager {
19  protected:
20 
21  public:
22  ~StackLayout() override = default;
23 
25  Rectangle layoutContent(gm::Context &context, const Rectangle &screenRect, LayoutManager::Itr first,
26  LayoutManager::Itr last) override;
27 
28  };
29 
30  class PlacementLayout : public LayoutManager {
31  protected:
32 
33  public:
34  ~PlacementLayout() override = default;
35 
37  Rectangle layoutContent(gm::Context &context, const Rectangle &screenRect, LayoutManager::Itr first,
38  LayoutManager::Itr last) override;
39  };
40 }
41 
A pure virtual base class for layout managers.
Definition: Visual.h:392
Context
Definition: GraphicsModel.h:76
A composite of a Position and a Size.
Definition: Types.h:307
Rectangle layoutContent(gm::Context &context, const Rectangle &screenRect, LayoutManager::Itr first, LayoutManager::Itr last) override
Layout the contents of the associated manager.
Definition: Layout.cpp:12
ToDo: There is an issue that the initial scroll interaction is lost if the click/press lands on a Wid...
Definition: CelestialOverlay.cpp:13
User Interface Visual types.
Definition: Layout.h:30
Definition: Layout.h:18