Exemple #1
0
void panel_do_cols (int index)
{
    if (get_display_type (index) == view_listing)
	set_panel_formats ((WPanel *) panels [index].widget);
    else {
	panel_update_cols (panels [index].widget, frame_half);
    }
}
Exemple #2
0
Fichier : layout.c Projet : m32/mc
static void
panel_do_cols (int idx)
{
    if (get_display_type (idx) == view_listing)
        set_panel_formats (PANEL (panels[idx].widget));
    else
        panel_update_cols (panels[idx].widget, frame_half);
}
Exemple #3
0
static void
panel_do_cols (int index)
{
/* Only one panel at the moment */
  index=0;

    if (get_display_type (index) == view_listing)
	set_panel_formats ((WPanel *) panels [index].widget);
    else {
	panel_update_cols (panels [index].widget, frame_half);

	/* In case of an Hex Quick View must review line length */
	if (get_display_type (index) == view_quick)
	    view_update_bytes_per_line ((WView *) panels [index].widget);
    }
}