forked from ephemeralViolette/ClassicExplorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathutil.h
More file actions
42 lines (37 loc) · 827 Bytes
/
util.h
File metadata and controls
42 lines (37 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#pragma once
#ifndef _UTIL_H
#define _UTIL_H
#include "stdafx.h"
#include "framework.h"
#include "resource.h"
#include "ClassicExplorer_i.h"
#include "dllmain.h"
enum ClassicExplorerTheme
{
CLASSIC_EXPLORER_NONE = -1,
CLASSIC_EXPLORER_2K = 0,
CLASSIC_EXPLORER_XP = 1,
CLASSIC_EXPLORER_10 = 2
};
namespace CEUtil
{
struct CESettings
{
ClassicExplorerTheme theme = CLASSIC_EXPLORER_NONE;
DWORD showGoButton = -1;
DWORD showAddressLabel = -1;
DWORD showFullAddress = -1;
CESettings(ClassicExplorerTheme t, int a, int b, int f)
{
theme = t;
showGoButton = a;
showAddressLabel = b;
showFullAddress = f;
}
};
CESettings GetCESettings();
void WriteCESettings(CESettings& toWrite);
HRESULT FixExplorerSizes(HWND explorerChild);
HRESULT FixExplorerSizesIfNecessary(HWND explorerChild);
}
#endif