Skip to content
Snippets Groups Projects
UIElementInterfaces.ts 896 B
Newer Older
  • Learn to ignore specific revisions
  • rhenck's avatar
    rhenck committed
    export interface FontElement {
      fontColor: string;
      font: string;
      fontSize: number;
    
      lineHeight: number;
    
    rhenck's avatar
    rhenck committed
      bold: boolean;
      italic: boolean;
      underline: boolean;
    }
    
    export interface SurfaceUIElement {
      backgroundColor: string;
    }
    
    export interface PlayerElement {
    
      autostart: boolean;
      autostartDelay: number;
      loop: boolean;
      startControl: boolean;
      pauseControl: boolean;
      progressBar: boolean;
      interactiveProgressbar: boolean;
      volumeControl: boolean;
      hintLabel: string;
      hintLabelDelay: number;
      uninterruptible: boolean;
      hideOtherPages: boolean;
      activeAfterID: string;
      minRuns: number;
      maxRuns: number | null;
    
      showRestRuns: boolean;
    
    rhenck's avatar
    rhenck committed
    
    
    export interface LikertColumn {
    
    rhenck's avatar
    rhenck committed
      text: string;
      imgSrc: string | null;
      position: 'above' | 'below';
    }
    
    export interface LikertRow {
      text: string;
      columnCount: number;
    }