Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
ScrollingTemplateSource.h File Reference
#include "phosphorzones_export.h"
#include <PhosphorLayoutApi/ILayoutSource.h>
#include <PhosphorLayoutApi/ILayoutSourceFactory.h>
#include <PhosphorZones/ScrollingTemplate.h>
#include <memory>

Go to the source code of this file.

Classes

class  PhosphorZones::ScrollingTemplateSource
 ILayoutSource over a ScrollingTemplateStore — the third card family beside manual zone layouts and autotile algorithms. More...
 
class  PhosphorZones::ScrollingTemplateSourceFactory
 Factory + registrar anchor, mirroring ZonesLayoutSourceFactory. More...
 

Namespaces

namespace  PhosphorZones
 

Functions

PHOSPHORZONES_EXPORT PhosphorLayout::LayoutPreview PhosphorZones::previewFromScrollingTemplate (const ScrollingTemplate &templ, bool verticalAxis=false)
 Project a native scrolling template into the shared LayoutPreview shape: the blueprint columns (or, for a vocabulary-only template, its preset widths) become band zones laid along the strip axis, so the shared thumbnail renderer draws a strip snapshot with no template-specific code.
 
PHOSPHORZONES_EXPORT void PhosphorZones::ensureScrollingTemplateSourceProviderLinked ()
 Linker anchor — reference from every composition root that expects the self-registered provider (see ZonesLayoutSourceFactory's rationale).