PanelMode

Far Manager

PanelMode

The PanelMode structure describes one panel view mode. An array of these structures should be passed to the GetOpenPluginInfo function.
struct PanelMode
{
  char *ColumnTypes;
  char *ColumnWidths;
  char **ColumnTitles;
  int FullScreen;
  int DetailedStatus;
  int AlignExtensions;
  int CaseConversion;
  char *StatusColumnTypes;
  char *StatusColumnWidths;
  DWORD Reserved[2];
};

Elements

ColumnTypes
Text string which describes column types. Column types are encoded by one or more letters separated by commas: "N,SC,D,T". To use standard Far panel view modes, set this field to NULL.
ColumnWidths

Text string which gives the columns width.

ColumnTitles
Pointer to an array of strings which specifies the column labels. To use standard column names, set this value to NULL.
FullScreen
If TRUE - resize panel to fill the entire window (instead of half).
DetailedStatus
If TRUE, the status line will display name, size, date and time of the file, if StatusColumnTypes=NULL and StatusColumnWidths=NULL. Otherwise, the status line will only display the file name.
AlignExtensions
TRUE - align file extensions.
CaseConversion
FALSE - to preserve file names.
StatusColumnTypes
As ColumnTypes, but applies to the status line. To use the standard status line, set StatusColumnTypes to NULL.
StatusColumnWidths
As ColumnWidths, but applies to the status line.
Reserved
Reserved for future use. Set to 0.
See also: