mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
Preparing the hintbox classes for Lua
- Add non locale variants for CHintBoxExt, CMessageBox, ShowMsgUTF
THX Martii
Origin commit data
------------------
Commit: df06f83a20
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-19 (Sun, 19 Jan 2014)
Origin message was:
------------------
Preparing the hintbox classes for Lua
- Add non locale variants for CHintBoxExt, CMessageBox, ShowMsgUTF
THX Martii
This commit is contained in:
@@ -55,11 +55,13 @@ class CHintBoxExt
|
||||
|
||||
int m_width;
|
||||
int m_height;
|
||||
int m_bbheight; /* a button bar at the bottom? */
|
||||
int textStartX;
|
||||
|
||||
int m_fheight;
|
||||
int m_theight;
|
||||
neutrino_locale_t m_caption;
|
||||
std::string m_captionString;
|
||||
char * m_message;
|
||||
ContentLines m_lines;
|
||||
std::string m_iconfile;
|
||||
@@ -69,12 +71,13 @@ class CHintBoxExt
|
||||
|
||||
public:
|
||||
CHintBoxExt(const neutrino_locale_t Caption, const char * const Text, const int Width, const char * const Icon);
|
||||
|
||||
CHintBoxExt(const neutrino_locale_t Caption, ContentLines& lines, const int Width = 450, const char * const Icon = NEUTRINO_ICON_INFO);
|
||||
CHintBoxExt(const std::string &Caption, const char * const Text, const int Width, const char * const Icon);
|
||||
CHintBoxExt(const std::string &Caption, ContentLines& lines, const int Width = 450, const char * const Icon = NEUTRINO_ICON_INFO);
|
||||
|
||||
~CHintBoxExt(void);
|
||||
|
||||
void init(const neutrino_locale_t Caption, const int Width, const char * const Icon);
|
||||
void init(const neutrino_locale_t Caption, const std::string &CaptionString, const int Width, const char * const Icon);
|
||||
|
||||
bool has_scrollbar(void);
|
||||
void scroll_up(void);
|
||||
|
Reference in New Issue
Block a user