blob: 54db03c1be4fd000dd7ff63a3feb669d397af5a3 (
plain) (
blame)
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
43
44
|
// license:BSD-3-Clause
// copyright-holders:Aaron Giles, Vas Crabb
//============================================================
//
// uimetrics.h - Win32 debug window handling
//
//============================================================
#ifndef __DEBUG_WIN_UI_METRICS_H__
#define __DEBUG_WIN_UI_METRICS_H__
#include "debugwin.h"
#include "emu.h"
#include "winmain.h"
class ui_metrics
{
public:
ui_metrics(windows_options const &options);
ui_metrics(ui_metrics const &that);
~ui_metrics();
HFONT debug_font() const { return m_debug_font; }
UINT32 debug_font_height() const { return m_debug_font_height; }
UINT32 debug_font_width() const { return m_debug_font_width; }
UINT32 debug_font_ascent() const { return m_debug_font_ascent; }
UINT32 hscroll_height() const { return m_hscroll_height; }
UINT32 vscroll_width() const { return m_vscroll_width; }
private:
HFONT m_debug_font;
UINT32 m_debug_font_height;
UINT32 m_debug_font_width;
UINT32 m_debug_font_ascent;
UINT32 const m_hscroll_height;
UINT32 const m_vscroll_width;
};
#endif
|