NcReelOptions

Type Alias NcReelOptions 

Source
pub type NcReelOptions = ncreel_options;
Expand description

Options struct for NcReel

Aliased Type§

#[repr(C)]
pub struct NcReelOptions { pub bordermask: u32, pub borderchan: u64, pub tabletmask: u32, pub tabletchan: u64, pub focusedchan: u64, pub flags: u64, }

Fields§

§bordermask: u32

bitfield; 1s will not be drawn (see bordermaskbits)

§borderchan: u64

attributes used for ncreel border

§tabletmask: u32

bitfield; same as bordermask but for tablet borders

§tabletchan: u64

tablet border styling channel

§focusedchan: u64

focused tablet border styling channel

§flags: u64

bitfield over NCREEL_OPTION_*

Implementations§

Source§

impl NcReelOptions

Source

pub const CIRCULAR: u32 = 2u32

is navigation circular (does moving down from the last tablet move to the first, and vice versa)? only meaningful when infinitescroll is true. if infinitescroll is false, this must be false.

Source

pub const INFINITESCROLL: u32 = 1u32

is scrolling infinite (can one move down or up forever, or is an end reached?). if true, ‘circular’ specifies how to handle the special case of an incompletely-filled reel.