Top = 281\r
BorderStyle = bsDialog\r
Caption = 'About'\r
- ClientHeight = 214\r
- ClientWidth = 286\r
+ ClientHeight = 222\r
+ ClientWidth = 282\r
Color = clBtnFace\r
Font.Charset = DEFAULT_CHARSET\r
Font.Color = clWindowText\r
TextHeight = 13\r
object Label1: TLabel\r
Tag = 3\r
- Left = 114\r
- Top = 18\r
- Width = 132\r
+ Left = 82\r
+ Top = 13\r
+ Width = 141\r
Height = 20\r
Caption = 'VLC media player'\r
Font.Charset = DEFAULT_CHARSET\r
end\r
object Label2: TLabel\r
Tag = 3\r
- Left = 10\r
+ Left = 14\r
Top = 64\r
- Width = 172\r
+ Width = 161\r
Height = 13\r
Caption = '(c) 1996-2003 the VideoLAN team'\r
end\r
object Label4: TLabel\r
Tag = 3\r
- Left = 15\r
- Top = 123\r
+ Left = 14\r
+ Top = 131\r
Width = 253\r
Height = 39\r
Caption = \r
end\r
object Label3: TLabel\r
Tag = 3\r
- Left = 30\r
- Top = 80\r
- Width = 227\r
+ Left = 14\r
+ Top = 88\r
+ Width = 216\r
Height = 13\r
Caption = 'the VideoLAN team <videolan@videolan.org>'\r
end\r
object Image1: TImage\r
- Left = 32\r
+ Left = 16\r
Top = 8\r
Width = 49\r
Height = 49\r
end\r
object Label5: TLabel\r
Tag = 3\r
- Left = 83\r
- Top = 96\r
+ Left = 14\r
+ Top = 104\r
Width = 121\r
Height = 13\r
Caption = 'http://www.videolan.org/'\r
end\r
object LabelVersion: TLabel\r
Tag = 3\r
- Left = 114\r
- Top = 40\r
+ Left = 82\r
+ Top = 35\r
Width = 59\r
Height = 13\r
Caption = 'Version x.y.z'\r
end\r
object ButtonOK: TButton\r
Tag = 3\r
- Left = 70\r
- Top = 178\r
+ Left = 69\r
+ Top = 188\r
Width = 145\r
- Height = 25\r
+ Height = 24\r
+ Anchors = [akLeft, akBottom]\r
Caption = 'OK'\r
Default = True\r
ModalResult = 1\r
\r
TrackBar->Max = SLIDER_MAX_VALUE;\r
\r
+ /* do we need to show the captions of the toolbuttons? */\r
+ if( config_GetInt( p_intf, "intfwin-show-captions" ) )\r
+ {\r
+ ToolBar->ShowCaptions = true;\r
+ /* Add enough room for the text */\r
+ ToolBar->Height += 9;\r
+ }\r
+\r
/* default height and caption */\r
ClientHeight = 37 + ToolBar->Height;\r
Caption = VOUT_TITLE " (Win32 interface)";\r
this->Height = i_Height;\r
\r
/* set control items */\r
- ToolButtonBack->Enabled = false;\r
- ToolButtonEject->Enabled = !b_control;\r
+ EjectAction->Enabled = !b_control;\r
StopAction->Enabled = true;\r
PauseAction->Enabled = b_control;\r
SlowAction->Enabled = b_control;\r
Tag = 3\r
Left = 356\r
Top = 227\r
- Width = 541\r
+ Width = 462\r
Height = 306\r
BorderIcons = [biSystemMenu, biMinimize]\r
Caption = 'VLC media player'\r
object ToolBar: TToolBar\r
Left = 0\r
Top = 0\r
- Width = 533\r
- Height = 50\r
- ButtonHeight = 46\r
+ Width = 454\r
+ Height = 41\r
+ ButtonHeight = 37\r
ButtonWidth = 39\r
Caption = 'ToolBar'\r
EdgeBorders = [ebTop, ebBottom]\r
Flat = True\r
Images = ImageListToolbar\r
- ShowCaptions = True\r
TabOrder = 0\r
object ToolButtonFile: TToolButton\r
Tag = 3\r
ImageIndex = 3\r
Style = tbsSeparator\r
end\r
- object ToolButtonBack: TToolButton\r
- Tag = 3\r
- Left = 125\r
- Top = 0\r
- Action = BackAction\r
- end\r
object ToolButtonPlay: TToolButton\r
Tag = 3\r
- Left = 164\r
+ Left = 125\r
Top = 0\r
Action = PlayAction\r
end\r
object ToolButtonPause: TToolButton\r
Tag = 3\r
- Left = 203\r
+ Left = 164\r
Top = 0\r
Action = PauseAction\r
end\r
object ToolButtonStop: TToolButton\r
Tag = 3\r
- Left = 242\r
+ Left = 203\r
Top = 0\r
Action = StopAction\r
end\r
- object ToolButtonEject: TToolButton\r
- Tag = 3\r
- Left = 281\r
- Top = 0\r
- Action = EjectAction\r
- end\r
object ToolButtonSep2: TToolButton\r
- Left = 320\r
+ Left = 242\r
Top = 0\r
Width = 8\r
Caption = 'ToolButtonSep2'\r
end\r
object ToolButtonSlow: TToolButton\r
Tag = 3\r
- Left = 328\r
+ Left = 250\r
Top = 0\r
Action = SlowAction\r
end\r
object ToolButtonFast: TToolButton\r
Tag = 3\r
- Left = 367\r
+ Left = 289\r
Top = 0\r
Action = FastAction\r
end\r
object ToolButtonSep3: TToolButton\r
- Left = 406\r
+ Left = 328\r
Top = 0\r
Width = 8\r
Caption = 'ToolButtonSep3'\r
end\r
object ToolButtonPlaylist: TToolButton\r
Tag = 3\r
- Left = 414\r
+ Left = 336\r
Top = 0\r
Action = PlaylistAction\r
Style = tbsCheck\r
end\r
object ToolButtonPrev: TToolButton\r
Tag = 3\r
- Left = 453\r
+ Left = 375\r
Top = 0\r
Action = PreviousAction\r
end\r
object ToolButtonNext: TToolButton\r
Tag = 3\r
- Left = 492\r
+ Left = 414\r
Top = 0\r
Action = NextAction\r
end\r
object StatusBar: TStatusBar\r
Left = 0\r
Top = 241\r
- Width = 533\r
+ Width = 454\r
Height = 19\r
Panels = <>\r
ParentShowHint = False\r
object GroupBoxFile: TGroupBox\r
Tag = 3\r
Left = 0\r
- Top = 90\r
- Width = 533\r
+ Top = 81\r
+ Width = 454\r
Height = 32\r
Align = alTop\r
TabOrder = 2\r
Tag = 3\r
Left = 2\r
Top = 15\r
- Width = 529\r
+ Width = 450\r
Height = 15\r
Align = alClient\r
Alignment = taCenter\r
end\r
object GroupBoxNetwork: TGroupBox\r
Left = 0\r
- Top = 154\r
- Width = 533\r
+ Top = 145\r
+ Width = 454\r
Height = 40\r
Align = alTop\r
TabOrder = 3\r
end\r
object GroupBoxDisc: TGroupBox\r
Left = 0\r
- Top = 122\r
- Width = 533\r
+ Top = 113\r
+ Width = 454\r
Height = 32\r
Align = alTop\r
TabOrder = 4\r
Visible = False\r
object LabelDisc: TLabel\r
Tag = 3\r
- Left = 32\r
+ Left = 24\r
Top = 11\r
Width = 21\r
Height = 13\r
object GroupBoxSlider: TGroupBox\r
Tag = 3\r
Left = 0\r
- Top = 50\r
- Width = 533\r
+ Top = 41\r
+ Width = 454\r
Height = 40\r
Align = alTop\r
Caption = '0:00:00'\r
object TrackBar: TTrackBar\r
Left = 2\r
Top = 15\r
- Width = 529\r
+ Width = 450\r
Height = 21\r
Align = alTop\r
Orientation = trHorizontal\r
Tag = 3\r
Action = StreamOutputAction\r
end\r
+ object N2: TMenuItem\r
+ Caption = '-'\r
+ end\r
+ object MenuEjectDisc: TMenuItem\r
+ Tag = 3\r
+ Action = EjectAction\r
+ end\r
object N8: TMenuItem\r
Caption = '-'\r
- Visible = False\r
end\r
object MenuExit: TMenuItem\r
Tag = 3\r
object EjectAction: TAction\r
Tag = 3\r
Category = 'Control'\r
- Caption = 'Eject'\r
+ Caption = 'Eject disc'\r
Enabled = False\r
Hint = 'Eject disc'\r
ImageIndex = 7\r
TToolButton *ToolButtonDisc;\r
TToolButton *ToolButtonNet;\r
TToolButton *ToolButtonSep1;\r
- TToolButton *ToolButtonBack;\r
TToolButton *ToolButtonStop;\r
- TToolButton *ToolButtonEject;\r
TToolButton *ToolButtonPlay;\r
TToolButton *ToolButtonPause;\r
TToolButton *ToolButtonSep2;\r
TMenuItem *PopupFullscreen;\r
TMenuItem *Videosettings1;\r
TMenuItem *PopupOnTop;\r
+ TMenuItem *N2;\r
+ TMenuItem *MenuEjectDisc;\r
void __fastcall TimerManageTimer( TObject *Sender );\r
void __fastcall TrackBarChange( TObject *Sender );\r
void __fastcall FormClose( TObject *Sender, TCloseAction &Action );\r
Object->Caption = _( Object->Caption.c_str() );\r
}\r
}\r
-#if 0\r
else if( Component->InheritsFrom( __classid( TToolButton ) ) )\r
{\r
TToolButton *Object = (TToolButton *) Component;\r
Object->Caption = _( Object->Caption.c_str() );\r
}\r
}\r
-#endif\r
else if( Component->InheritsFrom( __classid( TListView ) ) )\r
{\r
TListView *ListView = (TListView *) Component;\r
p_item = p_parser->p_config;\r
if( p_item ) do\r
{\r
+ if( p_item->b_advanced && !config_GetInt( p_intf, "advanced" ) )\r
+ {\r
+ continue;\r
+ }\r
+\r
switch( p_item->i_type )\r
{\r
case CONFIG_HINT_CATEGORY:\r
msg_Warn( p_intf, "unknown config type: %i", p_item->i_type );\r
break;\r
}\r
-\r
- p_item++;\r
}\r
- while( p_item->i_type != CONFIG_HINT_END );\r
+ while( p_item->i_type != CONFIG_HINT_END && p_item++ );\r
\r
/* Reorder panels inside the tabsheets */\r
for( i_pages = 0; i_pages < PageControlPref->PageCount; i_pages++ )\r
* win32.cpp : Win32 interface plugin for vlc\r
*****************************************************************************\r
* Copyright (C) 2002-2003 VideoLAN\r
- * $Id: win32.cpp,v 1.16 2003/02/20 01:52:46 sigmunau Exp $\r
+ * $Id: win32.cpp,v 1.17 2003/03/01 21:32:49 ipkiss Exp $\r
*\r
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>\r
*\r
* Module descriptor\r
*****************************************************************************/\r
\r
-#define MAX_LINES_TEXT N_("maximum number of lines in the log window")\r
+#define MAX_LINES_TEXT N_( "maximum number of lines in the log window" )\r
#define MAX_LINES_LONGTEXT N_( \\r
"You can set the maximum number of lines that the log window will display."\\r
" Enter -1 if you want to keep all messages." )\r
+#define SHOW_CAPTIONS_TEXT N_( "display text under images in the toolbar" )\r
+#define SHOW_CAPTIONS_LONGTEXT N_( \\r
+ "Check this option if you want to display the caption of the buttons in " \\r
+ "the toolbar. Beware, the display may be messed up" )\r
\r
vlc_module_begin();\r
add_category_hint( N_("Miscellaneous"), NULL, VLC_TRUE );\r
- add_integer( "intfwin-max-lines", 500, NULL, MAX_LINES_TEXT, MAX_LINES_LONGTEXT, VLC_TRUE );\r
+ add_integer( "intfwin-max-lines", 500, NULL, MAX_LINES_TEXT,\r
+ MAX_LINES_LONGTEXT, VLC_TRUE );\r
+ add_bool( "intfwin-show-captions", 0, NULL, SHOW_CAPTIONS_TEXT,\r
+ SHOW_CAPTIONS_LONGTEXT, VLC_FALSE );\r
set_description( _("Native Windows interface module") );\r
set_capability( "interface", 100 );\r
set_callbacks( E_(Open), E_(Close) );\r