mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-20 15:03:32 +00:00
the whole game
This commit is contained in:
36
src/client/gui/screens/UploadPhotoScreen.h
Executable file
36
src/client/gui/screens/UploadPhotoScreen.h
Executable file
@@ -0,0 +1,36 @@
|
||||
#ifndef NET_MINECRAFT_CLIENT_GUI_SCREENS__UploadPhotoScreen_H__
|
||||
#define NET_MINECRAFT_CLIENT_GUI_SCREENS__UploadPhotoScreen_H__
|
||||
|
||||
#include "Screen.h"
|
||||
|
||||
class UploadPhotoScreen : public Screen
|
||||
{
|
||||
public:
|
||||
|
||||
UploadPhotoScreen();
|
||||
virtual ~UploadPhotoScreen() {}
|
||||
|
||||
virtual void init();
|
||||
|
||||
void render(int xm, int ym, float a) {
|
||||
Screen::render(xm, ym, a);
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
virtual void mouseClicked(int x, int y, int buttonNum);
|
||||
virtual void mouseReleased(int x, int y, int buttonNum);
|
||||
virtual void keyPressed(int eventKey);
|
||||
|
||||
private:
|
||||
|
||||
int selectedItem;
|
||||
|
||||
void renderSlots();
|
||||
void renderSlot(int slot, int x, int y, float a);
|
||||
|
||||
int getSelectedSlot(int x, int y);
|
||||
void selectSlotAndClose();
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_CLIENT_GUI_SCREENS__UploadPhotoScreen_H__*/
|
||||
Reference in New Issue
Block a user