-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAMWatchWinDll.cpp
More file actions
41 lines (35 loc) · 924 Bytes
/
AMWatchWinDll.cpp
File metadata and controls
41 lines (35 loc) · 924 Bytes
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
/**************************************************************************
* Copyright (C), AirM2M Tech. Co., Ltd.
*
* Name: AMWatchWinDll.cpp
* Author: panjun
* Version: V0.1
* Date: 2016/10/19
*
* Description:
*
*
* History:
* panjun 16/10/19 Initially create file.
**************************************************************************/
#include "stdafx.h"
#include "AMWatchWinDll.h"
void DispAMWatch(HWND hwnd, HINSTANCE hInstance)
{
Disp::GetDisp()->DispInit(hwnd,hInstance);
Disp::GetDisp()->w32_screen_init(hwnd, hInstance);
}
void DispUpdate(void)
{
Disp::GetDisp()->w32_update_screen();
}
void DispDrawrect(INT startx, INT starty,
INT endx, INT endy,
DWORD pColor)
{
Disp::GetDisp()->drawrect(startx,starty,endx,endy,pColor);
}
void DispDrawMainBitmap(HDC hdc)
{
Disp::GetDisp()->w32_draw_main_bitmap(hdc);
}