GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
mpeg4_layout.c File Reference
#include "nodes_stacks.h"
#include "mpeg4_grouping.h"
#include "visual_manager.h"
+ Include dependency graph for mpeg4_layout.c:

Data Structures

struct  LayoutStack
 
struct  LineInfo
 

Enumerations

enum  {
  L_FIRST, L_BEGIN, L_MIDDLE, L_END,
  L_JUSTIFY
}
 

Functions

static void layout_reset_lines (LayoutStack *st)
 
static LineInfonew_line_info (LayoutStack *st)
 
static LineInfoget_line_info (LayoutStack *st, u32 i)
 
static u32 get_justify (M_Layout *l, u32 i)
 
static void get_lines_info (LayoutStack *st, M_Layout *l)
 
static void layout_justify (LayoutStack *st, M_Layout *l)
 
static void layout_setup_scroll_bounds (LayoutStack *st, M_Layout *l)
 
static void layout_scroll (GF_TraverseState *tr_state, LayoutStack *st, M_Layout *l)
 
static void TraverseLayout (GF_Node *node, void *rs, Bool is_destroy)
 
static Bool OnLayout (GF_SensorHandler *sh, Bool is_over, Bool is_cancel, GF_Event *ev, GF_Compositor *compositor)
 
static Bool layout_is_enabled (GF_Node *node)
 
void compositor_init_layout (GF_Compositor *compositor, GF_Node *node)
 
void compositor_layout_modified (GF_Compositor *compositor, GF_Node *node)
 
GF_SensorHandlercompositor_mpeg4_layout_get_sensor_handler (GF_Node *node)
 

Data Structure Documentation

struct LayoutStack
+ Collaboration diagram for LayoutStack:
Data Fields
u32 flags
GF_Rect bounds
GF_List * sensors
GF_List * groups
Bool is_scrolling
u32 start_scroll_type
Double start_time
Double pause_time
GF_List * lines
GF_Rect clip
Fixed last_scroll
Fixed prev_rate
Fixed scroll_rate
Fixed scale_scroll
Fixed scroll_len
Fixed scroll_min
Fixed scroll_max
GF_SensorHandler hdl
s32 key_scroll
struct LineInfo
+ Collaboration diagram for LineInfo:
Data Fields
Fixed width
Fixed height
Fixed ascent
Fixed descent
u32 first_child
u32 nb_children
Bool line_break

Enumeration Type Documentation

anonymous enum
Enumerator
L_FIRST 
L_BEGIN 
L_MIDDLE 
L_END 
L_JUSTIFY 

Function Documentation

static void layout_reset_lines ( LayoutStack st)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static LineInfo* new_line_info ( LayoutStack st)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static LineInfo* get_line_info ( LayoutStack st,
u32  i 
)
static

+ Here is the call graph for this function:

static u32 get_justify ( M_Layout l,
u32  i 
)
static

+ Here is the caller graph for this function:

static void get_lines_info ( LayoutStack st,
M_Layout l 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void layout_justify ( LayoutStack st,
M_Layout l 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void layout_setup_scroll_bounds ( LayoutStack st,
M_Layout l 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void layout_scroll ( GF_TraverseState *  tr_state,
LayoutStack st,
M_Layout l 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void TraverseLayout ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool OnLayout ( GF_SensorHandler sh,
Bool  is_over,
Bool  is_cancel,
GF_Event ev,
GF_Compositor *  compositor 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool layout_is_enabled ( GF_Node node)
static

+ Here is the caller graph for this function:

void compositor_init_layout ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_layout_modified ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_SensorHandler* compositor_mpeg4_layout_get_sensor_handler ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: