Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Ui.KeycapsT

Description

Types used by Ui.KeycapsC. It's a separate module to avoid the FFI dependency when possible.

Synopsis

Documentation

data Layout Source #

Instances

Instances details
Show Layout # 
Instance details

Defined in Ui.KeycapsT

CStorable Layout # 
Instance details

Defined in Ui.KeycapsC

type KeyDoc = Text Source #

Binding text that shows up on the keycap.

type Doc = Text Source #

Longer binding text that shows up on mouseover.

data Binding Source #

Constructors

Binding 

Instances

Instances details
Show Binding # 
Instance details

Defined in Ui.KeycapsT

Pretty Binding # 
Instance details

Defined in Ui.KeycapsT

no_binding :: Binding Source #

Since Bindings have to have the same indices of lt_labels, I need dummy ones to fill out the array.

newtype RawBindings Source #

Low level type, for sending to fltk.

Constructors

RawBindings [RawBinding] 

Instances

Instances details
Show RawBindings # 
Instance details

Defined in Ui.KeycapsT

data RawBinding Source #

Instances

Instances details
Show RawBinding # 
Instance details

Defined in Ui.KeycapsT

CStorable RawBinding # 
Instance details

Defined in Ui.KeycapsC

data CWindow Source #

Phantom type for ptr to the window object.