From 44057ed4aec3e8a04a71dcc1bebeb20e43809eb7 Mon Sep 17 00:00:00 2001 From: Brickcaster Date: Sun, 25 Oct 2015 10:38:24 -0400 Subject: [PATCH 1/3] Updated classes/matrix32 The 3 members of a matrix 32 are Vector2, not float. Updated documentation to reflect this. --- doc/base/classes.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 157d49fbc84..32115e604af 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -16517,11 +16517,11 @@ - + - + - + From 18964798b77c3a2c47078a22664d8851e50bbca6 Mon Sep 17 00:00:00 2001 From: Brickcaster Date: Sun, 25 Oct 2015 10:58:38 -0400 Subject: [PATCH 2/3] classes/color - Documenting a trick with set_modulate I wanted to document a trick using class color to highlight a sprite. --- doc/base/classes.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 32115e604af..a26931d5aae 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -7291,7 +7291,7 @@ Color in RGBA format. - A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point, ranging from 0 to 1. + A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point and usually range from 0 to 1. Some methods (such as set_modulate() ) may accept values > 1. @@ -31619,7 +31619,7 @@ - Set color modulation for the sprite. All sprite pixels are multiplied by this color. + Set color modulation for the sprite. All sprite pixels are multiplied by this color. Color may contain rgb values above 1 to achieve a highlight effect. From e0e4bcc6a6ce25b311dc66664e746f5ef35e5d96 Mon Sep 17 00:00:00 2001 From: Brickcaster Date: Tue, 27 Oct 2015 17:43:31 -0400 Subject: [PATCH 3/3] Added description to classes/ScrollContainer Added description to help understand how to utilize the ScrollContainer node. --- doc/base/classes.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index a26931d5aae..db8b5b8ab17 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -29178,8 +29178,10 @@ + A helper node for displaying scollable elements (e.g. lists). + A ScrollContainer node with a [Control] child and scrollbar child ([HScrollbar], [VScrollBar], or both) will only draw the Control within the ScrollContainer area. Scrollbars will automatically be drawn at the right (for vertical) or bottom (for horizontal) and will enable dragging to move the viewable Control (and its children) within the ScrollContainer. Scrollbars will also automatically resize the grabber based on the minimum_size of the Control relative to the ScrollContainer. Works great with a [Panel] control.