c9c591769e
- Layout file is now installed and used properly. That means that you can actually run the code. - Buttons actually work in the GtkTed and the regular use thanks to GrossHack(tm). - File operations are working! Weee! Copy and Move work as well as the warning dialog boxes for all kind of stuff; - Progressive display is pretty cool, you have to see it. - Dragging files to desktop icons now allows you to copy/move (supported both the remove and local cases, with the obvious optimizations). Still missing: - Using Elliot's shaped windows for dnd. - Allowing the arbitrary placement of desktop icons by dnd. - dropping files into .desktop files. - drop support on the panels (right now they only work right as drag sources). Weeeeeee! Total excitement. Total and absolute. Miguel.
35 строки
815 B
C
35 строки
815 B
C
#ifndef __GSCREEN_H
|
|
#define __GSCREEN_H
|
|
|
|
void x_panel_set_size (int index);
|
|
void x_create_panel (Dlg_head *h, widget_data parent, WPanel *panel);
|
|
void x_adjust_top_file (WPanel *panel);
|
|
void x_filter_changed (WPanel *panel);
|
|
void x_add_sort_label (WPanel *panel, int index, char *text, char *tag, void *sr);
|
|
void x_sort_label_start (WPanel *panel);
|
|
void x_reset_sort_labels (WPanel *panel);
|
|
|
|
typedef struct {
|
|
GtkWidget *table;
|
|
GtkWidget *list;
|
|
GtkWidget *current_dir;
|
|
GtkWidget *filter;
|
|
GtkWidget *status;
|
|
} g_panel_contents;
|
|
|
|
WPanel *create_container (Dlg_head *h, char *str);
|
|
|
|
typedef struct {
|
|
int splitted;
|
|
|
|
WPanel *panel;
|
|
|
|
enum view_modes other_display;
|
|
Widget *other;
|
|
} PanelContainer;
|
|
|
|
extern PanelContainer *current_panel_ptr, *other_panel_ptr;
|
|
extern GList *containers;
|
|
|
|
#endif /* __GSCREEN_H */
|