summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/uwp/video.h
blob: 5725a2bb0d4f8c4a487c4b61ea811eb6dbe8eb71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// license:BSD-3-Clause
// copyright-holders:Aaron Giles
//============================================================
//
//  video.h - UWP implementation of MAME video routines
//
//============================================================

#ifndef __UWP_VIDEO__
#define __UWP_VIDEO__

#include "modules/osdhelper.h"

inline osd_rect RECT_to_osd_rect(const RECT &r)
{
	return osd_rect(r.left, r.top, r.right - r.left, r.bottom - r.top);
}

#endif