[misc] reorganize UI function calls into their own source

* Also fix ARM/ARM64 broken compilation due to missing __popcnt()
This commit is contained in:
Pete Batard 2018-07-06 05:46:36 +01:00
parent a34cb1194e
commit 05f8400451
12 changed files with 1486 additions and 1363 deletions

View file

@ -37,6 +37,7 @@
#include "resource.h"
#include "msapi_utf8.h"
#include "localization.h"
#include "ui.h"
#include "registry.h"
#include "settings.h"
@ -58,9 +59,6 @@ static WNDPROC update_original_proc = NULL;
static HWINEVENTHOOK fp_weh = NULL;
static char *fp_title_str = "Microsoft Windows", *fp_button_str = "Format disk";
extern loc_cmd* selected_locale;
extern int cbw, ddw, ddbh, bh;
static int update_settings_reposition_ids[] = {
IDC_POLICY,
IDS_UPDATE_SETTINGS_GRP,