11 void prop_pickerInit();
12 void prop_pickerView( puObject * );
13 void prop_pickerRefresh();
14 void prop_editInit(char * name, char * value );
15 void prop_editOpen( char * name, char * value );
20 class fgPropPicker : public puDialogBox
23 static void handle_select ( puObject *b ) ;
24 static void input_entered ( puObject *b ) ;
25 static void fgPropPickerHandleSlider ( puObject * slider );
26 static void fgPropPickerHandleArrow ( puObject *arrow );
27 static void fgPropPickerHandleOk ( puObject* b );
29 void delete_arrays () ;
37 char startDir [ PUSTRING_MAX * 2 ] ;
39 /* puInput *input ; */
46 puOneShot *cancel_button ;
47 puOneShot *ok_button ;
48 puArrowButton *down_arrow ;
49 puArrowButton *up_arrow ;
54 fgPropPicker ( int x, int y, int w, int h, int arrows,
55 const char *dir, const char *title = "Pick a file" ) ;
59 static void go_up_one_directory ( char *fname ) ;
60 static void chop_file ( char *fname ) ;
64 class fgPropEdit : public puDialogBox
67 static void fgPropEditHandleCancel ( puObject *b ) ;
68 static void fgPropEditHandleOK ( puObject* b );
73 puOneShot *cancel_button ;
74 puOneShot *ok_button ;
79 char propPath [ PUSTRING_MAX * 2 ] ;
81 fgPropEdit ( char *name, char *value, char *proppath ) ;
85 static void go_up_one_directory ( char *fname ) ;
86 static void chop_file ( char *fname ) ;