mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
migrate ALMOST everything from source tree into client
This commit is contained in:
24
source/client/gui/components/SmallButton.hpp
Normal file
24
source/client/gui/components/SmallButton.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
/********************************************************************
|
||||
Minecraft: Pocket Edition - Decompilation Project
|
||||
Copyright (C) 2023 iProgramInCpp
|
||||
|
||||
The following code is licensed under the BSD 1 clause license.
|
||||
SPDX-License-Identifier: BSD-1-Clause
|
||||
********************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Button.hpp"
|
||||
|
||||
class SmallButton : public Button
|
||||
{
|
||||
public:
|
||||
SmallButton(int id, int x, int y, const std::string& str);
|
||||
SmallButton(int id, int x, int y, int width, int height, const std::string& str);
|
||||
SmallButton(int id, int x, int y, Options::Option* pOption, const std::string& str);
|
||||
Options::Option* getOption();
|
||||
|
||||
private:
|
||||
Options::Option* m_pOption = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user