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 );
35 char startDir [ PUSTRING_MAX * 2 ] ;
37 /* puInput *input ; */
44 puOneShot *cancel_button ;
45 puOneShot *ok_button ;
51 fgPropPicker ( int x, int y, int w, int h, int arrows,
52 const char *dir, const char *title = "Pick a file" ) ;
56 static void go_up_one_directory ( char *fname ) ;
57 static void chop_file ( char *fname ) ;
61 class fgPropEdit : public puDialogBox
64 static void fgPropEditHandleCancel ( puObject *b ) ;
65 static void fgPropEditHandleOK ( puObject* b );
70 puOneShot *cancel_button ;
71 puOneShot *ok_button ;
76 char propPath [ PUSTRING_MAX * 2 ] ;
78 fgPropEdit ( char *name, char *value, char *proppath ) ;
82 static void go_up_one_directory ( char *fname ) ;
83 static void chop_file ( char *fname ) ;