SEDUCE_H

seduce_Text_rendering_and_editing_.html

SEDUCE_T_SIZE

SEDUCE_T_SIZE 0.007

Description: default text size

SEDUCE_T_SPACE

SEDUCE_T_SPACE 0.2

Description: default letter spacing

SEDUCE_T_LINE_SPACEING

SEDUCE_T_LINE_SPACEING 2.5

Description: default line spacing

seduce_Text_line_rendering_and_editing_.html

Enum:

STypeInState

S_TIS_IDLE

Description: The type in function is idle.

S_TIS_ACTIVE

Description: The type in function is activly beeing used.

S_TIS_DONE

Description: The use th ethe type in function has just ben completed (mosst often by the user pressing Enter).

seduce_Text_block_rendering_and_editing.html

Enum:

STextBlockAlignmentStyle

SEDUCE_TBAS_LEFT

Description: Left aligned text.

SEDUCE_TBAS_RIGHT

Description: Right aligned text.

SEDUCE_TBAS_CENTER

Description: Center aligned text.

SEDUCE_TBAS_STRETCH

Description: Text stretched out to align with both left and right.

SEDUCE_TBAS_COUNT

Struct:

STextBlockMode

uint character_position

Description: the first character in the text for this STextBlockMode to be applied to

void *font

Description: Font

float red

Description: Red color component of text

float green

Description: Green color component of text

float blue

Description: Red color component of text

float alpha

Description: Alpha component of text

float letter_size

Description: Sice of charcters

float letter_spacing

Description: Added spacing between chacters. Use SEDUCE_T_SPACE as default value.

STextBlockMode

Description: Describes the styling of a section of text.

extern uint seduce_text_block_draw(float pos_x

float pos_y

float line_size

float height

float line_spacing

STextBlockAlignmentStyle style

const char *text

uint text_pos

STextBlockMode *modes

uint mode_count)

* Draws a block of mono spaced text. text_pos denotes the starting point in the text string where it should be drawn. This makes it possible to connect multiple blocks togerter and scroll text without needing to update the STextBlockMode array.

extern float seduce_text_block_height(float line_size

float line_spacing

STextBlockAlignmentStyle style

const char *text

uint pos

STextBlockMode *modes

uint mode_count

uint end)

* computes the height needed to fit characters until "end" drawn by seduce_text_block_draw.

extern uint seduce_text_box_draw_monospace(SeduceRenderFont *font

float pos_x

float pos_y

float character_size

float space_size

float line_size

const char *text

uint line_count

uint line_length

uint *scroll

STextBlockMode *modes

uint mode_count)

* Draws a block of mono spaced text.

typedef struct{ float pos_x

Description: The x position of the text block.

float pos_y

Description: The y position of the text block.

float line_size

Description: The horizontal size of the text block.

float height

Description: The verticalo size of the text block.

float line_spacing

Description: The distance between text lines.

STextBlockAlignmentStyle style

Description: the

STextBox

extern STypeInState seduce_text_box_edit(BInputState *input

void *id

char *text

uint buffer_size

STextBox *boxes

uint box_count

STextBlockMode *modes

uint mode_count)

* Alows you to make one or more boxes of text editable.

extern STypeInState seduce_text_monospace_edit(BInputState *input

void *id

char *text

uint buffer_size

void *font

float pos_x

float pos_y

float character_size

float space_size

float line_size

uint line_count

uint line_length

uint *scroll

STextBlockMode *modes

uint mode_count)

seduce_Describes_the_styling_of_a_secti.html

Struct:

STextBox

float pos_x

Description: The x position of the text block.

float pos_y

Description: The y position of the text block.

float line_size

Description: The horizontal size of the text block.

float height

Description: The verticalo size of the text block.

float line_spacing

Description: The distance between text lines.

STextBlockAlignmentStyle style

Description: the

STextBox

extern STypeInState seduce_text_box_edit(BInputState *input

void *id

char *text

uint buffer_size

STextBox *boxes

uint box_count

STextBlockMode *modes

uint mode_count)

* Alows you to make one or more boxes of text editable.

extern STypeInState seduce_text_monospace_edit(BInputState *input

void *id

char *text

uint buffer_size

void *font

float pos_x

float pos_y

float character_size

float space_size

float line_size

uint line_count

uint line_length

uint *scroll

STextBlockMode *modes

uint mode_count)

seduce_Popup_Menus_.html

SEDUCE_POP_UP_NO_ACTION -1

SEDUCE_POP_UP_DEACTIVATE -2

Enum:

SPopUpType

S_PUT_TOP

S_PUT_BOTTOM

S_PUT_ANGLE

S_PUT_BUTTON

S_PUT_IMAGE

S_PUT_COUNT

Struct:

image

SPopUpType type

char *text

union{ float button_pos[2]

float angle[2]

struct{ float pos[2]

float size[2]

uint texture_id

image

struct{ float angle[2]

float *value

seduce_Panels_.html

Enum:

SeducePanelElementType

SEDUCE_PET_BOOLEAN

SEDUCE_PET_TRIGGER

SEDUCE_PET_INTEGER

SEDUCE_PET_UNSIGNED_INTEGER

SEDUCE_PET_INTEGER_BOUND

SEDUCE_PET_REAL

SEDUCE_PET_REAL_BOUND

SEDUCE_PET_RADIUS

SEDUCE_PET_2D_POS

SEDUCE_PET_3D_POS

SEDUCE_PET_4D_POS

SEDUCE_PET_QUATERNION

SEDUCE_PET_2D_NORMAL

SEDUCE_PET_3D_NORMAL

SEDUCE_PET_2X2MATRIX

SEDUCE_PET_3X3MATRIX

SEDUCE_PET_4X4MATRIX

SEDUCE_PET_TEXT

SEDUCE_PET_PASSWORD

SEDUCE_PET_TEXT_BUFFER

SEDUCE_PET_COLOR_RGB

SEDUCE_PET_COLOR_RGBA

SEDUCE_PET_TIME

SEDUCE_PET_DATE

SEDUCE_PET_SELECT

SEDUCE_PET_POPUP

SEDUCE_PET_IMAGE

SEDUCE_PET_SECTION_START

SEDUCE_PET_SECTION_END

SEDUCE_PET_CUSTOM

SEDUCE_PET_OK_CANCEL

SEDUCE_PET_COUNT

Enum:

SeducePanelElementOKCancelState

SEDUCE_PEOCS_UNDECIDED

SEDUCE_PEOCS_OK

SEDUCE_PEOCS_CANCEL

SEDUCE_PEOCS_COUNT

Struct:

real

SeducePanelElementType type

char *text

char *description

union{ boolean active

boolean trigger

int integer

uint uinteger

struct{ double value

double max

double min

real

float color[4]

double vector[4]

double matrix[16]

char text[64]

struct{ char *text_buffer

uint buffer_size

seduce_Seconds_in_a_day_.html

Enum:

SeduceWidgetListStyle

SEDUCE_WLS_PANEL

SEDUCE_WLS_COMPACT

SEDUCE_WLS_COUNT

seduce_Depricated_Surface_.html

Enum:

SPraticleType

S_PT_SPLAT_ONE

S_PT_SPLAT_TWO

S_PT_SPLAT_THREE

S_PT_SPLAT_FOUR

S_PT_LIGHT

S_PT_CLICK

seduce_View_and_projection_code_.html

Enum:

SViewInterpolationStyle

S_VIS_LINEAR

S_VIS_EASE_IN

S_VIS_EASE_OUT

S_VIS_SMOOTH

S_VIS_CUT

S_VIS_COUNT

Struct:

camera

float matrix[16]

float model[16]

float target[3]

float camera[3]

float distance

uint type

float speed

SViewInterpolationStyle interpolation_style

union{ struct{ float target_target[3]

float target_camera[3]

float target_up[3]

float progress

camera

struct{ float delta_rot[2]