SuperTuxKart
Loading...
Searching...
No Matches
emoji_keyboard.hpp
1//
2// SuperTuxKart - a fun racing game with go-kart
3// Copyright (C) 2019 SuperTuxKart-Team
4//
5// This program is free software; you can redistribute it and/or
6// modify it under the terms of the GNU General Public License
7// as published by the Free Software Foundation; either version 3
8// of the License: or (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with this program; if not, write to the Free Software
17// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19#ifndef HEADER_EMOJI_KEYBOARD_HPP
20#define HEADER_EMOJI_KEYBOARD_HPP
21
22#include "guiengine/screen_keyboard.hpp"
23#include "utils/cpp2011.hpp"
24
28namespace GUIEngine
29{
31 {
32 public:
33 LEAK_CHECK()
34 EmojiKeyboard(float percent_width, float percent_height, CGUIEditBox* edit_box)
35 : ScreenKeyboard(percent_width, percent_height, edit_box) {}
36 virtual KeyboardLayoutProportions getKeyboardLayoutProportions() const OVERRIDE;
37 virtual KeyboardLayout* getKeyboardLayout(ButtonsType bt) const OVERRIDE;
38 virtual ButtonsType getDefaultButtonsType() const OVERRIDE { return BUTTONS_EMOJI; }
39 };
40}
41
42#endif
Definition: CGUIEditBox.hpp:32
Definition: emoji_keyboard.hpp:31
Class representing a screen keyboard.
Definition: screen_keyboard.hpp:49
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33