diff options
Diffstat (limited to 'src/pardes.zig')
| -rw-r--r-- | src/pardes.zig | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/pardes.zig b/src/pardes.zig index e9d38ad2..298822bc 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -110,16 +110,6 @@ pub const can_attach = platform == .tui or platform == .gui; pub const fonts = if (font_picker) @import("fonts.zig") else struct {}; -/// The raster a frontend wants a kind's picture at (Kind.viewOf, a -/// `pa_view`): a terminal's kitty images go down a wire, so smaller; a -/// window rasterizes for its display. -pub const RasterPolicy = struct { dpi: u16, max_dimension: u16, match_viewport: bool }; -/// A view's: a window's denser than a terminal's. By the view's frontend, -/// never the build's, so every core of a session asks a kind alike. -pub fn rasterPolicy(windowed: bool) RasterPolicy { - return if (windowed) .{ .dpi = 192, .max_dimension = 4096, .match_viewport = true } else .{ .dpi = 96, .max_dimension = 1200, .match_viewport = false }; -} - pub const Pane = panes.Pane; const Text = panes.Text; @@ -143,7 +133,6 @@ pub const NOTICE_LAYER_BASE = MAX_PANES + MAX_COLS + 1; /// being most of it). pub const MAX_COLS = 16; const column_weight_unit = layout.column_weight_unit; -pub const MAX_JUMPS = 64; pub const TOPBAR_H: u16 = 1; pub const COLBAR_H: u16 = 1; pub const BOX_H: u16 = 1; |
