32 |
|
|
33 |
int label_length; /* Label lenght in characters. */ |
int label_length; /* Label lenght in characters. */ |
34 |
int label_width; /* Label width in pixels. */ |
int label_width; /* Label width in pixels. */ |
35 |
|
|
36 |
/* |
/* |
37 |
* Check for NULL pointers! |
* Check for NULL pointers! |
38 |
*/ |
*/ |
59 |
*/ |
*/ |
60 |
label_length = strlen(label); |
label_length = strlen(label); |
61 |
label_width = XTextWidth(menu->s_fnt_info, label, label_length); |
label_width = XTextWidth(menu->s_fnt_info, label, label_length); |
62 |
|
|
63 |
/* |
/* |
64 |
* Fill the XMSelect structure. |
* Fill the XMSelect structure. |
65 |
*/ |
*/ |
81 |
select->data = data; |
select->data = data; |
82 |
select->parent_p = pane; |
select->parent_p = pane; |
83 |
select->help_string = help; |
select->help_string = help; |
84 |
|
|
85 |
/* |
/* |
86 |
* Insert the selection at the end of the selection list. |
* Insert the selection at the end of the selection list. |
87 |
*/ |
*/ |