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 ;
46 puArrowButton *down_arrow ;
47 puArrowButton *up_arrow ;
52 fgPropPicker ( int x, int y, int w, int h, int arrows,
53 const char *dir, const char *title = "Pick a file" ) ;
57 static void go_up_one_directory ( char *fname ) ;
58 static void chop_file ( char *fname ) ;
62 class fgPropEdit : public puDialogBox
65 static void fgPropEditHandleCancel ( puObject *b ) ;
66 static void fgPropEditHandleOK ( puObject* b );
71 puOneShot *cancel_button ;
72 puOneShot *ok_button ;
77 char propPath [ PUSTRING_MAX * 2 ] ;
79 fgPropEdit ( char *name, char *value, char *proppath ) ;
83 static void go_up_one_directory ( char *fname ) ;
84 static void chop_file ( char *fname ) ;