Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
371c620d
Commit
371c620d
authored
May 23, 2005
by
Martin Fuchs
Committed by
Alexandre Julliard
May 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement ID_VIEW_SPLIT command.
parent
27792f6f
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
26 additions
and
17 deletions
+26
-17
Cs.rc
programs/winefile/Cs.rc
+1
-1
De.rc
programs/winefile/De.rc
+1
-1
En.rc
programs/winefile/En.rc
+1
-1
Es.rc
programs/winefile/Es.rc
+1
-1
Fr.rc
programs/winefile/Fr.rc
+1
-1
Hu.rc
programs/winefile/Hu.rc
+1
-1
It.rc
programs/winefile/It.rc
+1
-1
Nl.rc
programs/winefile/Nl.rc
+1
-1
Pl.rc
programs/winefile/Pl.rc
+1
-1
Pt.rc
programs/winefile/Pt.rc
+2
-2
Ru.rc
programs/winefile/Ru.rc
+1
-1
Si.rc
programs/winefile/Si.rc
+1
-1
Sv.rc
programs/winefile/Sv.rc
+1
-1
Zh.rc
programs/winefile/Zh.rc
+1
-1
resource.h
programs/winefile/resource.h
+1
-0
winefile.c
programs/winefile/winefile.c
+10
-2
No files found.
programs/winefile/Cs.rc
View file @
371c620d
...
...
@@ -87,7 +87,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "J&en strom" , 411
MENUITEM "Jen a&dres&" , 412
MENUITEM SEPARATOR
MENUITEM "S&louit" ,
414
MENUITEM "S&louit" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Nzev" , ID_VIEW_NAME
MENUITEM "&Vechny detaily" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/De.rc
View file @
371c620d
...
...
@@ -87,7 +87,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "Nur St&ruktur" , 411
MENUITEM "Nur &Verzeichnis" , 412
MENUITEM SEPARATOR
MENUITEM "&Teilen" ,
414
MENUITEM "&Teilen" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Name" , ID_VIEW_NAME
MENUITEM "A&lle Dateiangaben" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/En.rc
View file @
371c620d
...
...
@@ -86,7 +86,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "Tr&ee Only" , 411
MENUITEM "Directory &Only" , 412
MENUITEM SEPARATOR
MENUITEM "Sp&lit" ,
414
MENUITEM "Sp&lit" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Name" , ID_VIEW_NAME
MENUITEM "&All File Details" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/Es.rc
View file @
371c620d
...
...
@@ -84,7 +84,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "rbol &slo" , 411
MENUITEM "&Directorio slo" , 412
MENUITEM SEPARATOR
MENUITEM "Di&vidir" ,
414
MENUITEM "Di&vidir" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "No&mbre" , ID_VIEW_NAME
MENUITEM "T&odos los detalles" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/Fr.rc
View file @
371c620d
...
...
@@ -87,7 +87,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Arbre seulement" , 411
MENUITEM "&Rpertoire seulement" , 412
MENUITEM SEPARATOR
MENUITEM "&Sparer" ,
414
MENUITEM "&Sparer" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Nom" , ID_VIEW_NAME
MENUITEM "Tous &les Dtails" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/Hu.rc
View file @
371c620d
...
...
@@ -87,7 +87,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Knyvtrfa" , 411
MENUITEM "&Csak mappk" , 412
MENUITEM SEPARATOR
MENUITEM "&Feloszts" ,
414
MENUITEM "&Feloszts" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Nv" , ID_VIEW_NAME
MENUITEM "&Minden rszlet" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/It.rc
View file @
371c620d
...
...
@@ -87,7 +87,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "So&lo Albero" , 411
MENUITEM "&Solo Directory" , 412
MENUITEM SEPARATOR
MENUITEM "Di&vidi" ,
414
MENUITEM "Di&vidi" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Nome" , ID_VIEW_NAME
MENUITEM "&Mostra tutti i dettagli sui file" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/Nl.rc
View file @
371c620d
...
...
@@ -83,7 +83,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Alleen hierarchie" , 411
MENUITEM "Alleen &mapinhoud" , 412
MENUITEM SEPARATOR
MENUITEM "Sp&litsen" ,
414
MENUITEM "Sp&litsen" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Naam" , ID_VIEW_NAME
MENUITEM "&Alle details" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/Pl.rc
View file @
371c620d
...
...
@@ -87,7 +87,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "D&rzewo" , 411
MENUITEM "&Katalogi" , 412
MENUITEM SEPARATOR
MENUITEM "&Pocz" ,
414
MENUITEM "&Pocz" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Nazwa" , ID_VIEW_NAME
MENUITEM "&Wszystkie atrybuty pliku" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/Pt.rc
View file @
371c620d
...
...
@@ -86,7 +86,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "S&omente rvore" , 411
MENUITEM "So&mente pasta" , 412
MENUITEM SEPARATOR
MENUITEM "&Dividir" ,
414
MENUITEM "&Dividir" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Nome" , ID_VIEW_NAME
MENUITEM "&Todos os delalhes" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
@@ -213,7 +213,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "S&omente rvore" , 411
MENUITEM "So&mente pasta" , 412
MENUITEM SEPARATOR
MENUITEM "&Dividir" ,
414
MENUITEM "&Dividir" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Nome" , ID_VIEW_NAME
MENUITEM "&Todos os delalhes" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/Ru.rc
View file @
371c620d
...
...
@@ -83,7 +83,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM " &" , 411
MENUITEM " &" , 412
MENUITEM SEPARATOR
MENUITEM "&" ,
414
MENUITEM "&" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&" , ID_VIEW_NAME
MENUITEM "& " , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/Si.rc
View file @
371c620d
...
...
@@ -84,7 +84,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "Tr&ee Only" , 411
MENUITEM "Directory &Only" , 412
MENUITEM SEPARATOR
MENUITEM "Sp&lit" ,
414
MENUITEM "Sp&lit" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Name" , ID_VIEW_NAME
MENUITEM "&All File Details" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/Sv.rc
View file @
371c620d
...
...
@@ -87,7 +87,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "Bara tr&d", 411
MENUITEM "Bara &mapp", 412
MENUITEM SEPARATOR
MENUITEM "De&la",
414
MENUITEM "De&la",
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "&Namn", ID_VIEW_NAME
MENUITEM "&Alla Fildetaljer" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/Zh.rc
View file @
371c620d
...
...
@@ -84,7 +84,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "仅显示目录树(&E)" , 411
MENUITEM "仅显示目录内容(&O)" , 412
MENUITEM SEPARATOR
MENUITEM "分割(&L)" ,
414
MENUITEM "分割(&L)" ,
ID_VIEW_SPLIT
MENUITEM SEPARATOR
MENUITEM "文件名名(&N)" , ID_VIEW_NAME
MENUITEM "文件详悉列表(&A)" , ID_VIEW_ALL_ATTRIBUTES, CHECKED
...
...
programs/winefile/resource.h
View file @
371c620d
...
...
@@ -51,6 +51,7 @@
#define ID_VIEW_SORT_TYPE 405
#define ID_VIEW_SORT_SIZE 406
#define ID_VIEW_SORT_DATE 407
#define ID_VIEW_SPLIT 414
#define ID_SELECT_FONT 510
#define ID_VIEW_TOOL_BAR 508
#define ID_VIEW_DRIVE_BAR 507
...
...
programs/winefile/winefile.c
View file @
371c620d
...
...
@@ -181,6 +181,8 @@ LRESULT CALLBACK TreeWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam)
/* globals */
WINEFILE_GLOBALS
Globals
;
static
int
last_split
;
/* some common string constants */
const
static
TCHAR
sEmpty
[]
=
{
'\0'
};
const
static
TCHAR
sSpace
[]
=
{
' '
,
'\0'
};
...
...
@@ -3679,8 +3681,6 @@ static HRESULT ShellFolderContextMenu(IShellFolder* shell_folder, HWND hwndParen
LRESULT
CALLBACK
ChildWndProc
(
HWND
hwnd
,
UINT
nmsg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
static
int
last_split
;
ChildWnd
*
child
=
(
ChildWnd
*
)
GetWindowLong
(
hwnd
,
GWL_USERDATA
);
ASSERT
(
child
);
...
...
@@ -3919,6 +3919,14 @@ LRESULT CALLBACK ChildWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam
set_sort_order
(
child
,
SORT_DATE
);
break
;
case
ID_VIEW_SPLIT
:
{
last_split
=
child
->
split_pos
;
#ifdef _NO_EXTENSIONS
draw_splitbar
(
hwnd
,
last_split
);
#endif
SetCapture
(
hwnd
);
break
;}
default:
return
pane_command
(
pane
,
LOWORD
(
wparam
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment