mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-24 03:19:44 +00:00
Fixes and enhancements from my MCPE repository. (https://github.com/mschiller890/mcpe64)
This commit is contained in:
parent
0c97ceb340
commit
2fc323639a
69 changed files with 2509 additions and 639 deletions
32
src/client/gui/screens/CreditsScreen.h
Normal file
32
src/client/gui/screens/CreditsScreen.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#ifndef NET_MINECRAFT_CLIENT_GUI_SCREENS__CreditsScreen_H__
|
||||
#define NET_MINECRAFT_CLIENT_GUI_SCREENS__CreditsScreen_H__
|
||||
|
||||
#include "../Screen.h"
|
||||
#include "../components/Button.h"
|
||||
|
||||
class ImageButton;
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
class CreditsScreen: public Screen {
|
||||
public:
|
||||
typedef Screen super;
|
||||
CreditsScreen();
|
||||
virtual ~CreditsScreen();
|
||||
void init();
|
||||
void setupPositions();
|
||||
virtual void tick();
|
||||
void render(int xm, int ym, float a);
|
||||
void buttonClicked(Button* button);
|
||||
virtual void mouseClicked(int x, int y, int buttonNum);
|
||||
private:
|
||||
Touch::THeader* bHeader;
|
||||
ImageButton* btnBack;
|
||||
|
||||
std::vector<std::string> _lines;
|
||||
float _scrollY;
|
||||
float _scrollSpeed;
|
||||
};
|
||||
|
||||
#endif /* NET_MINECRAFT_CLIENT_GUI_SCREENS__CreditsScreen_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue