User Tools

Site Tools


component

Component

Overview

Components represent containers that can process input and do something interactive or dynamic by itself. They do not contain any graphics and can not render it by itself.

Most important properties are Canvas Object Lists (called COList) and Single Canvas Objects (called COSpecial). These are outputs from components where graphics can be connected. Simple static component (KISComponent) has only one COList - COList_Static. This is list of canvas objects that are always rendered. Good example of COLists is button. Button has four COLists: Idle, Hover, Clicked, Static.

Idle - canvas objects rendered when you do nothing with button.
Hover - canvas objects rendered when you are hovering on button by mouse cursor.
Clicked - canvas objects rendered when button is clicked/pressed.
Static - always rendered canvas objects.

This means that you can use different graphics for different states/situations of components. Some components does not allow use of multiple canvas objects because they can work only with one. That is why they do not use COLists but COSpecials. Good example is KISComponent_TextInput which is simple one line text field. Can you imagine that one text field will work with ten texts and fonts ? Of course, you can not. That is why we can use only one canvas object there.

KISComponent

Basic Appearance

Position

Cursor

Attach To Cursor

Attach To Cursor Offset

Debug

Draw Position

Draw Output Position

Draw Attach To Cursor Offset

Draw Priority

Draw Tag

Draw Mouse Hover

Debug Color

Kismet

Trigger Kismet Event Mouse Hover

Trigger Kismet Event Mouse Input

Lists of Canvas Objects

CO List - Static

Rendering

Enabled

Priority

KISComponent_Button

Button

Draw Idle Under Hover

Draw Idle Under Clicked

Draw Hover Under Clicked

Button Input

Activate By Mouse Input

Mouse Button

Key Bind

Use Press Instead Release

Debug

Draw Mouse Hover

Lists of Canvas Objects

CO List - Idle

CO List - Hover

CO List - Clicked

KISComponent_Button_Checkbox

Checkbox

Draw Checked Idle Under Hover

Draw Checked Idle Under Clicked

Draw Checked Hover Under Clicked

Lists of Canvas Objects

CO List - Checked Idle

CO List - Checked Hover

CO List - Checked Clicked

KISComponent_Button_Radio

Lists of Canvas Objects

CO List - Active Idle

KISComponent_Button_TextInput

Debug

Draw Scroll Window

Lists Of Canvas Objects

CO Special - Idle Text

CO Special - Hover Text

CO Special - Clicked Text

CO Special - Caret

Text Input

Text

Scroll

Scroll Window Size

component.txt · Last modified: 2014/04/06 12:48 by admin