This commit is contained in:
Markus Gans 2015-07-18 21:36:57 +02:00
parent 4ec8a3dda4
commit 8c467d0f30
2 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ uChar FLabel::getHotkey()
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------
int FLabel::getHotkeyPos(wchar_t*& src, wchar_t*& dest, uInt length) int FLabel::getHotkeyPos (wchar_t*& src, wchar_t*& dest, uInt length)
{ {
// find hotkey position in string // find hotkey position in string
// + generate a new string without the '&'-sign // + generate a new string without the '&'-sign
@ -138,7 +138,7 @@ int FLabel::getXOffset(int length)
void FLabel::printLine ( wchar_t*& line, void FLabel::printLine ( wchar_t*& line,
uInt length, uInt length,
int hotkeypos, int hotkeypos,
int xoffset) int xoffset )
{ {
int to_char; int to_char;
bool isActive, isNoUnderline; bool isActive, isNoUnderline;

View File

@ -38,7 +38,7 @@ class FLabel : public FWidget
uChar getHotkey(); uChar getHotkey();
int getHotkeyPos (wchar_t*&, wchar_t*&, uInt); int getHotkeyPos (wchar_t*&, wchar_t*&, uInt);
void setHotkeyAccelerator(); void setHotkeyAccelerator();
int getXOffset(int); int getXOffset (int);
void printLine (wchar_t*&, uInt, int, int xoffset=0); void printLine (wchar_t*&, uInt, int, int xoffset=0);
void draw(); void draw();