other-licenses/7zstub/src/7zip/GuiCommon.rc

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

michael@0 1 #include <winnt.h>
michael@0 2 #include <WinUser.h>
michael@0 3 #include <CommCtrl.h>
michael@0 4
michael@0 5 #define marg 7
michael@0 6 #undef bXSize
michael@0 7 #undef bYSize
michael@0 8 #define bXSize 64
michael@0 9 #define bYSize 14
michael@0 10 #define bDotsSize 20
michael@0 11
michael@0 12 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
michael@0 13
michael@0 14 #undef xSize2
michael@0 15 #undef ySize2
michael@0 16 #undef xSize
michael@0 17 #undef ySize
michael@0 18 #undef bXPos
michael@0 19 #undef bYPos
michael@0 20 #undef b1XPos
michael@0 21 #undef b1YPos
michael@0 22 #undef b2XPos
michael@0 23 #undef b2YPos
michael@0 24 #undef b3XPos
michael@0 25 #undef b3YPos
michael@0 26 #undef gPos
michael@0 27 #undef gPos2
michael@0 28 #undef gSpace
michael@0 29 #undef gSize
michael@0 30 #undef marg2
michael@0 31 #undef marg3
michael@0 32
michael@0 33
michael@0 34 #define MY_MODAL_DIALOG_STYLE STYLE DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
michael@0 35 #define MY_PAGE_STYLE STYLE DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
michael@0 36
michael@0 37 #define MY_FONT FONT 8, "MS Shell Dlg"

mercurial