|
Revision 4220, 2.2 kB
(checked in by miyoshi, 5 months ago)
|
Sync up with Emacs22.2.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
#ifndef LWLIB_INTERNAL_H |
|---|
| 25 |
#define LWLIB_INTERNAL_H |
|---|
| 26 |
|
|---|
| 27 |
#include "lwlib.h" |
|---|
| 28 |
|
|---|
| 29 |
extern char *safe_strdup __P ((const char *)); |
|---|
| 30 |
|
|---|
| 31 |
typedef struct _widget_instance |
|---|
| 32 |
{ |
|---|
| 33 |
Widget widget; |
|---|
| 34 |
Widget parent; |
|---|
| 35 |
Boolean pop_up_p; |
|---|
| 36 |
struct _widget_info* info; |
|---|
| 37 |
struct _widget_instance* next; |
|---|
| 38 |
} widget_instance; |
|---|
| 39 |
|
|---|
| 40 |
typedef struct _widget_info |
|---|
| 41 |
{ |
|---|
| 42 |
char* type; |
|---|
| 43 |
char* name; |
|---|
| 44 |
LWLIB_ID id; |
|---|
| 45 |
widget_value* val; |
|---|
| 46 |
Boolean busy; |
|---|
| 47 |
lw_callback pre_activate_cb; |
|---|
| 48 |
lw_callback selection_cb; |
|---|
| 49 |
lw_callback post_activate_cb; |
|---|
| 50 |
lw_callback highlight_cb; |
|---|
| 51 |
struct _widget_instance* instances; |
|---|
| 52 |
struct _widget_info* next; |
|---|
| 53 |
} widget_info; |
|---|
| 54 |
|
|---|
| 55 |
typedef Widget |
|---|
| 56 |
(*widget_creation_function) (); |
|---|
| 57 |
|
|---|
| 58 |
typedef struct _widget_creation_entry |
|---|
| 59 |
{ |
|---|
| 60 |
char* type; |
|---|
| 61 |
widget_creation_function function; |
|---|
| 62 |
} widget_creation_entry; |
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 |
|
|---|
| 66 |
void |
|---|
| 67 |
lw_internal_update_other_instances __P ((Widget, XtPointer, XtPointer)); |
|---|
| 68 |
|
|---|
| 69 |
|
|---|
| 70 |
widget_value* |
|---|
| 71 |
lw_get_widget_value_for_widget __P ((widget_instance *, Widget)); |
|---|
| 72 |
|
|---|
| 73 |
widget_info *lw_get_widget_info __P ((LWLIB_ID)); |
|---|
| 74 |
widget_instance * lw_get_widget_instance __P ((Widget)); |
|---|
| 75 |
|
|---|
| 76 |
#endif |
|---|
| 77 |
|
|---|
| 78 |
|
|---|
| 79 |
|
|---|