![]() |
![]() |
![]() |
Mex Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
enum MexPaintTextureFrameFlags; #define MEX_PAINT_TEXTURE_FRAME_ALL #define MEX_PAINT_TEXTURE_FRAME_NOC gint (*MexActorSortFunc) (ClutterActor *a
,ClutterActor *b
,gpointer userdata
); void mex_style_load_default (void
); void mex_paint_texture_frame (gfloat x
,gfloat y
,gfloat width
,gfloat height
,gfloat tex_width
,gfloat tex_height
,gfloat top
,gfloat right
,gfloat bottom
,gfloat left
,MexPaintTextureFrameFlags flags
); void mex_push_focus (MxFocusable *actor
); void mex_action_set_content (MxAction *action
,MexContent *content
); MexContent * mex_action_get_content (MxAction *action
); void mex_action_set_context (MxAction *action
,MexModel *model
); MexModel * mex_action_get_context (MxAction *action
); gint mex_model_sort_alpha_cb (MexContent *a
,MexContent *b
,gpointer bool_reverse
); gint mex_model_sort_time_cb (MexContent *a
,MexContent *b
,gpointer bool_reverse
); gint mex_model_sort_smart_cb (MexContent *a
,MexContent *b
,gpointer bool_reverse
); void mex_print_date (GDateTime *date
,const gchar *prefix
); gchar * mex_date_to_string (GDateTime *date
); extern const gchar *mex_shader_box_blur; GQuark mex_tile_shadow_quark (void
); void mex_replace_border_image (CoglHandle *texture_p
,MxBorderImage *image
,MxBorderImage **image_p
,CoglHandle *material_p
); const char * mex_get_data_dir (void
); gboolean mex_actor_has_focus (MxFocusManager *manager
,ClutterActor *actor
); MexContent * mex_content_from_uri (const gchar *uri
); GKeyFile * mex_get_settings_key_file (void
);
typedef enum { MEX_TEXTURE_FRAME_EMPTY = 0, MEX_TEXTURE_FRAME_TOP_LEFT = 1 << 0, MEX_TEXTURE_FRAME_TOP = 1 << 1, MEX_TEXTURE_FRAME_TOP_RIGHT = 1 << 2, MEX_TEXTURE_FRAME_LEFT = 1 << 3, MEX_TEXTURE_FRAME_MIDDLE = 1 << 4, MEX_TEXTURE_FRAME_RIGHT = 1 << 5, MEX_TEXTURE_FRAME_BOTTOM_LEFT = 1 << 6, MEX_TEXTURE_FRAME_BOTTOM = 1 << 7, MEX_TEXTURE_FRAME_BOTTOM_RIGHT = 1 << 8 } MexPaintTextureFrameFlags;
void mex_paint_texture_frame (gfloat x
,gfloat y
,gfloat width
,gfloat height
,gfloat tex_width
,gfloat tex_height
,gfloat top
,gfloat right
,gfloat bottom
,gfloat left
,MexPaintTextureFrameFlags flags
);
MexContent * mex_action_get_content (MxAction *action
);
|
A MxAction |
Returns : |
The MexContent linked to that action. [transfer none] |
MexModel * mex_action_get_context (MxAction *action
);
|
A MxAction |
Returns : |
The MexModel linked to that action. [transfer none] |
gint mex_model_sort_alpha_cb (MexContent *a
,MexContent *b
,gpointer bool_reverse
);
gint mex_model_sort_time_cb (MexContent *a
,MexContent *b
,gpointer bool_reverse
);
gint mex_model_sort_smart_cb (MexContent *a
,MexContent *b
,gpointer bool_reverse
);
void mex_replace_border_image (CoglHandle *texture_p
,MxBorderImage *image
,MxBorderImage **image_p
,CoglHandle *material_p
);
const char * mex_get_data_dir (void
);
Gets the data directory for media explorer. Use this rather than anything else as this ensures greater compatibility.
Returns : |
Path to mex data directory |
gboolean mex_actor_has_focus (MxFocusManager *manager
,ClutterActor *actor
);
Evaluates whether the actor has focus or not.
|
The current MxFocusManager |
|
The actor that you wish query if it is focused |
Returns : |
True if the actor is focused |
MexContent * mex_content_from_uri (const gchar *uri
);
Creates a new MexContent from any given uri and tries to guess at some metadata.
|
A valid uri for some media |
Returns : |
A new MexContent. [transfer full] |