diff --git a/docs/api/index.html b/docs/api/index.html index 585d9f0..72a837c 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -1,3 +1,3 @@ -Membrane 0.9.6-beta-SNAPSHOT

Membrane 0.9.6-beta-SNAPSHOT

Released under the Apache License, Version 2.0

A platform agnostic library for creating user interfaces.

Installation

To install, add the following dependency to your project or build file:

[com.phronemophobic/membrane "0.9.6-beta-SNAPSHOT"]

Namespaces

membrane.analyze

membrane.basic-components

membrane.component

membrane.customappmain

Public variables and functions:

membrane.example.counter

membrane.example.file-selector

Public variables and functions:

membrane.example.kitchen-sink

membrane.example.todo

membrane.skia

Public variables and functions:

membrane.ui

membrane.webgl-macros

Public variables and functions:

\ No newline at end of file +Membrane 0.9.7-beta

Membrane 0.9.7-beta

Released under the Apache License, Version 2.0

A platform agnostic library for creating user interfaces.

Installation

To install, add the following dependency to your project or build file:

[com.phronemophobic/membrane "0.9.7-beta"]

Namespaces

membrane.analyze

membrane.basic-components

membrane.component

membrane.customappmain

Public variables and functions:

membrane.example.counter

membrane.example.file-selector

Public variables and functions:

membrane.example.kitchen-sink

membrane.example.todo

membrane.skia

Public variables and functions:

membrane.ui

membrane.webgl-macros

Public variables and functions:

\ No newline at end of file diff --git a/docs/api/membrane.analyze.html b/docs/api/membrane.analyze.html index cd590a2..d12441f 100644 --- a/docs/api/membrane.analyze.html +++ b/docs/api/membrane.analyze.html @@ -1,3 +1,3 @@ -membrane.analyze documentation

membrane.analyze

cell-deps

(cell-deps expr)(cell-deps cname expr)

ignore-fns

(ignore-fns form)

ignore-loop-and-let-bindings

(ignore-loop-and-let-bindings form)

ignore-new-bindings

(ignore-new-bindings form)

unbound-syms

(unbound-syms form)
\ No newline at end of file +membrane.analyze documentation

membrane.analyze

cell-deps

(cell-deps expr)(cell-deps cname expr)

ignore-fns

(ignore-fns form)

ignore-loop-and-let-bindings

(ignore-loop-and-let-bindings form)

ignore-new-bindings

(ignore-new-bindings form)

unbound-syms

(unbound-syms form)
\ No newline at end of file diff --git a/docs/api/membrane.basic-components.html b/docs/api/membrane.basic-components.html index 81c07cd..61b1f49 100644 --- a/docs/api/membrane.basic-components.html +++ b/docs/api/membrane.basic-components.html @@ -1,6 +1,6 @@ -membrane.basic-components documentation

membrane.basic-components

button

(button & {:keys [hover? text on-click extra context]})
Button component with hover state.
+membrane.basic-components documentation

membrane.basic-components

button

(button & {:keys [hover? text on-click extra context]})
Button component with hover state.
 

checkbox

(checkbox & {:keys [checked? extra context]})
Checkbox component.
 

double-click-threshold

dropdown

(dropdown & {:keys [options selected open? extra context]})

dropdown-list

(dropdown-list & {:keys [options selected extra context]})

effect-backward-char

effect-delete-backward

effect-drag

effect-finish-drag

effect-forward-char

effect-insert-newline

effect-insert-text

effect-move-cursor-to-pos

effect-next-line

effect-previous-line

effect-select

effect-start-drag

effect-text-double-click

on-hover

(on-hover & {:keys [hover? body extra context]})
Component for adding a hover? state.
 

scrollview

(scrollview & {:keys [offset mdownx? mdowny? scroll-bounds body extra context], :or {offset [0 0]}})
Basic scrollview.
diff --git a/docs/api/membrane.component.html b/docs/api/membrane.component.html
index eb9d0aa..d866492 100644
--- a/docs/api/membrane.component.html
+++ b/docs/api/membrane.component.html
@@ -1,6 +1,6 @@
 
-membrane.component documentation

membrane.component

*root*

dynamic

calculate-path

(calculate-path deps k)

component-cache

db-effects

(db-effects atm)
Effects for updating state in an atom.
+membrane.component documentation

membrane.component

*root*

dynamic

calculate-path

(calculate-path deps k)

component-cache

db-effects

(db-effects atm)
Effects for updating state in an atom.
 
 The effects are:
 
diff --git a/docs/api/membrane.customappmain.html b/docs/api/membrane.customappmain.html
index b9e37a6..967630a 100644
--- a/docs/api/membrane.customappmain.html
+++ b/docs/api/membrane.customappmain.html
@@ -1,3 +1,3 @@
 
-membrane.customappmain documentation

membrane.customappmain

-main

(-main & args)

main-class-loader

\ No newline at end of file +membrane.customappmain documentation

membrane.customappmain

-main

(-main & args)

main-class-loader

\ No newline at end of file diff --git a/docs/api/membrane.example.counter.html b/docs/api/membrane.example.counter.html index 86bac08..1736236 100644 --- a/docs/api/membrane.example.counter.html +++ b/docs/api/membrane.example.counter.html @@ -1,3 +1,3 @@ -membrane.example.counter documentation

membrane.example.counter

-main

(-main & args)

counter

(counter & {:keys [num extra context]})

counter-counter

(counter-counter & {:keys [nums extra context]})

effect-add-counter

effect-counter-increment

\ No newline at end of file +membrane.example.counter documentation

membrane.example.counter

-main

(-main & args)

counter

(counter & {:keys [num extra context]})

counter-counter

(counter-counter & {:keys [nums extra context]})

effect-add-counter

effect-counter-increment

\ No newline at end of file diff --git a/docs/api/membrane.example.file-selector.html b/docs/api/membrane.example.file-selector.html index 5e8b7e4..fa6349b 100644 --- a/docs/api/membrane.example.file-selector.html +++ b/docs/api/membrane.example.file-selector.html @@ -1,5 +1,5 @@ -membrane.example.file-selector documentation

membrane.example.file-selector

-main

(-main)(-main path)

file-selector

(file-selector path)

item-row

(item-row & {:keys [item-name selected? extra context]})

item-selector

(item-selector & {:keys [item-names selected str-filter extra context], :or {str-filter "", selected #{}}})
`item-names` a vector of choices to select from
+membrane.example.file-selector documentation

membrane.example.file-selector

-main

(-main)(-main path)

file-selector

(file-selector path)

item-row

(item-row & {:keys [item-name selected? extra context]})

item-selector

(item-selector & {:keys [item-names selected str-filter extra context], :or {str-filter "", selected #{}}})
`item-names` a vector of choices to select from
 `selected` a set of selected items
 `str-filter` filter out item names that don't contain a case insensitive match for `str-filter` as a substring
\ No newline at end of file diff --git a/docs/api/membrane.example.kitchen-sink.html b/docs/api/membrane.example.kitchen-sink.html index 5114a06..6deafd0 100644 --- a/docs/api/membrane.example.kitchen-sink.html +++ b/docs/api/membrane.example.kitchen-sink.html @@ -1,3 +1,3 @@ -membrane.example.kitchen-sink documentation

membrane.example.kitchen-sink

-main

(-main & args)

defcomponent-example

macro

(defcomponent-example category title elem initial-state)(defcomponent-example category title doc initial-state elem)

defexample

macro

(defexample category title elem)(defexample category title doc elem)

effect-fade-copy-text

example-component

(example-component & {:keys [ui-var state extra context]})

example-component-20345

(example-component-20345 & {:keys [text extra context]})

example-component-20480

(example-component-20480 & {:keys [hover? extra context]})

example-component-20554

(example-component-20554 & {:keys [text extra context]})

example-component-20703

(example-component-20703 & {:keys [extra context]})

example-component-20777

(example-component-20777 & {:keys [checked? extra context]})

examples

random-lines

(random-lines)

run-examples

(run-examples)

scroll-example

(scroll-example & {:keys [extra context]})

show-examples

(show-examples & {:keys [examples selected example-state show-copy-text extra context]})
\ No newline at end of file +membrane.example.kitchen-sink documentation

membrane.example.kitchen-sink

-main

(-main & args)

defcomponent-example

macro

(defcomponent-example category title elem initial-state)(defcomponent-example category title doc initial-state elem)

defexample

macro

(defexample category title elem)(defexample category title doc elem)

effect-fade-copy-text

example-component

(example-component & {:keys [ui-var state extra context]})

example-component-20347

(example-component-20347 & {:keys [text extra context]})

example-component-20482

(example-component-20482 & {:keys [hover? extra context]})

example-component-20556

(example-component-20556 & {:keys [text extra context]})

example-component-20705

(example-component-20705 & {:keys [extra context]})

example-component-20779

(example-component-20779 & {:keys [checked? extra context]})

examples

random-lines

(random-lines)

run-examples

(run-examples)

scroll-example

(scroll-example & {:keys [extra context]})

show-examples

(show-examples & {:keys [examples selected example-state show-copy-text extra context]})
\ No newline at end of file diff --git a/docs/api/membrane.example.todo.html b/docs/api/membrane.example.todo.html index 568372e..eca64d0 100644 --- a/docs/api/membrane.example.todo.html +++ b/docs/api/membrane.example.todo.html @@ -1,3 +1,3 @@ -membrane.example.todo documentation

membrane.example.todo

-main

(-main & args)

delete-X

(delete-X)

effect-add-todo

filter-fns

todo-app

(todo-app & {:keys [todos next-todo-text selected-filter extra context], :or {selected-filter :all}})

todo-item

(todo-item & {:keys [todo extra context]})

todo-list

(todo-list & {:keys [todos extra context]})

todo-state

toggle

(toggle & {:keys [options selected extra context]})
\ No newline at end of file +membrane.example.todo documentation

membrane.example.todo

-main

(-main & args)

delete-X

(delete-X)

effect-add-todo

filter-fns

todo-app

(todo-app & {:keys [todos next-todo-text selected-filter extra context], :or {selected-filter :all}})

todo-item

(todo-item & {:keys [todo extra context]})

todo-list

(todo-list & {:keys [todos extra context]})

todo-state

toggle

(toggle & {:keys [options selected extra context]})
\ No newline at end of file diff --git a/docs/api/membrane.skia.html b/docs/api/membrane.skia.html index 8deb9f3..910c10c 100644 --- a/docs/api/membrane.skia.html +++ b/docs/api/membrane.skia.html @@ -1,6 +1,6 @@ -membrane.skia documentation

membrane.skia

*already-drawing*

dynamic

*draw-cache*

dynamic

*font-cache*

dynamic

*image-cache*

dynamic

*origin*

dynamic

*paint*

dynamic

*skia-resource*

dynamic

*view*

dynamic

*window*

dynamic

-character-callback

(-character-callback window window-handle codepoint)

-cursor-pos-callback

(-cursor-pos-callback window window-handle x y)

-key-callback

(-key-callback window window-handle key scancode action mods)

-main

(-main & args)

-mouse-button-callback

(-mouse-button-callback window window-handle button action mods)

-reshape

(-reshape window window-handle width height)

-scroll-callback

(-scroll-callback window window-handle offset-x offset-y)

-window-refresh-callback

(-window-refresh-callback window window-handle)

argc

argv

bstr

(bstr num)

button

(button text hover?)

byte-array-class

cached-draw

(cached-draw drawable)

copy-to-clipboard

(copy-to-clipboard s)

def-objc-class

macro

(def-objc-class kls)

DEFAULT-COLOR

defc

macro

(defc fn-name lib ret)(defc fn-name lib ret args)

defgl

macro

(defgl fn-name ret)(defgl fn-name ret args)

dispatch-sync!

(dispatch-sync! f)

draw-button

(draw-button text hover?)

draw-to-image!

(draw-to-image! path elem)(draw-to-image! path elem [w h :as size])(draw-to-image! path elem [w h :as size] image-format quality clear?)
Creates an image of elem. Returns true on success, false otherwise.
+membrane.skia documentation

membrane.skia

*already-drawing*

dynamic

*draw-cache*

dynamic

*font-cache*

dynamic

*image-cache*

dynamic

*origin*

dynamic

*paint*

dynamic

*skia-resource*

dynamic

*view*

dynamic

*window*

dynamic

-character-callback

(-character-callback window window-handle codepoint)

-cursor-pos-callback

(-cursor-pos-callback window window-handle x y)

-key-callback

(-key-callback window window-handle key scancode action mods)

-main

(-main & args)

-mouse-button-callback

(-mouse-button-callback window window-handle button action mods)

-reshape

(-reshape window window-handle width height)

-scroll-callback

(-scroll-callback window window-handle offset-x offset-y)

-window-refresh-callback

(-window-refresh-callback window window-handle)

argc

argv

bstr

(bstr num)

button

(button text hover?)

byte-array-class

cached-draw

(cached-draw drawable)

copy-to-clipboard

(copy-to-clipboard s)

def-objc-class

macro

(def-objc-class kls)

DEFAULT-COLOR

defc

macro

(defc fn-name lib ret)(defc fn-name lib ret args)

defgl

macro

(defgl fn-name ret)(defgl fn-name ret args)

dispatch-sync!

(dispatch-sync! f)

draw-button

(draw-button text hover?)

draw-to-image!

(draw-to-image! path elem)(draw-to-image! path elem [w h :as size])(draw-to-image! path elem [w h :as size] image-format quality clear?)
Creates an image of elem. Returns true on success, false otherwise.
 
 `path`: the filename to write the image to
 `elem`: the graphical element to draw
diff --git a/docs/api/membrane.ui.html b/docs/api/membrane.ui.html
index d90992a..ddf0831 100644
--- a/docs/api/membrane.ui.html
+++ b/docs/api/membrane.ui.html
@@ -1,6 +1,6 @@
 
-membrane.ui documentation

membrane.ui

-default-mouse-move-global

(-default-mouse-move-global elem offset)

bordered

(bordered padding drawable)
Graphical elem that will draw drawable with a gray border.
+membrane.ui documentation

membrane.ui

-default-mouse-move-global

(-default-mouse-move-global elem offset)

bordered

(bordered padding drawable)
Graphical elem that will draw drawable with a gray border.
 

bordered-draw

(bordered-draw this)

bounds

(bounds elem)
Returns a 2 element vector with the [width, height] of an element's bounds with respect to its origin
 

box-contains?

(box-contains? [x y width height] [px py])
Tests whether [px py] is within  [x y width height].
 

button

(button text)(button text on-click)(button text on-click hover?)
Graphical elem that draws a button. Optional on-click function may be provided that is called with no arguments when button has a mouse-down event.
@@ -101,7 +101,7 @@
 See with-style, with-stroke-width, and with-color for more options.

PWrapped

protocol

members

-unwrap

(-unwrap this)

rectangle

(rectangle width height)
Graphical elem that draws a rectangle.
 
 See with-style, with-stroke-width, and with-color for more options.

rounded-rectangle

(rounded-rectangle width height border-radius)
Graphical elem that draws a rounded rectangle.
-

run

dynamic

run-sync

dynamic

scale

(scale sx sy & drawables)
Draw drawables using scalars which is a vector of [scale-x scale-y]
+

run

dynamic

(run & args)

run-sync

dynamic

(run-sync & args)

scale

(scale sx sy & drawables)
Draw drawables using scalars which is a vector of [scale-x scale-y]
 

scissor-view

(scissor-view offset bounds drawable)
Graphical elem to only draw drawable within bounds with an offset.
 
 All other drawing will be clipped.

scroll

(scroll elem [offset-x offset-y :as offset])
Returns the effects of a scroll event on elem.
diff --git a/docs/api/membrane.webgl-macros.html b/docs/api/membrane.webgl-macros.html
index f2b75e1..fbbc086 100644
--- a/docs/api/membrane.webgl-macros.html
+++ b/docs/api/membrane.webgl-macros.html
@@ -1,3 +1,3 @@
 
-membrane.webgl-macros documentation

membrane.webgl-macros

add-image!

macro

(add-image! url-path image-path-or-bounds)

image-size-raw

(image-size-raw image-path)

push-state

macro

(push-state ctx & body)
\ No newline at end of file +membrane.webgl-macros documentation

membrane.webgl-macros

add-image!

macro

(add-image! url-path image-path-or-bounds)

image-size-raw

(image-size-raw image-path)

push-state

macro

(push-state ctx & body)
\ No newline at end of file