1
0
mirror of https://github.com/jummy0/sb2-decomp synced 2025-03-19 14:19:38 +01:00
sb2-decomp/jauge.h

53 lines
1.0 KiB
C
Raw Normal View History

// Jauge.h
2024-08-16 16:34:06 -04:00
using namespace std;
//////////////////////////////////////////////////////////////////////////
2024-08-01 08:18:53 -04:00
#include <minwindef.h>
2024-08-16 16:34:06 -04:00
#include <stdio.h>
#include <stdlib.h>
#include <windef.h>
2024-08-01 08:18:53 -04:00
#include <Windows.h>
2024-08-16 16:34:06 -04:00
2024-08-01 08:18:53 -04:00
#include "decor.h"
2024-08-16 16:34:06 -04:00
#pragma once
#define WIN32_LEAN_AND_MEAN
class CJauge
{
public:
CJauge();
~CJauge();
2024-06-25 17:17:07 -04:00
BOOL Create(HWND hWnd, CPixmap *pPixmap, CSound *pSound,
POINT pos, int type, BOOL bMinimizeRedraw);
void Draw();
void Redraw();
void SetLevel(int level);
2024-05-31 13:40:11 -04:00
int GetLevel();
void SetType(int type);
2024-05-31 13:40:11 -04:00
int GetType();
BOOL GetHide();
void SetHide(BOOL bHide);
POINT GetPos();
void SetRedraw();
protected:
HWND m_hWnd;
CPixmap* m_pPixmap;
CSound* m_pSound;
BOOL m_bHide;
POINT m_pos;
POINT m_dim;
int m_type;
int m_level;
BOOL m_bMinimizeRedraw;
BOOL m_bRedraw;
};
/////////////////////////////////////////////////////////////////////////