add last backwards-compatible version

This commit is contained in:
2021-12-14 00:33:46 -07:00
parent 68b10d413b
commit b0dd3f07f3
335 changed files with 4746 additions and 19627 deletions

View File

@@ -5,10 +5,6 @@
// Or: how I learned to stop worrying and love the lambdas
#include <memory> // shared_ptr
#include <libPPUI/CDialogResizeHelper.h>
#include <helpers/filetimetools.h>
#include <helpers/duration_counter.h>
#include <helpers/atl-misc.h>
@@ -30,13 +26,6 @@ namespace { // anon namespace local classes for good measure
{IDCANCEL, 1,1,1,1 },
{IDC_HEADER, 0,0,1,0 },
{IDC_LIST, 0,0,1,1 },
// current position of a control is determined by initial_position + factor * (current_dialog_size - initial_dialog_size)
// where factor is the value from the table above
// applied to all four values - left, top, right, bottom
// 0,0,0,0 means that a control doesn't react to dialog resizing (aligned to top+left, no resize)
// 1,1,1,1 means that the control is aligned to bottom+right but doesn't resize
// 0,0,1,0 means that the control disregards vertical resize (aligned to top) and changes its width with the dialog
};
// Minimum/maximum size, in dialog box units; see MSDN MapDialogRect for more info about dialog box units.