Main Page   Modules   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

Object geometry

Functions in this group allow to handle the geometry of a generic GUI object. More...

Functions

int MObjectGetWidth (MOBJECT obj)
int MObjectGetHeight (MOBJECT obj)
int MObjectGetCompositeWidth (MOBJECT obj)
int MObjectGetCompositeHeight (MOBJECT obj)
int MObjectGetX (MOBJECT obj)
int MObjectGetY (MOBJECT obj)
void MObjectSetSize (MOBJECT obj, int w, int h)
void MObjectSetMinSize (MOBJECT obj, int w, int h)
 Sets the object's minimum size.

void MObjectSetWidth (MOBJECT obj, int w)
void MObjectSetHeight (MOBJECT obj, int h)
void MObjectSetCompositeSize (MOBJECT obj, int w, int h)
void MObjectSetCompositeWidth (MOBJECT obj, int w)
void MObjectSetCompositeHeight (MOBJECT obj, int h)
void MObjectSetPosition (MOBJECT obj, int x, int y)
void MObjectSetX (MOBJECT obj, int x)
void MObjectSetY (MOBJECT obj, int y)
void MObjectSetAttachment (MOBJECT obj, int top, int bot, int left, int rig)
void MObjectSetOffset (MOBJECT obj, int t_o, int b_o, int l_o, int r_o)
void MObjectAlign (MOBJECT obj, int h_align, int v_align)

Detailed Description

Functions in this group allow to handle the geometry of a generic GUI object.


Function Documentation

void MObjectAlign MOBJECT    obj,
int    h_align,
int    v_align
 

int MObjectGetCompositeHeight MOBJECT    obj
 

int MObjectGetCompositeWidth MOBJECT    obj
 

int MObjectGetHeight MOBJECT    obj
 

int MObjectGetWidth MOBJECT    obj
 

int MObjectGetX MOBJECT    obj
 

int MObjectGetY MOBJECT    obj
 

void MObjectSetAttachment MOBJECT    obj,
int    top,
int    bot,
int    left,
int    rig
 

void MObjectSetCompositeHeight MOBJECT    obj,
int    h
 

void MObjectSetCompositeSize MOBJECT    obj,
int    w,
int    h
 

void MObjectSetCompositeWidth MOBJECT    obj,
int    w
 

void MObjectSetHeight MOBJECT    obj,
int    h
 

void MObjectSetMinSize MOBJECT    obj,
int    w,
int    h
 

Sets the object's minimum size.

All resizeable objects have a default minimum size. This function allows you to change that default.

void MObjectSetOffset MOBJECT    obj,
int    t_o,
int    b_o,
int    l_o,
int    r_o
 

void MObjectSetPosition MOBJECT    obj,
int    x,
int    y
 

void MObjectSetSize MOBJECT    obj,
int    w,
int    h
 

void MObjectSetWidth MOBJECT    obj,
int    w
 

void MObjectSetX MOBJECT    obj,
int    x
 

void MObjectSetY MOBJECT    obj,
int    y
 


Generated on Sun Jun 29 13:03:09 2003 for MGui API by doxygen1.3-rc2