|
CrabUI
|
| ▼NCrabUI | |
| CAttachedItemHandle | Link between Item and CUIComponent |
| CCUI | In fact a static class managing static things |
| CCUI3DOffset | Offset of child components with X, Y, Z |
| CCUIAnchor | CUIAnchor is just a Vector2 This is a static class containing some helper methods |
| CCUIAnimation | WIP, can animate any property on any object Can run back and forth in [0..1] interval and interpolate any property between StartValue and EndValue |
| CCUIBool2 | Vector2 but with bools |
| CCUIBoundaries | Defining Boundaries, not the same as rect containing min/max x, y, z |
| CCUIButton | A button It's derived from CUITextBlock and has all its props |
| CCUICanvas | Allows you to manipulate pixel data of its texture |
| CCUIComponent | Base class for all components |
| CCUIDropDown | Drop down list, aka Select |
| CCUIFrame | Draggable and resizable container for other components |
| CCUIGlobalStyleResolver | Contains all logic for resolving styles in the framework |
| CCUIGrid | A Grid containing children in its cells |
| CCUIHorizontalList | Resizing components to it's Height and placing them sequentially |
| CCUIInput | Containing a snapshot of current mouse and keyboard state |
| CCUIInterpolate | Class containing a few interpolate functions for CUIAnimation |
| CCUILayout | Base class for all layouts |
| CCUILayoutGrid | A Grid containing children in its cells Dividing host into rows and columns basing on GridTemplate And then placing children basin on their GridCell |
| CCUILayoutHorizontalList | Resizing components to it's Height and placing them sequentially |
| CCUILayoutSimple | Default layout, simple descartes coordinate plane |
| CCUILayoutVerticalList | Resizing components to it's Width and placing them sequentially |
| CCUIMagnifyingGlass | It's a debug tool, you can use it with cuimg command, it's very fps comsuming |
| ▼CCUIMainComponent | Orchestrating drawing and updating of it's children Also a CUIComponent, but it's draw and update methods Attached directly to games life cycle |
| CCUIGlobalEvents | Wrapper for global events |
| CCUIMap | Swipable and zoomable plane Allows you to place components in a plane and connect them with lines like a graph or scheme |
| CCUIMenuOption | Component with a sprite that will notify parent CUIMenu when clicked |
| CCUIMenuText | CUITextBlock adapted for CUIMenu |
| CCUIMessageBox | Simple dialog box with a message and ok button use public static void Open(string msg) to open it |
| CCUIMultiButton | Button with multiple options which are rotating when you click |
| CCUINullRect | Rectangle with float? |
| CCUINullVector2 | Vector2, but with float? |
| CCUIPages | Container for other components Can have only 1 child Sets component as it's only child when you open it (as a page) |
| CCUIParser | Class for easy parsing and serialization of anything |
| CCUIProp | Wrapper object for prop value, setters, side effects, metadata etc |
| CCUIRadialMenu | Unfinished crap, don't use |
| CCUIRadialMenuOption | Unfinished crap, don't use |
| CCUIRect | Rectangle with float |
| CCUISlider | Horizontal range input |
| CCUISprite | Wrapper Containing link to texture and drawing settings, like SourceRedt, DrawMode, Effects, Rotation... Multiple sprites can use the same texture |
| CCUIStyle | In Fact just an observable dict |
| CCUITextBlock | Passive block of text |
| CCUITextInput | Text input |
| CCUITextureManager | Class for loading textures without duplicates Also disposes all loaded textures automatically |
| CCUITickBox | Just a tick box |
| CCUIToggleButton | A button which can be on and off It's derived from CUITextBlock and has all its props |
| CCUIVerticalList | Resizing components to it's Width and placing them sequentially |
| CCUIWater | Just an example of what CUICanvas can be used for |
| CFloatRange | Same as Range but with normal floats |
| CICUIComponent | Ignore this, i'm just thinking how to organize props, this is getting out of hand |
| CICUIVitalizable | Props implementing this will be bound to their host with reflection after creation of the host |
| CIListProps | Props used in list layouts |
| CIntRange | Same as Range but with normal ints |
| CIRefreshable | For stuff that should be in some way refreshed This method appears way too many times There are also secret public void CascadeRefresh() method in CUIComponent.Events that refreshes all childs recursivelly |
| CISerializationProps | Props used in serialization |
| CISimpleProps | Props used in simple layout |
| CModStorage | Global data repository Treat it as Dictionary<string, object> In fact data is stored in GUI.Canvas.GUIComponent.Userdata |
| ▼NCrabUITest | |
| CCalculatorMod | I was trying to make a calculator But failed miserably because i have no idea how calculator works |
| ▼CComplexTest | Random complex tests |
| CPianoKey | Class for piano test |
| CComponentTest | Testing the overall behavior of a component |
| CEventTest | Testing events |
| CFillMethods | This class contains filling methods An Action<CUIComponent> that creates some GUI and attaches it to passed component I use them in testing, you can use them as examples |
| CLayoutTest | Testing Layouts |
| CPropTest | Testing separate props |
| CRandomTest | Random tests |
| CSerializationTest | Testing Serialization |