APM ばってりーもにたー
 All Classes Files Functions Variables Enumerations Enumerator Pages
DrawCharacter.h
Go to the documentation of this file.
1 #ifndef DRAW_CHARACTER_H
2 #define DRAW_CHARACTER_H
3 
9 #include "character_t.h"
10 #include "ChargingState.h"
11 #include <memory>
12 
13 class QPainter;
14 class QRect;
15 
16 
19 {
20 public:
21  DrawCharacter(void);
22  ~DrawCharacter(void);
23 
25  bool draw(QPainter& painter, QRect& base_rect,
26  character_t& character, ChargingState state, size_t percent);
27 
28 private:
29  DrawCharacter(const DrawCharacter& rhs);
30  DrawCharacter& operator = (const DrawCharacter& rhs);
31 
32  struct pImpl;
33  std::auto_ptr<pImpl> pimpl;
34 };
35 
36 #endif /* !DRAW_CHARACTER_H */
キャラクター情報の管理
Definition: character_t.h:14
キャラクターの描画
Definition: DrawCharacter.h:18
キャラクターの情報管理
bool draw(QPainter &painter, QRect &base_rect, character_t &character, ChargingState state, size_t percent)
描画
Definition: DrawCharacter.cpp:50
ChargingState
充電状態の定義
Definition: ChargingState.h:10
充電の状態