morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
shell_frame.hpp File Reference

morph::ui::ShellFrame: the frame a client shows its screens in — a sidebar with the navigator, a top bar, and the page the workspace's tabs sit on. Built from backend widgets, so every frontend shows it. More...

#include <functional>
#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include "../attributes.hpp"
#include "backend.hpp"
#include "navigator.hpp"

Go to the source code of this file.

Classes

struct  morph::ui::ShellFrameOptions
 What a ShellFrame shows and reports. More...
class  morph::ui::ShellFrame
 The frame around a client's screens. More...

Variables

constexpr int morph::ui::kShellSidebarWidth = 28
 The frame's width for the sidebar, in units.

Detailed Description

morph::ui::ShellFrame: the frame a client shows its screens in — a sidebar with the navigator, a top bar, and the page the workspace's tabs sit on. Built from backend widgets, so every frontend shows it.

Specified in docs/spec/ui/shell_frame.md.

Definition in file shell_frame.hpp.

Variable Documentation

◆ kShellSidebarWidth

int morph::ui::kShellSidebarWidth = 28
inlineconstexpr

The frame's width for the sidebar, in units.

Definition at line 23 of file shell_frame.hpp.