fluid

Fluid is a somewhat minimalistic and declarative high-level UI library for D.

Fluid aims to be as simple in usage as it can be making as much possible with no excess of code. It's built empirically, making each component suitable for all the most common needs out of the box.

auto node = label("Hello, World!");
node.draw();

Modules

actions
module fluid.actions

Definitions for common tree actions; This is the Fluid tree equivalent to std.algorithm.

backend
module fluid.backend

This module handles input/output facilities Fluid requires to operate. It connects backends like Raylib, exposing them under a common interface so they can be changed at will.

border
module fluid.border
Undocumented in source.
button
module fluid.button
children
module fluid.children

This module defines the Children struct which will catch mutations made to it while drawing, and defines utils for operating on children.

container
module fluid.container
Undocumented in source.
default_theme
module fluid.default_theme
Undocumented in source.
dub_template
module fluid.dub_template

This module provides a DUB template for dub init -t fluid

file_input
module fluid.file_input
Undocumented in source.
file_picker
module fluid.file_picker
Undocumented in source.
frame
module fluid.frame
grid
module fluid.grid
Undocumented in source.
hover_button
module fluid.hover_button
image_view
module fluid.image_view
input
module fluid.input
label
module fluid.label
map_space
module fluid.map_space
Undocumented in source.
node
module fluid.node
onion_frame
module fluid.onion_frame
popup
module fluid.popup
Undocumented in source.
popup_button
module fluid.popup_button
popup_frame
module fluid.popup_frame
Undocumented in source.
scroll
module fluid.scroll
Undocumented in source.
scroll_input
module fluid.scroll_input
Undocumented in source.
scrollbar
module fluid.scrollbar
Undocumented in source.
showcase
module fluid.showcase

This showcase is a set of examples and tutorials designed to illustrate core features of Fluid and provide a quick start guide to developing applications using Fluid.

size_lock
module fluid.size_lock
Undocumented in source.
slot
module fluid.slot
Undocumented in source.
space
module fluid.space
structs
module fluid.structs
style
module fluid.style
style_macros
module fluid.style_macros
Undocumented in source.
text
module fluid.text
Undocumented in source.
text_input
module fluid.text_input
tree
module fluid.tree
Undocumented in source.
typeface
module fluid.typeface
Undocumented in source.
utils
module fluid.utils

Public Imports

fluid.backend
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.actions
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.button
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.children
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.default_theme
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.file_input
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.frame
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.grid
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.hover_button
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.image_view
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.input
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.label
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.map_space
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.node
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.onion_frame
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.popup_button
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.popup_frame
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.scroll
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.scroll_input
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.size_lock
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.slot
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.space
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.structs
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.style
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.text_input
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.
fluid.utils
public import fluid.backend, fluid.actions, fluid.button, fluid.children, fluid.default_theme, fluid.file_input, fluid.frame, fluid.grid, fluid.hover_button, fluid.image_view, fluid.input, fluid.label, fluid.map_space, fluid.node, fluid.onion_frame, fluid.popup_button, fluid.popup_frame, fluid.scroll, fluid.scroll_input, fluid.size_lock, fluid.slot, fluid.space, fluid.structs, fluid.style, fluid.text_input, fluid.utils;
Undocumented in source.

Meta