CrabUI
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 123]
 NCrabUI
 CAttachedItemHandleLink between Item and CUIComponent
 CCUIIn fact a static class managing static things
 CCUI3DOffsetOffset of child components with X, Y, Z
 CCUIAnchorCUIAnchor is just a Vector2
This is a static class containing some helper methods
 CCUIAnimationWIP, can animate any property on any object Can run back and forth in [0..1] interval and interpolate any property between StartValue and EndValue
 CCUIBool2Vector2 but with bools
 CCUIBoundariesDefining Boundaries, not the same as rect
containing min/max x, y, z
 CCUIButtonA button
It's derived from CUITextBlock and has all its props
 CCUICanvasAllows you to manipulate pixel data of its texture
 CCUIComponentBase class for all components
 CCUIDropDownDrop down list, aka Select
 CCUIFrameDraggable and resizable container for other components
 CCUIGlobalStyleResolverContains all logic for resolving styles in the framework
 CCUIGridA Grid containing children in its cells
 CCUIHorizontalListResizing components to it's Height and placing them sequentially
 CCUIInputContaining a snapshot of current mouse and keyboard state
 CCUIInterpolateClass containing a few interpolate functions for CUIAnimation
 CCUILayoutBase class for all layouts
 CCUILayoutGridA Grid containing children in its cells
Dividing host into rows and columns basing on GridTemplate
And then placing children basin on their GridCell
 CCUILayoutHorizontalListResizing components to it's Height and placing them sequentially
 CCUILayoutSimpleDefault layout, simple descartes coordinate plane
 CCUILayoutVerticalListResizing components to it's Width and placing them sequentially
 CCUIMagnifyingGlassIt's a debug tool, you can use it with cuimg command, it's very fps comsuming
 CCUIMainComponentOrchestrating drawing and updating of it's children
Also a CUIComponent, but it's draw and update methods Attached directly to games life cycle
 CCUIGlobalEventsWrapper for global events
 CCUIMapSwipable and zoomable plane
Allows you to place components in a plane and connect them with lines like a graph or scheme
 CCUIMenuOptionComponent with a sprite that will notify parent CUIMenu when clicked
 CCUIMenuTextCUITextBlock adapted for CUIMenu
 CCUIMessageBoxSimple dialog box with a message and ok button
use public static void Open(string msg) to open it
 CCUIMultiButtonButton with multiple options which are rotating when you click
 CCUINullRectRectangle with float?
 CCUINullVector2Vector2, but with float?
 CCUIPagesContainer for other components
Can have only 1 child
Sets component as it's only child when you open it (as a page)
 CCUIParserClass for easy parsing and serialization of anything
 CCUIPropWrapper object for prop value, setters, side effects, metadata etc
 CCUIRadialMenuUnfinished crap, don't use
 CCUIRadialMenuOptionUnfinished crap, don't use
 CCUIRectRectangle with float
 CCUISliderHorizontal range input
 CCUISpriteWrapper Containing link to texture and drawing settings,
like SourceRedt, DrawMode, Effects, Rotation...
Multiple sprites can use the same texture
 CCUIStyleIn Fact just an observable dict
 CCUITextBlockPassive block of text
 CCUITextInputText input
 CCUITextureManagerClass for loading textures without duplicates
Also disposes all loaded textures automatically
 CCUITickBoxJust a tick box
 CCUIToggleButtonA button which can be on and off
It's derived from CUITextBlock and has all its props
 CCUIVerticalListResizing components to it's Width and placing them sequentially
 CCUIWaterJust an example of what CUICanvas can be used for
 CFloatRangeSame as Range but with normal floats
 CICUIComponentIgnore this, i'm just thinking how to organize props, this is getting out of hand
 CICUIVitalizableProps implementing this will be bound to their host with reflection after creation of the host
 CIListPropsProps used in list layouts
 CIntRangeSame as Range but with normal ints
 CIRefreshableFor 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
 CISerializationPropsProps used in serialization
 CISimplePropsProps used in simple layout
 CModStorageGlobal data repository
Treat it as Dictionary<string, object>
In fact data is stored in GUI.Canvas.GUIComponent.Userdata
 NCrabUITest
 CCalculatorModI was trying to make a calculator
But failed miserably because i have no idea how calculator works
 CComplexTestRandom complex tests
 CPianoKeyClass for piano test
 CComponentTestTesting the overall behavior of a component
 CEventTestTesting events
 CFillMethodsThis 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
 CLayoutTestTesting Layouts
 CPropTestTesting separate props
 CRandomTestRandom tests
 CSerializationTestTesting Serialization