~ubuntu-branches/ubuntu/wily/mir/wily-proposed

« back to all changes in this revision

Viewing changes to include/server/mir/scene/surface_creation_parameters.h

  • Committer: Package Import Robot
  • Author(s): CI Train Bot
  • Date: 2015-05-12 13:12:55 UTC
  • mto: This revision was merged to the branch mainline in revision 96.
  • Revision ID: package-import@ubuntu.com-20150512131255-y7z12i8n4pbvo70x
Tags: upstream-0.13.0+15.10.20150512
ImportĀ upstreamĀ versionĀ 0.13.0+15.10.20150512

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include "mir/frontend/surface_id.h"
29
29
#include "mir/input/input_reception_mode.h"
30
30
#include "mir/optional_value.h"
 
31
#include "mir/shell/surface_specification.h"
31
32
 
32
33
#include <memory>
33
34
#include <string>
89
90
    mir::optional_value<MirEdgeAttachment> edge_attachment;
90
91
 
91
92
    std::weak_ptr<Surface> parent;
 
93
 
 
94
    optional_value<geometry::Width> min_width;
 
95
    optional_value<geometry::Height> min_height;
 
96
    optional_value<geometry::Width> max_width;
 
97
    optional_value<geometry::Height> max_height;
 
98
    mir::optional_value<geometry::DeltaX> width_inc;
 
99
    mir::optional_value<geometry::DeltaY> height_inc;
 
100
    mir::optional_value<shell::SurfaceAspectRatio> min_aspect;
 
101
    mir::optional_value<shell::SurfaceAspectRatio> max_aspect;
92
102
};
93
103
 
94
104
bool operator==(const SurfaceCreationParameters& lhs, const SurfaceCreationParameters& rhs);