~alan-griffiths/mir/make-endpoint-accessible-option

« back to all changes in this revision

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

  • Committer: Tarmac
  • Author(s): Alberto Aguirre
  • Date: 2015-01-22 14:33:14 UTC
  • mfrom: (2229.3.10 dialogs_and_tooltips)
  • Revision ID: tarmac-20150122143314-onezzegwae13mmuu
Add API to create dialog and tooltip surfaces. Fixes: https://bugs.launchpad.net/bugs/1324101.

Approved by Alan Griffiths, PS Jenkins bot, Robert Carr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
    SurfaceCreationParameters& with_parent_id(frontend::SurfaceId const& id);
70
70
 
71
 
    SurfaceCreationParameters& with_attachment_rect(geometry::Rectangle const& rect);
 
71
    SurfaceCreationParameters& with_aux_rect(geometry::Rectangle const& rect);
72
72
 
73
73
    SurfaceCreationParameters& with_edge_attachment(MirEdgeAttachment edge);
74
74
 
85
85
    mir::optional_value<MirSurfaceType> type;
86
86
    mir::optional_value<MirOrientationMode> preferred_orientation;
87
87
    mir::optional_value<frontend::SurfaceId> parent_id;
88
 
    mir::optional_value<geometry::Rectangle> attachment_rect;
 
88
    mir::optional_value<geometry::Rectangle> aux_rect;
89
89
    mir::optional_value<MirEdgeAttachment> edge_attachment;
90
90
 
91
91
    std::weak_ptr<Surface> parent;