ADD: Toggle console to full screen command (patch by RedSkotina)

This commit is contained in:
Alexander Koblov 2015-04-05 12:20:16 +00:00
commit be4fbcec69
33 changed files with 165 additions and 20 deletions

View file

@ -1413,6 +1413,11 @@
<div class="shrtctkey">Ctrl+7</div></td>
<td class="hintcell">Show history of all commands used in the <a href="help.html#iface_path">command line</a>.</td>
</tr>
<td class="cmdcell"><img class="IntCmdImage" title="cm_ToggleFullscreenConsole" alt="cm_ToggleFullscreenConsole" src="../../pixmaps/dctheme/32x32/actions/cm_togglefullscreenconsole.png"/>
<div class="cmdname"><a name="cm_ToggleFullscreenConsole">cm_ToggleFullscreenConsole</a></div>
<div class="shrtctkey">Ctrl+O</div></td>
<td class="hintcell">Toggle fullscreen mode console window.</td>
</tr>
<tr>
<td class="cmdcell"><img class="IntCmdImage" title="cm_CmdLineNext" alt="cm_CmdLineNext" src="../../pixmaps/dctheme/32x32/actions/cm_cmdlinenext.png"/>
<div class="cmdname"><a name="cm_CmdLineNext">cm_CmdLineNext</a></div></td>

View file

@ -398,6 +398,11 @@
<td>открывает в неактивной панели <a href="help.html#cm_TargetEqualSource">тот же каталог</a>, который открыт в активной</td>
<td><tt>Alt+Z</tt></td>
</tr>
<tr>
<td><tt>cm_ToggleFullscreenConsole</tt></td>
<td>переключить консольное окно в режим полного экрана</td>
<td><tt>Ctrl+O</tt></td>
</tr>
<tr>
<td><tt>cm_ToggleLockDcaTab</tt></td>
<td>заблокировать текущую вкладку, <a href="help.html#cm_ToggleLockDcaTab">с возможностью смены</a> каталога</td>

View file

@ -398,6 +398,11 @@
<td>відкриває в неактивній панелі <a href="help.html#cm_TargetEqualSource">той самий каталог</a>, який відкритий в активній</td>
<td><tt>Alt+Z</tt></td>
</tr>
<tr>
<td><tt>cm_ToggleFullscreenConsole</tt></td>
<td>переключити консольне вікно в режим повного екрану</td>
<td><tt>Ctrl+O</tt></td>
</tr>
<tr>
<td><tt>cm_ToggleLockDcaTab</tt></td>
<td>заблокувати поточну вкладку, <a href="help.html#cm_ToggleLockDcaTab">з можливістю зміни</a> каталогу</td>

View file

@ -2971,6 +2971,10 @@ msgstr ""
msgid "Thumbnails View"
msgstr ""
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Прехвърляне на папката под показалеца в левия прозорец"
@ -6557,7 +6561,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2960,6 +2960,10 @@ msgstr "Miniatures"
msgid "Thumbnails View"
msgstr "Visualització en miniatures"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Carpeta sota el cursor a l'esquerra"
@ -6556,7 +6560,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2850,6 +2850,10 @@ msgstr "Náhledy"
msgid "Thumbnails View"
msgstr "Pohled s náhledy"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Přenést adresář pod kursorem do levého okna"
@ -6306,7 +6310,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2882,6 +2882,10 @@ msgstr ""
msgid "Thumbnails View"
msgstr ""
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Overfør "
@ -6109,7 +6113,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -3017,6 +3017,10 @@ msgstr "Vorschaubilder"
msgid "Thumbnails View"
msgstr "Ansicht \"Vorschaubilder\""
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Bewege markierten &Ordner in das linke Fenster"

View file

@ -2978,6 +2978,10 @@ msgstr "Miniaturas"
msgid "Thumbnails View"
msgstr "Vista Miniaturas"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Transferir directorio bajo cursor a la izquierda"

View file

@ -2940,6 +2940,10 @@ msgstr ""
msgid "Thumbnails View"
msgstr ""
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
#, fuzzy
msgid "Transfer dir under cursor to left window"
@ -6543,7 +6547,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -10,7 +10,7 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: hu\n"
"X-Generator: Poedit 1.5.4\n"
"X-Generator: Poedit 1.5.4\n"
"X-Native-Language: Magyar\n"
#: fsyncdirsdlg.rscomparingpercent
@ -2824,6 +2824,10 @@ msgstr "Miniatűrök"
msgid "Thumbnails View"
msgstr "Bélyegkép-nézet"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Kurzor alatti mappa küldése a bal ablakba"
@ -6214,7 +6218,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2710,6 +2710,10 @@ msgstr "Anteprime"
msgid "Thumbnails View"
msgstr "Visualizza anteprime"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Trasferisci cartella evidenziata dal cursore nella finestra di sinistra"
@ -5923,7 +5927,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2967,6 +2967,10 @@ msgstr ""
msgid "Thumbnails View"
msgstr ""
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "커서가 위치한 폴더를 왼쪽 창으로 전송"
@ -6722,7 +6726,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2918,6 +2918,10 @@ msgstr ""
msgid "Thumbnails View"
msgstr ""
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Verplaats dir onder de cursor naar linker paneel"
@ -6447,7 +6451,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2710,6 +2710,10 @@ msgstr "Miniatury"
msgid "Thumbnails View"
msgstr "Widok miniatur"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Otwórz ten katalog w lewym oknie"
@ -5923,7 +5927,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2702,6 +2702,10 @@ msgstr ""
msgid "Thumbnails View"
msgstr ""
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr ""

View file

@ -2712,6 +2712,10 @@ msgstr "Miniaturas"
msgid "Thumbnails View"
msgstr "Vista Miniaturas"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Transferir a pasta sob o cursor para a janela esquerda"
@ -5925,7 +5929,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2713,6 +2713,10 @@ msgstr "Miniaturi"
msgid "Thumbnails View"
msgstr "Vizualizare în miniatură"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Transferă dosarul de sub cursor spre fereastra din stânga"
@ -5926,7 +5930,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2747,6 +2747,10 @@ msgstr "Эскизы"
msgid "Thumbnails View"
msgstr "Просмотр эскизов"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr "Переключить окно консоли в режим полного экрана"
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Открыть каталог под курсором на левой панели"

View file

@ -2992,6 +2992,10 @@ msgstr "Náhľady"
msgid "Thumbnails View"
msgstr "Pohľad s náhľadmi"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Preniesť adresár pod kurzorom do ľavého okna"

View file

@ -2712,6 +2712,10 @@ msgstr "Pogled sličic"
msgid "Thumbnails View"
msgstr "Pogled sličic"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Odpri označeno mapo desnega okna v levem oknu."
@ -5925,7 +5929,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2711,6 +2711,10 @@ msgstr "Умањене сличице"
msgid "Thumbnails View"
msgstr "Преглед умањених сличица"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Премести фасциклу под показивачем на леви прозор"
@ -5926,7 +5930,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2710,6 +2710,10 @@ msgstr "Umanjene sličice"
msgid "Thumbnails View"
msgstr "Pregled umanjenih sličica"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Premesti fasciklu pod pokazivačem na levi prozor"
@ -5925,7 +5929,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2878,6 +2878,10 @@ msgstr ""
msgid "Thumbnails View"
msgstr ""
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Sol penceredeki seçilen klasörü taşı"
@ -6100,7 +6104,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2864,6 +2864,10 @@ msgstr "Мініатюри"
msgid "Thumbnails View"
msgstr "Перегляд мініатюр"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "Відкрити каталог під курсором на лівій панелі"

View file

@ -2931,6 +2931,10 @@ msgstr ""
msgid "Thumbnails View"
msgstr ""
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "传输当前行到左窗口"
@ -6492,7 +6496,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

View file

@ -2925,6 +2925,10 @@ msgstr "縮圖"
msgid "Thumbnails View"
msgstr "縮圖檢視"
#: tfrmmain.acttogglefullscreenconsole.caption
msgid "Toggle fullscreen mode console"
msgstr ""
#: tfrmmain.acttransferleft.caption
msgid "Transfer dir under cursor to left window"
msgstr "傳送指標行上的資料夾到左視窗"
@ -6608,7 +6612,7 @@ msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption
msgctxt "tfrmoptionstoolbar.miimportdcbaraddmenucurrent.caption"
msgid "to add to a new toobar to current toolbar"
msgid "to add to a new toolbar to current toolbar"
msgstr ""
#: tfrmoptionstoolbar.miimportdcbaraddmenutop.caption

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

View file

@ -2333,6 +2333,11 @@ object frmMain: TfrmMain
Tag = 1
OnExecute = actExecute
end
object actToggleFullscreenConsole: TAction
Category = 'Command Line'
Caption = 'Toggle fullscreen mode console'
Tag = 17
end
end
object pmHotList: TPopupMenu
Images = imgLstDirectoryHotlist

View file

@ -222,6 +222,7 @@ TFRMMAIN.ACTCHECKSUMCALC.CAPTION=Calculate Check&sum...
TFRMMAIN.ACTCHECKSUMVERIFY.CAPTION=&Verify Checksum...
TFRMMAIN.ACTUNIVERSALSINGLEDIRECTSORT.CAPTION=Sort according to parameters
TFRMMAIN.ACTCOUNTDIRCONTENT.CAPTION=Sho&w Occupied Space
TFRMMAIN.ACTTOGGLEFULLSCREENCONSOLE.CAPTION=Toggle fullscreen mode console
TFRMMAIN.TBEDIT.CAPTION=Edit
TFRMMAIN.TBDELETE.CAPTION=Delete
TFRMMAIN.TBCHANGEDIR.CAPTION=CD

View file

@ -97,6 +97,7 @@ type
actCopyPathOfFilesToClip: TAction;
actCopyPathNoSepOfFilesToClip: TAction;
actDoAnyCmCommand: TAction;
actToggleFullscreenConsole: TAction;
actSrcOpenDrives: TAction;
actRightReverseOrder: TAction;
actLeftReverseOrder: TAction;
@ -707,6 +708,7 @@ type
procedure UpdatePrompt;
procedure UpdateFreeSpace(Panel: TFilePanelSelect);
procedure ReLoadTabs(ANoteBook: TFileViewNotebook);
procedure ToggleFullscreenConsole;
{en
This function is called from various points to handle dropping files
@ -4130,6 +4132,18 @@ begin
ConsoleSplitter.Visible:= gTermWindow;
end;
procedure TfrmMain.ToggleFullscreenConsole;
begin
if nbConsole.Height < (nbConsole.Height + pnlNotebooks.Height) then
begin
nbConsole.Height := nbConsole.Height + pnlNotebooks.Height;
end
else
begin
nbConsole.Height := 0;
end;
end;
procedure TfrmMain.ToolbarExecuteCommand(ToolItem: TKASToolItem);
var
CommandItem: TKASCommandItem;

View file

@ -105,7 +105,7 @@ type
const
{ Default hotkey list version number }
hkVersion = 21;
hkVersion = 22;
// Previously existing names if reused must check for ConfigVersion >= X.
// History:
@ -730,6 +730,7 @@ begin
AddIfNotExists(['Alt+Down'],'cm_DirHistory',['Ctrl+H'],[]); //Historic backward support reason...
AddIfNotExists(['Ctrl+L'],[],'cm_CalculateSpace');
AddIfNotExists(['Ctrl+M'],[],'cm_MultiRename');
AddIfNotExists(['Ctrl+O'],[],'cm_ToggleFullscreenConsole');
AddIfNotExists(['Ctrl+P'],[],'cm_AddPathToCmdLine');
AddIfNotExists(['Ctrl+Q'],[],'cm_QuickView');
AddIfNotExists(['Ctrl+S'],[],'cm_QuickSearch');

View file

@ -265,6 +265,7 @@ type
procedure cm_RenameOnly(const Params: array of string);
procedure cm_RunTerm(const Params: array of string);
procedure cm_ShowCmdLineHistory(const Params: array of string);
procedure cm_ToggleFullscreenConsole(const Params: array of string);
procedure cm_CalculateSpace(const Params: array of string);
procedure cm_CountDirContent(const Params: array of string);
procedure cm_SetFileProperties(const Params: array of string);
@ -2994,6 +2995,18 @@ begin
end;
end;
procedure TMainCommands.cm_ToggleFullscreenConsole(const Params: array of string);
begin
with frmMain do
begin
ToggleFullscreenConsole;
if IsCommandLineVisible then
begin
edtCommand.SetFocus;
end;
end;
end;
procedure TMainCommands.cm_RunTerm(const Params: array of string);
begin
with frmMain do