Functions | |
| void | dfrm_setx (void *dfrm, int ind, int x) |
| Sets the x-coordinate of an object. | |
| void | dfrm_sety (void *dfrm, int ind, int y) |
| Sets the y-coordinate of an object. | |
| void | dfrm_setw (void *dfrm, int ind, int w) |
| Sets the width of an object. | |
| void | dfrm_seth (void *dfrm, int ind, int h) |
| Sets the height of an object. | |
| void | dfrm_setstate (void *dfrm, int ind, int state, int val) |
| Sets the ob_state of an object. | |
| void | dfrm_setflags (void *dfrm, int ind, int flags, int val) |
| Sets the ob_flags of an object. | |
Functions which place _exactly_ objects.
| void dfrm_setflags | ( | void * | dfrm, | |
| int | ind, | |||
| int | flags, | |||
| int | val | |||
| ) |
Sets the ob_flags of an object.
| dfrm | form pointer, | |
| ind | object index, | |
| flags | ob_flags to change, | |
| val | new value for ob_flags :
|
References dfrm_thumb::root.
Referenced by mt_dfrm_new_slider(), and mt_dfrm_thumb_add().
| void dfrm_seth | ( | void * | dfrm, | |
| int | ind, | |||
| int | h | |||
| ) |
Sets the height of an object.
| dfrm | form pointer, | |
| ind | object index, | |
| h | new height (negative value is converted in semi-width of character text). |
References dfrm_adjust_size().
Referenced by mt_dfrm_new_texture(), and mt_dfrm_thumb_add().
| void dfrm_setstate | ( | void * | dfrm, | |
| int | ind, | |||
| int | state, | |||
| int | val | |||
| ) |
Sets the ob_state of an object.
| dfrm | form pointer, | |
| ind | object index, | |
| state | ob_state to change, | |
| val | new value for ob_state :
|
References dfrm_thumb::root.
Referenced by mt_dfrm_new_dmenu(), mt_dfrm_new_slider(), and mt_dfrm_new_texture().
| void dfrm_setw | ( | void * | dfrm, | |
| int | ind, | |||
| int | w | |||
| ) |
Sets the width of an object.
| dfrm | form pointer, | |
| ind | object index, | |
| w | new width (negative value is converted in semi-width of character text). |
References dfrm_adjust_size().
Referenced by mt_dfrm_new_texture().
| void dfrm_setx | ( | void * | dfrm, | |
| int | ind, | |||
| int | x | |||
| ) |
Sets the x-coordinate of an object.
| dfrm | form pointer, | |
| ind | object index, | |
| x | new x-coordinate (negative value is converted in semi-width of character text). |
References dfrm_adjust_size().
| void dfrm_sety | ( | void * | dfrm, | |
| int | ind, | |||
| int | y | |||
| ) |
Sets the y-coordinate of an object.
| dfrm | form pointer, | |
| ind | object index, | |
| y | new y-coordinate (negative value is converted in semi-width of character text). |
References dfrm_adjust_size().
1.5.8