From c706549796ef47b882c1c574d065e7169cb7ffa7 Mon Sep 17 00:00:00 2001 From: Kevin Harrison Date: Mon, 14 Nov 2016 21:23:33 -0500 Subject: [PATCH] Updated Documentation (markdown) --- Documentation.md | 56 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/Documentation.md b/Documentation.md index 7ea6829..16649a2 100644 --- a/Documentation.md +++ b/Documentation.md @@ -345,7 +345,7 @@ End the current menu. Always call this at the end of any open menu. #### nk.label(text) #### nk.label(text, align/'wrap') #### nk.label(text, align/'wrap', color) -Show a text string. Optionally specify an alignment and/or color. +Show a text string. Optionally specify an alignment and/or [color](#colors). #### nk.image(img) Show an image. @@ -578,5 +578,59 @@ local color_table = { For finer-grained control over styles, including custom image-based skinning, Nuklear provides the following style items: ``` +local style = { + ['font'] = , + ['text'] = { + ['color'] = , + }, + ['button'] = { + + }, + ['contextual button'] = { + + }, + ['menu button'] = { + + }, + ['option'] = { + + }, + ['checkbox'] = { + + }, + ['selectable'] = { + + }, + ['slider'] = { + + }, + ['progress'] = { + + }, + ['property'] = { + + }, + ['edit'] = { + + }, + ['chart'] = { + + }, + ['scrollh'] = { + + }, + ['scrollv'] = { + + }, + ['tab'] = { + + }, + ['combo'] = { + + }, + ['window'] = { + + } +} ``` \ No newline at end of file