Skip to content

Commit

Permalink
v1.0.3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
steve02081504 committed Jul 26, 2022
1 parent 4fede8a commit f4f7d1a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/Parameter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,6 @@ bool SetParameter(const wstring s0, const wstring s1, POINT &wp, SIZE &ws) {
int col = HexStrToInt(s1.c_str());
bdcol = ((col & 0xff) << 16) + (col & 0xff00) + ((col >> 16) & 0xff);
DwmSetWindowAttribute(hWnd, DWMWA_BORDER_COLOR, &bdcol, sizeof(bdcol));
darkmode = bool(bdcol); //For backward compatibility, should be removed in the next medium update
BOOL darkmode_tmp = darkmode;
DwmSetWindowAttribute(hWnd, DWMWA_USE_IMMERSIVE_DARK_MODE, &darkmode_tmp, sizeof(darkmode_tmp));
}
// To change darkmode
else if(s0 == L"darkmode") {
Expand Down
4 changes: 2 additions & 2 deletions src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#define VERSION_NUM1 1
#define VERSION_NUM2 0
#define VERSION_NUM3 3
#define VERSION_NUM4 9
#define CONSTRUCTION_TIMES 42
#define VERSION_NUM4 10
#define CONSTRUCTION_TIMES 43

#define STRINGIZER_HELPER(a) #a
#define STRINGIZER(a) STRINGIZER_HELPER(a)
Expand Down
Binary file modified src/tama.rc
Binary file not shown.

0 comments on commit f4f7d1a

Please sign in to comment.