|
@@ -20,21 +20,21 @@ AuswahlBox::AuswahlBox()
|
|
|
: DrawableBackground(),
|
|
: DrawableBackground(),
|
|
|
textRd(0),
|
|
textRd(0),
|
|
|
msStyle(0),
|
|
msStyle(0),
|
|
|
- members(new RCArray<TextFeld>()),
|
|
|
|
|
|
|
+ members(new RCArray<TextField>()),
|
|
|
ausfahren(new Knopf()),
|
|
ausfahren(new Knopf()),
|
|
|
- auswRahmen(new LRahmen()),
|
|
|
|
|
|
|
+ selBorder(new LBorder()),
|
|
|
auswBgF(0xFF000000),
|
|
auswBgF(0xFF000000),
|
|
|
auswBgB(0),
|
|
auswBgB(0),
|
|
|
auswAf(new AlphaFeld()),
|
|
auswAf(new AlphaFeld()),
|
|
|
- msAuswRahmen(0),
|
|
|
|
|
|
|
+ msSelBorder(0),
|
|
|
msAuswBgF(0),
|
|
msAuswBgF(0),
|
|
|
msAuswBgB(0),
|
|
msAuswBgB(0),
|
|
|
msAuswAf(0),
|
|
msAuswAf(0),
|
|
|
- mausRahmen(new LRahmen()),
|
|
|
|
|
|
|
+ mouseBorder(new LBorder()),
|
|
|
mausBgF(0xFF000000),
|
|
mausBgF(0xFF000000),
|
|
|
mausBgB(0),
|
|
mausBgB(0),
|
|
|
mausAf(new AlphaFeld()),
|
|
mausAf(new AlphaFeld()),
|
|
|
- msMausRahmen(0),
|
|
|
|
|
|
|
+ msMouseBorder(0),
|
|
|
msMausBgF(0),
|
|
msMausBgF(0),
|
|
|
msMausBgB(0),
|
|
msMausBgB(0),
|
|
|
msMausAf(0),
|
|
msMausAf(0),
|
|
@@ -52,7 +52,7 @@ AuswahlBox::AuswahlBox()
|
|
|
{
|
|
{
|
|
|
vertikalScrollBar = new VScrollBar();
|
|
vertikalScrollBar = new VScrollBar();
|
|
|
style = Style::Normal;
|
|
style = Style::Normal;
|
|
|
- rahmen = new LRahmen();
|
|
|
|
|
|
|
+ rahmen = new LBorder();
|
|
|
rahmen->setFarbe(0xFFFFFFFF);
|
|
rahmen->setFarbe(0xFFFFFFFF);
|
|
|
rahmen->setRamenBreite(1);
|
|
rahmen->setRamenBreite(1);
|
|
|
ausfahren->setStyle(Knopf::Style::Sichtbar | Knopf::Style::Erlaubt
|
|
ausfahren->setStyle(Knopf::Style::Sichtbar | Knopf::Style::Erlaubt
|
|
@@ -62,12 +62,12 @@ AuswahlBox::AuswahlBox()
|
|
|
ausfahren->setSize(18, 18);
|
|
ausfahren->setSize(18, 18);
|
|
|
ausfahren->setSchriftFarbe(0xFFFFFFFF);
|
|
ausfahren->setSchriftFarbe(0xFFFFFFFF);
|
|
|
ausfahren->setText("\\/");
|
|
ausfahren->setText("\\/");
|
|
|
- auswRahmen->setFarbe(0xFF00FF00);
|
|
|
|
|
- auswRahmen->setRamenBreite(1);
|
|
|
|
|
|
|
+ selBorder->setFarbe(0xFF00FF00);
|
|
|
|
|
+ selBorder->setRamenBreite(1);
|
|
|
auswAf->setFarbe(0xA000FF00);
|
|
auswAf->setFarbe(0xA000FF00);
|
|
|
auswAf->setStrength(7);
|
|
auswAf->setStrength(7);
|
|
|
- mausRahmen->setFarbe(0xFF00FF00);
|
|
|
|
|
- mausRahmen->setRamenBreite(1);
|
|
|
|
|
|
|
+ mouseBorder->setFarbe(0xFF00FF00);
|
|
|
|
|
+ mouseBorder->setRamenBreite(1);
|
|
|
mausAf->setFarbe(0x5000FF00);
|
|
mausAf->setFarbe(0x5000FF00);
|
|
|
mausAf->setStrength(7);
|
|
mausAf->setStrength(7);
|
|
|
gr.x = 20;
|
|
gr.x = 20;
|
|
@@ -81,17 +81,17 @@ AuswahlBox::~AuswahlBox()
|
|
|
if (msStyle) msStyle->release();
|
|
if (msStyle) msStyle->release();
|
|
|
if (members) members->release();
|
|
if (members) members->release();
|
|
|
if (ausfahren) ausfahren->release();
|
|
if (ausfahren) ausfahren->release();
|
|
|
- if (auswRahmen) auswRahmen->release();
|
|
|
|
|
|
|
+ if (selBorder) selBorder->release();
|
|
|
if (auswBgB) auswBgB->release();
|
|
if (auswBgB) auswBgB->release();
|
|
|
if (auswAf) auswAf->release();
|
|
if (auswAf) auswAf->release();
|
|
|
- if (msAuswRahmen) msAuswRahmen->release();
|
|
|
|
|
|
|
+ if (msSelBorder) msSelBorder->release();
|
|
|
if (msAuswAf) msAuswAf->release();
|
|
if (msAuswAf) msAuswAf->release();
|
|
|
if (msAuswBgB) msAuswBgB->release();
|
|
if (msAuswBgB) msAuswBgB->release();
|
|
|
if (msAuswBgF) msAuswBgF->release();
|
|
if (msAuswBgF) msAuswBgF->release();
|
|
|
- if (mausRahmen) mausRahmen->release();
|
|
|
|
|
|
|
+ if (mouseBorder) mouseBorder->release();
|
|
|
if (mausAf) mausAf->release();
|
|
if (mausAf) mausAf->release();
|
|
|
if (mausBgB) mausBgB->release();
|
|
if (mausBgB) mausBgB->release();
|
|
|
- if (msMausRahmen) msMausRahmen->release();
|
|
|
|
|
|
|
+ if (msMouseBorder) msMouseBorder->release();
|
|
|
if (msMausAf) msMausAf->release();
|
|
if (msMausAf) msMausAf->release();
|
|
|
if (msMausBgB) msMausBgB->release();
|
|
if (msMausBgB) msMausBgB->release();
|
|
|
if (msMausBgF) msMausBgF->release();
|
|
if (msMausBgF) msMausBgF->release();
|
|
@@ -131,7 +131,7 @@ void AuswahlBox::doMausEreignis(MausEreignis& me, bool userRet) // mouse events
|
|
|
&& scrollAnzeigen)
|
|
&& scrollAnzeigen)
|
|
|
{
|
|
{
|
|
|
int rbr = 0;
|
|
int rbr = 0;
|
|
|
- if (rahmen && hatStyle(Style::Rahmen)) rbr = rahmen->getRBreite();
|
|
|
|
|
|
|
+ if (rahmen && hatStyle(Style::Border)) rbr = rahmen->getRBreite();
|
|
|
if ((me.mx > gr.x - 15 - rbr && me.my > gr.y) || me.id == ME_UScroll
|
|
if ((me.mx > gr.x - 15 - rbr && me.my > gr.y) || me.id == ME_UScroll
|
|
|
|| me.id == ME_DScroll)
|
|
|| me.id == ME_DScroll)
|
|
|
{
|
|
{
|
|
@@ -205,13 +205,13 @@ void AuswahlBox::setEventAktion(
|
|
|
this->eAk = event;
|
|
this->eAk = event;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setSchriftZ(Schrift* schrift) // set font
|
|
|
|
|
|
|
+void AuswahlBox::setFontZ(Font* schrift) // set font
|
|
|
{
|
|
{
|
|
|
if (!this->textRd)
|
|
if (!this->textRd)
|
|
|
textRd = new TextRenderer(schrift);
|
|
textRd = new TextRenderer(schrift);
|
|
|
else
|
|
else
|
|
|
- textRd->setSchriftZ(schrift);
|
|
|
|
|
- ausfahren->setSchriftZ(dynamic_cast<Schrift*>(schrift->getThis()));
|
|
|
|
|
|
|
+ textRd->setFontZ(schrift);
|
|
|
|
|
+ ausfahren->setFontZ(dynamic_cast<Font*>(schrift->getThis()));
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -223,13 +223,13 @@ void AuswahlBox::setTextRendererZ(TextRenderer* textRd)
|
|
|
|
|
|
|
|
void AuswahlBox::addEintrag(const char* txt) // add entry
|
|
void AuswahlBox::addEintrag(const char* txt) // add entry
|
|
|
{
|
|
{
|
|
|
- TextFeld* tf = new TextFeld();
|
|
|
|
|
- if (textRd) tf->setSchriftZ(textRd->getSchrift());
|
|
|
|
|
- tf->addStyle(TextFeld::Style::Sichtbar | TextFeld::Style::Center
|
|
|
|
|
- | TextFeld::Style::Rahmen);
|
|
|
|
|
|
|
+ TextField* tf = new TextField();
|
|
|
|
|
+ if (textRd) tf->setFontZ(textRd->getFont());
|
|
|
|
|
+ tf->addStyle(TextField::Style::Sichtbar | TextField::Style::Center
|
|
|
|
|
+ | TextField::Style::Border);
|
|
|
tf->setText(txt);
|
|
tf->setText(txt);
|
|
|
tf->setSchriftFarbe(0xFFFFFFFF);
|
|
tf->setSchriftFarbe(0xFFFFFFFF);
|
|
|
- tf->setRahmenFarbe(0xFFFFFFFF);
|
|
|
|
|
|
|
+ tf->setBorderColor(0xFFFFFFFF);
|
|
|
tf->setSize(0, eintragHeight);
|
|
tf->setSize(0, eintragHeight);
|
|
|
members->add(tf, anzahl);
|
|
members->add(tf, anzahl);
|
|
|
++anzahl;
|
|
++anzahl;
|
|
@@ -238,20 +238,20 @@ void AuswahlBox::addEintrag(const char* txt) // add entry
|
|
|
|
|
|
|
|
void AuswahlBox::addEintrag(Text* txt)
|
|
void AuswahlBox::addEintrag(Text* txt)
|
|
|
{
|
|
{
|
|
|
- TextFeld* tf = new TextFeld();
|
|
|
|
|
- if (textRd) tf->setSchriftZ(textRd->getSchrift());
|
|
|
|
|
- tf->addStyle(TextFeld::Style::Sichtbar | TextFeld::Style::Center
|
|
|
|
|
- | TextFeld::Style::Rahmen);
|
|
|
|
|
|
|
+ TextField* tf = new TextField();
|
|
|
|
|
+ if (textRd) tf->setFontZ(textRd->getFont());
|
|
|
|
|
+ tf->addStyle(TextField::Style::Sichtbar | TextField::Style::Center
|
|
|
|
|
+ | TextField::Style::Border);
|
|
|
tf->setText(txt);
|
|
tf->setText(txt);
|
|
|
tf->setSchriftFarbe(0xFFFFFFFF);
|
|
tf->setSchriftFarbe(0xFFFFFFFF);
|
|
|
- tf->setRahmenFarbe(0xFFFFFFFF);
|
|
|
|
|
|
|
+ tf->setBorderColor(0xFFFFFFFF);
|
|
|
tf->setSize(0, eintragHeight);
|
|
tf->setSize(0, eintragHeight);
|
|
|
members->add(tf, anzahl);
|
|
members->add(tf, anzahl);
|
|
|
++anzahl;
|
|
++anzahl;
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::addEintragZ(TextFeld* txt)
|
|
|
|
|
|
|
+void AuswahlBox::addEintragZ(TextField* txt)
|
|
|
{
|
|
{
|
|
|
members->add(txt, anzahl);
|
|
members->add(txt, anzahl);
|
|
|
++anzahl;
|
|
++anzahl;
|
|
@@ -273,7 +273,7 @@ void AuswahlBox::setEintrag(int i, Text* txt)
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setEintragZ(int i, TextFeld* txt)
|
|
|
|
|
|
|
+void AuswahlBox::setEintragZ(int i, TextField* txt)
|
|
|
{
|
|
{
|
|
|
if (i < anzahl)
|
|
if (i < anzahl)
|
|
|
members->set(txt, i);
|
|
members->set(txt, i);
|
|
@@ -288,11 +288,11 @@ void AuswahlBox::removeEintrag(int i) // remove entry
|
|
|
{
|
|
{
|
|
|
members->remove(i);
|
|
members->remove(i);
|
|
|
if (msStyle) msStyle->remove(i);
|
|
if (msStyle) msStyle->remove(i);
|
|
|
- if (msAuswRahmen) msAuswRahmen->remove(i);
|
|
|
|
|
|
|
+ if (msSelBorder) msSelBorder->remove(i);
|
|
|
if (msAuswBgF) msAuswBgF->remove(i);
|
|
if (msAuswBgF) msAuswBgF->remove(i);
|
|
|
if (msAuswBgB) msAuswBgB->remove(i);
|
|
if (msAuswBgB) msAuswBgB->remove(i);
|
|
|
if (msAuswAf) msAuswAf->remove(i);
|
|
if (msAuswAf) msAuswAf->remove(i);
|
|
|
- if (msMausRahmen) msMausRahmen->remove(i);
|
|
|
|
|
|
|
+ if (msMouseBorder) msMouseBorder->remove(i);
|
|
|
if (msMausBgF) msMausBgF->remove(i);
|
|
if (msMausBgF) msMausBgF->remove(i);
|
|
|
if (msMausBgB) msMausBgB->remove(i);
|
|
if (msMausBgB) msMausBgB->remove(i);
|
|
|
if (msMausAf) msMausAf->remove(i);
|
|
if (msMausAf) msMausAf->remove(i);
|
|
@@ -310,10 +310,10 @@ void AuswahlBox::setAusklappKnopfZ(Knopf* ausK) // set expand button
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setEintragRahmenZ(int i, Rahmen* rahmen) // set entry border
|
|
|
|
|
|
|
+void AuswahlBox::setEntryBorderZ(int i, Border* rahmen) // set entry border
|
|
|
{
|
|
{
|
|
|
if (members->z(i))
|
|
if (members->z(i))
|
|
|
- members->z(i)->setRahmenZ(rahmen);
|
|
|
|
|
|
|
+ members->z(i)->setBorderZ(rahmen);
|
|
|
else
|
|
else
|
|
|
rahmen->release();
|
|
rahmen->release();
|
|
|
rend = 1;
|
|
rend = 1;
|
|
@@ -321,14 +321,14 @@ void AuswahlBox::setEintragRahmenZ(int i, Rahmen* rahmen) // set entry border
|
|
|
|
|
|
|
|
void AuswahlBox::setEintragRahmenFarbe(int i, int f) // set entry border color
|
|
void AuswahlBox::setEintragRahmenFarbe(int i, int f) // set entry border color
|
|
|
{
|
|
{
|
|
|
- if (members->z(i)) members->z(i)->setRahmenFarbe(f);
|
|
|
|
|
|
|
+ if (members->z(i)) members->z(i)->setBorderColor(f);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
void AuswahlBox::setEintragRahmenBreite(
|
|
void AuswahlBox::setEintragRahmenBreite(
|
|
|
int i, int rbr) // set entry border width
|
|
int i, int rbr) // set entry border width
|
|
|
{
|
|
{
|
|
|
- if (members->z(i)) members->z(i)->setRahmenBreite(rbr);
|
|
|
|
|
|
|
+ if (members->z(i)) members->z(i)->setBorderWidth(rbr);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -339,20 +339,20 @@ void AuswahlBox::setEintragHintergrundFarbe(
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setEintragHintergrundBildZ(
|
|
|
|
|
- int i, Bild* bgB) // set entry background image
|
|
|
|
|
|
|
+void AuswahlBox::setEintragHintergrundImageZ(
|
|
|
|
|
+ int i, Image* bgB) // set entry background image
|
|
|
{
|
|
{
|
|
|
if (members->z(i))
|
|
if (members->z(i))
|
|
|
- members->z(i)->setHintergrundBildZ(bgB);
|
|
|
|
|
|
|
+ members->z(i)->setHintergrundImageZ(bgB);
|
|
|
else
|
|
else
|
|
|
bgB->release();
|
|
bgB->release();
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setEintragHintergrundBild(int i, Bild* bgB)
|
|
|
|
|
|
|
+void AuswahlBox::setEintragHintergrundImage(int i, Image* bgB)
|
|
|
{
|
|
{
|
|
|
if (members->z(i))
|
|
if (members->z(i))
|
|
|
- members->z(i)->setHintergrundBild(bgB);
|
|
|
|
|
|
|
+ members->z(i)->setHintergrundImage(bgB);
|
|
|
else
|
|
else
|
|
|
bgB->release();
|
|
bgB->release();
|
|
|
rend = 1;
|
|
rend = 1;
|
|
@@ -379,24 +379,24 @@ void AuswahlBox::setEintragAlphaFeldStrength(
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setAuswRahmenZ(Rahmen* rahmen) // set selection border
|
|
|
|
|
|
|
+void AuswahlBox::setSelBorderZ(Border* rahmen) // set selection border
|
|
|
{
|
|
{
|
|
|
- if (auswRahmen) auswRahmen->release();
|
|
|
|
|
- auswRahmen = rahmen;
|
|
|
|
|
|
|
+ if (selBorder) selBorder->release();
|
|
|
|
|
+ selBorder = rahmen;
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
void AuswahlBox::setAuswRahmenFarbe(int f) // set selection border color
|
|
void AuswahlBox::setAuswRahmenFarbe(int f) // set selection border color
|
|
|
{
|
|
{
|
|
|
- if (!auswRahmen) auswRahmen = new LRahmen();
|
|
|
|
|
- auswRahmen->setFarbe(f);
|
|
|
|
|
|
|
+ if (!selBorder) selBorder = new LBorder();
|
|
|
|
|
+ selBorder->setFarbe(f);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
void AuswahlBox::setAuswRahmenBreite(int rbr) // set selection border width
|
|
void AuswahlBox::setAuswRahmenBreite(int rbr) // set selection border width
|
|
|
{
|
|
{
|
|
|
- if (!auswRahmen) auswRahmen = new LRahmen();
|
|
|
|
|
- auswRahmen->setRamenBreite(rbr);
|
|
|
|
|
|
|
+ if (!selBorder) selBorder = new LBorder();
|
|
|
|
|
+ selBorder->setRamenBreite(rbr);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -407,19 +407,19 @@ void AuswahlBox::setAuswHintergrundFarbe(
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setAuswHintergrundBildZ(
|
|
|
|
|
- Bild* bgB) // set selection background image
|
|
|
|
|
|
|
+void AuswahlBox::setAuswHintergrundImageZ(
|
|
|
|
|
+ Image* bgB) // set selection background image
|
|
|
{
|
|
{
|
|
|
if (auswBgB) auswBgB->release();
|
|
if (auswBgB) auswBgB->release();
|
|
|
auswBgB = bgB;
|
|
auswBgB = bgB;
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setAuswHintergrundBild(Bild* bgB)
|
|
|
|
|
|
|
+void AuswahlBox::setAuswHintergrundImage(Image* bgB)
|
|
|
{
|
|
{
|
|
|
- if (!auswBgB) auswBgB = new Bild();
|
|
|
|
|
- auswBgB->neuBild(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
- auswBgB->drawBild(0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
|
|
|
|
|
+ if (!auswBgB) auswBgB = new Image();
|
|
|
|
|
+ auswBgB->neuImage(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
+ auswBgB->drawImage(0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
|
bgB->release();
|
|
bgB->release();
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
@@ -446,16 +446,16 @@ void AuswahlBox::setAuswAlphaFeldStrength(
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setMsAuswRahmenZ(
|
|
|
|
|
- int i, Rahmen* rahmen) // set multistyle selection border
|
|
|
|
|
|
|
+void AuswahlBox::setMsSelBorderZ(
|
|
|
|
|
+ int i, Border* rahmen) // set multistyle selection border
|
|
|
{
|
|
{
|
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
|
{
|
|
{
|
|
|
rahmen->release();
|
|
rahmen->release();
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- if (!msAuswRahmen) msAuswRahmen = new RCArray<Rahmen>();
|
|
|
|
|
- msAuswRahmen->set(rahmen, i);
|
|
|
|
|
|
|
+ if (!msSelBorder) msSelBorder = new RCArray<Border>();
|
|
|
|
|
+ msSelBorder->set(rahmen, i);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -463,9 +463,9 @@ void AuswahlBox::setMsAuswRahmenFarbe(
|
|
|
int i, int f) // set multistyle selection border color
|
|
int i, int f) // set multistyle selection border color
|
|
|
{
|
|
{
|
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl) return;
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl) return;
|
|
|
- if (!msAuswRahmen) msAuswRahmen = new RCArray<Rahmen>();
|
|
|
|
|
- if (!msAuswRahmen->z(i)) msAuswRahmen->set(new LRahmen(), i);
|
|
|
|
|
- msAuswRahmen->z(i)->setFarbe(f);
|
|
|
|
|
|
|
+ if (!msSelBorder) msSelBorder = new RCArray<Border>();
|
|
|
|
|
+ if (!msSelBorder->z(i)) msSelBorder->set(new LBorder(), i);
|
|
|
|
|
+ msSelBorder->z(i)->setFarbe(f);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -473,9 +473,9 @@ void AuswahlBox::setMsAuswRahmenBreite(
|
|
|
int i, int rbr) // set multistyle selection width
|
|
int i, int rbr) // set multistyle selection width
|
|
|
{
|
|
{
|
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl) return;
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl) return;
|
|
|
- if (!msAuswRahmen) msAuswRahmen = new RCArray<Rahmen>();
|
|
|
|
|
- if (!msAuswRahmen->z(i)) msAuswRahmen->set(new LRahmen(), i);
|
|
|
|
|
- msAuswRahmen->z(i)->setRamenBreite(rbr);
|
|
|
|
|
|
|
+ if (!msSelBorder) msSelBorder = new RCArray<Border>();
|
|
|
|
|
+ if (!msSelBorder->z(i)) msSelBorder->set(new LBorder(), i);
|
|
|
|
|
+ msSelBorder->z(i)->setRamenBreite(rbr);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -488,38 +488,38 @@ void AuswahlBox::setMsAuswHintergrundFarbe(
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setMsAuswHintergrundBildZ(
|
|
|
|
|
- int i, Bild* bgB) // set multistyle selection background image
|
|
|
|
|
|
|
+void AuswahlBox::setMsAuswHintergrundImageZ(
|
|
|
|
|
+ int i, Image* bgB) // set multistyle selection background image
|
|
|
{
|
|
{
|
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
|
{
|
|
{
|
|
|
bgB->release();
|
|
bgB->release();
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- if (!msAuswBgB) msAuswBgB = new RCArray<Bild>();
|
|
|
|
|
|
|
+ if (!msAuswBgB) msAuswBgB = new RCArray<Image>();
|
|
|
msAuswBgB->set(bgB, i);
|
|
msAuswBgB->set(bgB, i);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setMsAuswHintergrundBild(int i, Bild* bgB)
|
|
|
|
|
|
|
+void AuswahlBox::setMsAuswHintergrundImage(int i, Image* bgB)
|
|
|
{
|
|
{
|
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
|
{
|
|
{
|
|
|
bgB->release();
|
|
bgB->release();
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- if (!msAuswBgB) msAuswBgB = new RCArray<Bild>();
|
|
|
|
|
|
|
+ if (!msAuswBgB) msAuswBgB = new RCArray<Image>();
|
|
|
if (!msAuswBgB->z(i))
|
|
if (!msAuswBgB->z(i))
|
|
|
{
|
|
{
|
|
|
- Bild* z = new Bild;
|
|
|
|
|
- z->neuBild(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
- z->drawBild(0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
|
|
|
|
|
+ Image* z = new Image;
|
|
|
|
|
+ z->neuImage(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
+ z->drawImage(0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
|
msAuswBgB->set(z, i);
|
|
msAuswBgB->set(z, i);
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
- msAuswBgB->z(i)->neuBild(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
- msAuswBgB->z(i)->drawBild(
|
|
|
|
|
|
|
+ msAuswBgB->z(i)->neuImage(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
+ msAuswBgB->z(i)->drawImage(
|
|
|
0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
|
}
|
|
}
|
|
|
bgB->release();
|
|
bgB->release();
|
|
@@ -559,24 +559,24 @@ void AuswahlBox::setMsAuswAlphaFeldStrength(
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setMausRahmenZ(Rahmen* rahmen) // set mouse border
|
|
|
|
|
|
|
+void AuswahlBox::setMouseBorderZ(Border* rahmen) // set mouse border
|
|
|
{
|
|
{
|
|
|
- if (mausRahmen) mausRahmen->release();
|
|
|
|
|
- mausRahmen = rahmen;
|
|
|
|
|
|
|
+ if (mouseBorder) mouseBorder->release();
|
|
|
|
|
+ mouseBorder = rahmen;
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
void AuswahlBox::setMausRahmenFarbe(int f) // set mouse border color
|
|
void AuswahlBox::setMausRahmenFarbe(int f) // set mouse border color
|
|
|
{
|
|
{
|
|
|
- if (!mausRahmen) mausRahmen = new LRahmen();
|
|
|
|
|
- mausRahmen->setFarbe(f);
|
|
|
|
|
|
|
+ if (!mouseBorder) mouseBorder = new LBorder();
|
|
|
|
|
+ mouseBorder->setFarbe(f);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
void AuswahlBox::setMausRahmenBreite(int rbr) // set mouse border width
|
|
void AuswahlBox::setMausRahmenBreite(int rbr) // set mouse border width
|
|
|
{
|
|
{
|
|
|
- if (!mausRahmen) mausRahmen = new LRahmen();
|
|
|
|
|
- mausRahmen->setRamenBreite(rbr);
|
|
|
|
|
|
|
+ if (!mouseBorder) mouseBorder = new LBorder();
|
|
|
|
|
+ mouseBorder->setRamenBreite(rbr);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -586,19 +586,19 @@ void AuswahlBox::setMausHintergrundFarbe(int f) // set mouse background color
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setMausHintergrundBildZ(
|
|
|
|
|
- Bild* bgB) // set mouse background image
|
|
|
|
|
|
|
+void AuswahlBox::setMausHintergrundImageZ(
|
|
|
|
|
+ Image* bgB) // set mouse background image
|
|
|
{
|
|
{
|
|
|
if (mausBgB) mausBgB->release();
|
|
if (mausBgB) mausBgB->release();
|
|
|
mausBgB = bgB;
|
|
mausBgB = bgB;
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setMausHintergrundBild(Bild* bgB)
|
|
|
|
|
|
|
+void AuswahlBox::setMausHintergrundImage(Image* bgB)
|
|
|
{
|
|
{
|
|
|
- if (!mausBgB) mausBgB = new Bild();
|
|
|
|
|
- mausBgB->neuBild(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
- mausBgB->drawBild(0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
|
|
|
|
|
+ if (!mausBgB) mausBgB = new Image();
|
|
|
|
|
+ mausBgB->neuImage(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
+ mausBgB->drawImage(0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
|
bgB->release();
|
|
bgB->release();
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
@@ -625,16 +625,16 @@ void AuswahlBox::setMausAlphaFeldStrength(
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setMsMausRahmenZ(
|
|
|
|
|
- int i, Rahmen* rahmen) // set multistyle mouse border
|
|
|
|
|
|
|
+void AuswahlBox::setMsMouseBorderZ(
|
|
|
|
|
+ int i, Border* rahmen) // set multistyle mouse border
|
|
|
{
|
|
{
|
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
|
{
|
|
{
|
|
|
rahmen->release();
|
|
rahmen->release();
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- if (!msMausRahmen) msMausRahmen = new RCArray<Rahmen>();
|
|
|
|
|
- msMausRahmen->set(rahmen, i);
|
|
|
|
|
|
|
+ if (!msMouseBorder) msMouseBorder = new RCArray<Border>();
|
|
|
|
|
+ msMouseBorder->set(rahmen, i);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -642,9 +642,9 @@ void AuswahlBox::setMsMausRahmenFarbe(
|
|
|
int i, int f) // set multistyle mouse border color
|
|
int i, int f) // set multistyle mouse border color
|
|
|
{
|
|
{
|
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl) return;
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl) return;
|
|
|
- if (!msMausRahmen) msMausRahmen = new RCArray<Rahmen>();
|
|
|
|
|
- if (!msMausRahmen->z(i)) msMausRahmen->set(new LRahmen(), i);
|
|
|
|
|
- msMausRahmen->z(i)->setFarbe(f);
|
|
|
|
|
|
|
+ if (!msMouseBorder) msMouseBorder = new RCArray<Border>();
|
|
|
|
|
+ if (!msMouseBorder->z(i)) msMouseBorder->set(new LBorder(), i);
|
|
|
|
|
+ msMouseBorder->z(i)->setFarbe(f);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -652,9 +652,9 @@ void AuswahlBox::setMsMausRahmenBreite(
|
|
|
int i, int rbr) // set multistyle mouse border width
|
|
int i, int rbr) // set multistyle mouse border width
|
|
|
{
|
|
{
|
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl) return;
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl) return;
|
|
|
- if (!msMausRahmen) msMausRahmen = new RCArray<Rahmen>();
|
|
|
|
|
- if (!msMausRahmen->z(i)) msMausRahmen->set(new LRahmen(), i);
|
|
|
|
|
- msMausRahmen->z(i)->setRamenBreite(rbr);
|
|
|
|
|
|
|
+ if (!msMouseBorder) msMouseBorder = new RCArray<Border>();
|
|
|
|
|
+ if (!msMouseBorder->z(i)) msMouseBorder->set(new LBorder(), i);
|
|
|
|
|
+ msMouseBorder->z(i)->setRamenBreite(rbr);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -667,38 +667,38 @@ void AuswahlBox::setMsMausHintergrundFarbe(
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setMsMausHintergrundBildZ(
|
|
|
|
|
- int i, Bild* bgB) // set multistyle mouse background image
|
|
|
|
|
|
|
+void AuswahlBox::setMsMausHintergrundImageZ(
|
|
|
|
|
+ int i, Image* bgB) // set multistyle mouse background image
|
|
|
{
|
|
{
|
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
|
{
|
|
{
|
|
|
bgB->release();
|
|
bgB->release();
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- if (!msMausBgB) msMausBgB = new RCArray<Bild>();
|
|
|
|
|
|
|
+ if (!msMausBgB) msMausBgB = new RCArray<Image>();
|
|
|
msMausBgB->set(bgB, i);
|
|
msMausBgB->set(bgB, i);
|
|
|
rend = 1;
|
|
rend = 1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::setMsMausHintergrundBild(int i, Bild* bgB)
|
|
|
|
|
|
|
+void AuswahlBox::setMsMausHintergrundImage(int i, Image* bgB)
|
|
|
{
|
|
{
|
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
if (hatStyleNicht(Style::MultiStyled) || i >= anzahl)
|
|
|
{
|
|
{
|
|
|
bgB->release();
|
|
bgB->release();
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- if (!msMausBgB) msMausBgB = new RCArray<Bild>();
|
|
|
|
|
|
|
+ if (!msMausBgB) msMausBgB = new RCArray<Image>();
|
|
|
if (!msMausBgB->z(i))
|
|
if (!msMausBgB->z(i))
|
|
|
{
|
|
{
|
|
|
- Bild* z = new Bild;
|
|
|
|
|
- z->neuBild(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
- z->drawBild(0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
|
|
|
|
|
+ Image* z = new Image;
|
|
|
|
|
+ z->neuImage(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
+ z->drawImage(0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
|
msMausBgB->set(z, i);
|
|
msMausBgB->set(z, i);
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
- msMausBgB->z(i)->neuBild(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
- msMausBgB->z(i)->drawBild(
|
|
|
|
|
|
|
+ msMausBgB->z(i)->neuImage(bgB->getBreite(), bgB->getHeight(), 0);
|
|
|
|
|
+ msMausBgB->z(i)->drawImage(
|
|
|
0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
0, 0, bgB->getBreite(), bgB->getHeight(), *bgB);
|
|
|
}
|
|
}
|
|
|
bgB->release();
|
|
bgB->release();
|
|
@@ -919,7 +919,7 @@ void AuswahlBox::doTastaturEreignis(TastaturEreignis& te) // Keyboard
|
|
|
if (te.verarbeitet && nTak) te.verarbeitet = nTak(ntakParam, this, te);
|
|
if (te.verarbeitet && nTak) te.verarbeitet = nTak(ntakParam, this, te);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
|
|
|
|
+void AuswahlBox::render(Image& zRObj) // renders into zRObj
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::Sichtbar))
|
|
if (hatStyle(Style::Sichtbar))
|
|
|
{
|
|
{
|
|
@@ -934,7 +934,7 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
int rbr = 0;
|
|
int rbr = 0;
|
|
|
- if (hatStyle(Style::Rahmen) && rahmen) // Draw border
|
|
|
|
|
|
|
+ if (hatStyle(Style::Border) && rahmen) // Draw border
|
|
|
{
|
|
{
|
|
|
rahmen->setSize(br, hi);
|
|
rahmen->setSize(br, hi);
|
|
|
rahmen->render(zRObj);
|
|
rahmen->render(zRObj);
|
|
@@ -956,12 +956,12 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
zRObj.alphaRegion(0, 0, br, hi, hintergrundFarbe);
|
|
zRObj.alphaRegion(0, 0, br, hi, hintergrundFarbe);
|
|
|
else
|
|
else
|
|
|
zRObj.fillRegion(0, 0, br, hi, hintergrundFarbe);
|
|
zRObj.fillRegion(0, 0, br, hi, hintergrundFarbe);
|
|
|
- if (hatStyle(Style::HBild) && hintergrundBild)
|
|
|
|
|
|
|
+ if (hatStyle(Style::HImage) && hintergrundImage)
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::HAlpha))
|
|
if (hatStyle(Style::HAlpha))
|
|
|
- zRObj.alphaBild(0, 0, br, hi, *hintergrundBild);
|
|
|
|
|
|
|
+ zRObj.alphaImage(0, 0, br, hi, *hintergrundImage);
|
|
|
else
|
|
else
|
|
|
- zRObj.drawBild(0, 0, br, hi, *hintergrundBild);
|
|
|
|
|
|
|
+ zRObj.drawImage(0, 0, br, hi, *hintergrundImage);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::Buffered) && hintergrundFeld)
|
|
if (hatStyle(Style::Buffered) && hintergrundFeld)
|
|
@@ -987,17 +987,17 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
auswahl = anzahl - 1;
|
|
auswahl = anzahl - 1;
|
|
|
if (eAk) eAk(eAkP, this, 0, auswahl);
|
|
if (eAk) eAk(eAkP, this, 0, auswahl);
|
|
|
}
|
|
}
|
|
|
- TextFeld* tf = auswahl >= 0 ? members->z(auswahl) : 0;
|
|
|
|
|
|
|
+ TextField* tf = auswahl >= 0 ? members->z(auswahl) : 0;
|
|
|
if (tf)
|
|
if (tf)
|
|
|
{
|
|
{
|
|
|
AlphaFeld* tmpBuffer = 0;
|
|
AlphaFeld* tmpBuffer = 0;
|
|
|
bool tmpB = 0;
|
|
bool tmpB = 0;
|
|
|
int tmpHFarbe = 0;
|
|
int tmpHFarbe = 0;
|
|
|
bool tmpH = 0;
|
|
bool tmpH = 0;
|
|
|
- Bild* tmpHBild = 0;
|
|
|
|
|
|
|
+ Image* tmpHImage = 0;
|
|
|
bool tmpHB = 0;
|
|
bool tmpHB = 0;
|
|
|
bool tmpHAlpha = 0;
|
|
bool tmpHAlpha = 0;
|
|
|
- Rahmen* tmpRahmen = 0;
|
|
|
|
|
|
|
+ Border* tmpBorder = 0;
|
|
|
bool tmpR = 0;
|
|
bool tmpR = 0;
|
|
|
if (hatStyleNicht(Style::MultiStyled) || !msStyle)
|
|
if (hatStyleNicht(Style::MultiStyled) || !msStyle)
|
|
|
{
|
|
{
|
|
@@ -1006,41 +1006,41 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
|
tf->setAlphaFeldZ(
|
|
tf->setAlphaFeldZ(
|
|
|
dynamic_cast<AlphaFeld*>(auswAf->getThis()));
|
|
dynamic_cast<AlphaFeld*>(auswAf->getThis()));
|
|
|
- tmpB = tf->hatStyle(TextFeld::Style::Buffered);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Buffered,
|
|
|
|
|
|
|
+ tmpB = tf->hatStyle(TextField::Style::Buffered);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered,
|
|
|
hatStyle(Style::AuswahlBuffer));
|
|
hatStyle(Style::AuswahlBuffer));
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::AuswahlHintergrund))
|
|
if (hatStyle(Style::AuswahlHintergrund))
|
|
|
{
|
|
{
|
|
|
- tmpH = tf->hatStyle(TextFeld::Style::Hintergrund);
|
|
|
|
|
|
|
+ tmpH = tf->hatStyle(TextField::Style::Hintergrund);
|
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
|
tf->setHintergrundFarbe(auswBgF);
|
|
tf->setHintergrundFarbe(auswBgF);
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund,
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund,
|
|
|
hatStyle(Style::Hintergrund));
|
|
hatStyle(Style::Hintergrund));
|
|
|
- if (hatStyle(Style::AuswahlHBild))
|
|
|
|
|
|
|
+ if (hatStyle(Style::AuswahlHImage))
|
|
|
{
|
|
{
|
|
|
- tmpHBild = tf->getHintergrundBild();
|
|
|
|
|
- tf->setHintergrundBildZ(
|
|
|
|
|
- dynamic_cast<Bild*>(auswBgB->getThis()));
|
|
|
|
|
- tmpHB = tf->hatStyle(TextFeld::Style::HBild);
|
|
|
|
|
|
|
+ tmpHImage = tf->getHintergrundImage();
|
|
|
|
|
+ tf->setHintergrundImageZ(
|
|
|
|
|
+ dynamic_cast<Image*>(auswBgB->getThis()));
|
|
|
|
|
+ tmpHB = tf->hatStyle(TextField::Style::HImage);
|
|
|
tf->setStyle(
|
|
tf->setStyle(
|
|
|
- TextFeld::Style::HBild, hatStyle(Style::HBild));
|
|
|
|
|
|
|
+ TextField::Style::HImage, hatStyle(Style::HImage));
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::AuswahlHAlpha))
|
|
if (hatStyle(Style::AuswahlHAlpha))
|
|
|
{
|
|
{
|
|
|
- tmpHAlpha = tf->hatStyle(TextFeld::Style::HAlpha);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HAlpha,
|
|
|
|
|
|
|
+ tmpHAlpha = tf->hatStyle(TextField::Style::HAlpha);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HAlpha,
|
|
|
hatStyle(Style::AuswahlHAlpha));
|
|
hatStyle(Style::AuswahlHAlpha));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if (hatStyle(Style::AuswahlRahmen))
|
|
|
|
|
|
|
+ if (hatStyle(Style::SelectionBorder))
|
|
|
{
|
|
{
|
|
|
- tmpRahmen = tf->getRahmen();
|
|
|
|
|
- tf->setRahmenZ(
|
|
|
|
|
- dynamic_cast<Rahmen*>(auswRahmen->getThis()));
|
|
|
|
|
- tmpR = tf->hatStyle(TextFeld::Style::Rahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen,
|
|
|
|
|
- hatStyle(Style::AuswahlRahmen));
|
|
|
|
|
|
|
+ tmpBorder = tf->getBorder();
|
|
|
|
|
+ tf->setBorderZ(
|
|
|
|
|
+ dynamic_cast<Border*>(selBorder->getThis()));
|
|
|
|
|
+ tmpR = tf->hatStyle(TextField::Style::Border);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border,
|
|
|
|
|
+ hatStyle(Style::SelectionBorder));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
@@ -1049,44 +1049,44 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
{
|
|
{
|
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
|
tf->setAlphaFeldZ(msAuswAf->get(auswahl));
|
|
tf->setAlphaFeldZ(msAuswAf->get(auswahl));
|
|
|
- tmpB = tf->hatStyle(TextFeld::Style::Buffered);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Buffered,
|
|
|
|
|
|
|
+ tmpB = tf->hatStyle(TextField::Style::Buffered);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered,
|
|
|
hatMsStyle(auswahl, Style::AuswahlBuffer));
|
|
hatMsStyle(auswahl, Style::AuswahlBuffer));
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(auswahl, Style::AuswahlHintergrund))
|
|
if (hatMsStyle(auswahl, Style::AuswahlHintergrund))
|
|
|
{
|
|
{
|
|
|
tmpH = tf->hatStyle(Style::Hintergrund);
|
|
tmpH = tf->hatStyle(Style::Hintergrund);
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund,
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund,
|
|
|
hatMsStyle(auswahl, Style::AuswahlHintergrund));
|
|
hatMsStyle(auswahl, Style::AuswahlHintergrund));
|
|
|
if (msAuswBgF && msAuswBgF->hat(auswahl))
|
|
if (msAuswBgF && msAuswBgF->hat(auswahl))
|
|
|
{
|
|
{
|
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
|
tf->setHintergrundFarbe(msAuswBgF->get(auswahl));
|
|
tf->setHintergrundFarbe(msAuswBgF->get(auswahl));
|
|
|
}
|
|
}
|
|
|
- if (hatMsStyle(auswahl, Style::AuswahlHBild)
|
|
|
|
|
|
|
+ if (hatMsStyle(auswahl, Style::AuswahlHImage)
|
|
|
&& msAuswBgB)
|
|
&& msAuswBgB)
|
|
|
{
|
|
{
|
|
|
- tmpHBild = tf->getHintergrundBild();
|
|
|
|
|
- tf->setHintergrundBildZ(msAuswBgB->get(auswahl));
|
|
|
|
|
- tmpHB = tf->hatStyle(TextFeld::Style::HBild);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HBild,
|
|
|
|
|
- hatMsStyle(auswahl, Style::HBild));
|
|
|
|
|
|
|
+ tmpHImage = tf->getHintergrundImage();
|
|
|
|
|
+ tf->setHintergrundImageZ(msAuswBgB->get(auswahl));
|
|
|
|
|
+ tmpHB = tf->hatStyle(TextField::Style::HImage);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HImage,
|
|
|
|
|
+ hatMsStyle(auswahl, Style::HImage));
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(auswahl, Style::AuswahlHAlpha))
|
|
if (hatMsStyle(auswahl, Style::AuswahlHAlpha))
|
|
|
{
|
|
{
|
|
|
- tmpHAlpha = tf->hatStyle(TextFeld::Style::HAlpha);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HAlpha,
|
|
|
|
|
|
|
+ tmpHAlpha = tf->hatStyle(TextField::Style::HAlpha);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HAlpha,
|
|
|
hatMsStyle(auswahl, Style::AuswahlHAlpha));
|
|
hatMsStyle(auswahl, Style::AuswahlHAlpha));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if (hatMsStyle(auswahl, Style::AuswahlRahmen)
|
|
|
|
|
- && msAuswRahmen)
|
|
|
|
|
|
|
+ if (hatMsStyle(auswahl, Style::SelectionBorder)
|
|
|
|
|
+ && msSelBorder)
|
|
|
{
|
|
{
|
|
|
- tmpRahmen = tf->getRahmen();
|
|
|
|
|
- tf->setRahmenZ(msAuswRahmen->get(auswahl));
|
|
|
|
|
- tmpR = tf->hatStyle(TextFeld::Style::Rahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen,
|
|
|
|
|
- hatMsStyle(auswahl, Style::AuswahlRahmen));
|
|
|
|
|
|
|
+ tmpBorder = tf->getBorder();
|
|
|
|
|
+ tf->setBorderZ(msSelBorder->get(auswahl));
|
|
|
|
|
+ tmpR = tf->hatStyle(TextField::Style::Border);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border,
|
|
|
|
|
+ hatMsStyle(auswahl, Style::SelectionBorder));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
int tmpHi = tf->getHeight();
|
|
int tmpHi = tf->getHeight();
|
|
@@ -1101,24 +1101,24 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
if (hatStyle(Style::AuswahlBuffer))
|
|
if (hatStyle(Style::AuswahlBuffer))
|
|
|
{
|
|
{
|
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
|
- tf->setStyle(TextFeld::Style::Buffered, tmpB);
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered, tmpB);
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::AuswahlHintergrund))
|
|
if (hatStyle(Style::AuswahlHintergrund))
|
|
|
{
|
|
{
|
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund, tmpH);
|
|
|
|
|
- if (hatStyle(Style::AuswahlHBild))
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund, tmpH);
|
|
|
|
|
+ if (hatStyle(Style::AuswahlHImage))
|
|
|
{
|
|
{
|
|
|
- tf->setHintergrundBildZ(tmpHBild);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HBild, tmpHB);
|
|
|
|
|
|
|
+ tf->setHintergrundImageZ(tmpHImage);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HImage, tmpHB);
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::AuswahlHAlpha))
|
|
if (hatStyle(Style::AuswahlHAlpha))
|
|
|
- tf->setStyle(TextFeld::Style::HAlpha, tmpHAlpha);
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::HAlpha, tmpHAlpha);
|
|
|
}
|
|
}
|
|
|
- if (hatStyle(Style::AuswahlRahmen))
|
|
|
|
|
|
|
+ if (hatStyle(Style::SelectionBorder))
|
|
|
{
|
|
{
|
|
|
- tf->setRahmenZ(tmpRahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen, tmpR);
|
|
|
|
|
|
|
+ tf->setBorderZ(tmpBorder);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border, tmpR);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
@@ -1126,27 +1126,27 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
if (hatMsStyle(auswahl, Style::AuswahlBuffer) && msAuswAf)
|
|
if (hatMsStyle(auswahl, Style::AuswahlBuffer) && msAuswAf)
|
|
|
{
|
|
{
|
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
|
- tf->setStyle(TextFeld::Style::Buffered, tmpB);
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered, tmpB);
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(auswahl, Style::AuswahlHintergrund))
|
|
if (hatMsStyle(auswahl, Style::AuswahlHintergrund))
|
|
|
{
|
|
{
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund, tmpH);
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund, tmpH);
|
|
|
if (msAuswBgF && msAuswBgF->hat(auswahl))
|
|
if (msAuswBgF && msAuswBgF->hat(auswahl))
|
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
|
- if (hatMsStyle(auswahl, Style::AuswahlHBild)
|
|
|
|
|
|
|
+ if (hatMsStyle(auswahl, Style::AuswahlHImage)
|
|
|
&& msAuswBgB)
|
|
&& msAuswBgB)
|
|
|
{
|
|
{
|
|
|
- tf->setHintergrundBildZ(tmpHBild);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HBild, tmpHB);
|
|
|
|
|
|
|
+ tf->setHintergrundImageZ(tmpHImage);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HImage, tmpHB);
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(auswahl, Style::AuswahlHAlpha))
|
|
if (hatMsStyle(auswahl, Style::AuswahlHAlpha))
|
|
|
- tf->setStyle(TextFeld::Style::HAlpha, tmpHAlpha);
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::HAlpha, tmpHAlpha);
|
|
|
}
|
|
}
|
|
|
- if (hatMsStyle(auswahl, Style::AuswahlRahmen)
|
|
|
|
|
- && msAuswRahmen)
|
|
|
|
|
|
|
+ if (hatMsStyle(auswahl, Style::SelectionBorder)
|
|
|
|
|
+ && msSelBorder)
|
|
|
{
|
|
{
|
|
|
- tf->setRahmenZ(tmpRahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen, tmpR);
|
|
|
|
|
|
|
+ tf->setBorderZ(tmpBorder);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border, tmpR);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1187,7 +1187,7 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
anzahl = members->getEintragAnzahl();
|
|
anzahl = members->getEintragAnzahl();
|
|
|
for (int i = 0; i < anzahl; ++i)
|
|
for (int i = 0; i < anzahl; ++i)
|
|
|
{
|
|
{
|
|
|
- TextFeld* tf = members->z(i);
|
|
|
|
|
|
|
+ TextField* tf = members->z(i);
|
|
|
if (dy >= mdy && !vsb) break;
|
|
if (dy >= mdy && !vsb) break;
|
|
|
tf->setPosition(0, dy);
|
|
tf->setPosition(0, dy);
|
|
|
tf->setSize(br - rbr * 2, tf->getHeight());
|
|
tf->setSize(br - rbr * 2, tf->getHeight());
|
|
@@ -1197,10 +1197,10 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
bool tmpB = 0;
|
|
bool tmpB = 0;
|
|
|
int tmpHFarbe = 0;
|
|
int tmpHFarbe = 0;
|
|
|
bool tmpH = 0;
|
|
bool tmpH = 0;
|
|
|
- Bild* tmpHBild = 0;
|
|
|
|
|
|
|
+ Image* tmpHImage = 0;
|
|
|
bool tmpHB = 0;
|
|
bool tmpHB = 0;
|
|
|
bool tmpHAlpha = 0;
|
|
bool tmpHAlpha = 0;
|
|
|
- Rahmen* tmpRahmen = 0;
|
|
|
|
|
|
|
+ Border* tmpBorder = 0;
|
|
|
bool tmpR = 0;
|
|
bool tmpR = 0;
|
|
|
if (selected)
|
|
if (selected)
|
|
|
{
|
|
{
|
|
@@ -1211,42 +1211,42 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
|
tf->setAlphaFeldZ(
|
|
tf->setAlphaFeldZ(
|
|
|
dynamic_cast<AlphaFeld*>(auswAf->getThis()));
|
|
dynamic_cast<AlphaFeld*>(auswAf->getThis()));
|
|
|
- tmpB = tf->hatStyle(TextFeld::Style::Buffered);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Buffered,
|
|
|
|
|
|
|
+ tmpB = tf->hatStyle(TextField::Style::Buffered);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered,
|
|
|
hatStyle(Style::AuswahlBuffer));
|
|
hatStyle(Style::AuswahlBuffer));
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::AuswahlHintergrund))
|
|
if (hatStyle(Style::AuswahlHintergrund))
|
|
|
{
|
|
{
|
|
|
- tmpH = tf->hatStyle(TextFeld::Style::Hintergrund);
|
|
|
|
|
|
|
+ tmpH = tf->hatStyle(TextField::Style::Hintergrund);
|
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
|
tf->setHintergrundFarbe(auswBgF);
|
|
tf->setHintergrundFarbe(auswBgF);
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund,
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund,
|
|
|
hatStyle(Style::Hintergrund));
|
|
hatStyle(Style::Hintergrund));
|
|
|
- if (hatStyle(Style::AuswahlHBild))
|
|
|
|
|
|
|
+ if (hatStyle(Style::AuswahlHImage))
|
|
|
{
|
|
{
|
|
|
- tmpHBild = tf->getHintergrundBild();
|
|
|
|
|
- tf->setHintergrundBildZ(
|
|
|
|
|
- dynamic_cast<Bild*>(auswBgB->getThis()));
|
|
|
|
|
- tmpHB = tf->hatStyle(TextFeld::Style::HBild);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HBild,
|
|
|
|
|
- hatStyle(Style::HBild));
|
|
|
|
|
|
|
+ tmpHImage = tf->getHintergrundImage();
|
|
|
|
|
+ tf->setHintergrundImageZ(
|
|
|
|
|
+ dynamic_cast<Image*>(auswBgB->getThis()));
|
|
|
|
|
+ tmpHB = tf->hatStyle(TextField::Style::HImage);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HImage,
|
|
|
|
|
+ hatStyle(Style::HImage));
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::AuswahlHAlpha))
|
|
if (hatStyle(Style::AuswahlHAlpha))
|
|
|
{
|
|
{
|
|
|
tmpHAlpha
|
|
tmpHAlpha
|
|
|
- = tf->hatStyle(TextFeld::Style::HAlpha);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HAlpha,
|
|
|
|
|
|
|
+ = tf->hatStyle(TextField::Style::HAlpha);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HAlpha,
|
|
|
hatStyle(Style::AuswahlHAlpha));
|
|
hatStyle(Style::AuswahlHAlpha));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if (hatStyle(Style::AuswahlRahmen))
|
|
|
|
|
|
|
+ if (hatStyle(Style::SelectionBorder))
|
|
|
{
|
|
{
|
|
|
- tmpRahmen = tf->getRahmen();
|
|
|
|
|
- tf->setRahmenZ(
|
|
|
|
|
- dynamic_cast<Rahmen*>(auswRahmen->getThis()));
|
|
|
|
|
- tmpR = tf->hatStyle(TextFeld::Style::Rahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen,
|
|
|
|
|
- hatStyle(Style::AuswahlRahmen));
|
|
|
|
|
|
|
+ tmpBorder = tf->getBorder();
|
|
|
|
|
+ tf->setBorderZ(
|
|
|
|
|
+ dynamic_cast<Border*>(selBorder->getThis()));
|
|
|
|
|
+ tmpR = tf->hatStyle(TextField::Style::Border);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border,
|
|
|
|
|
+ hatStyle(Style::SelectionBorder));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
@@ -1255,43 +1255,43 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
{
|
|
{
|
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
|
tf->setAlphaFeldZ(msAuswAf->get(i));
|
|
tf->setAlphaFeldZ(msAuswAf->get(i));
|
|
|
- tmpB = tf->hatStyle(TextFeld::Style::Buffered);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Buffered,
|
|
|
|
|
|
|
+ tmpB = tf->hatStyle(TextField::Style::Buffered);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered,
|
|
|
hatMsStyle(i, Style::AuswahlBuffer));
|
|
hatMsStyle(i, Style::AuswahlBuffer));
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(i, Style::AuswahlHintergrund))
|
|
if (hatMsStyle(i, Style::AuswahlHintergrund))
|
|
|
{
|
|
{
|
|
|
tmpH = tf->hatStyle(Style::Hintergrund);
|
|
tmpH = tf->hatStyle(Style::Hintergrund);
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund,
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund,
|
|
|
hatMsStyle(i, Style::AuswahlHintergrund));
|
|
hatMsStyle(i, Style::AuswahlHintergrund));
|
|
|
if (msAuswBgF && msAuswBgF->hat(i))
|
|
if (msAuswBgF && msAuswBgF->hat(i))
|
|
|
{
|
|
{
|
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
|
tf->setHintergrundFarbe(msAuswBgF->get(i));
|
|
tf->setHintergrundFarbe(msAuswBgF->get(i));
|
|
|
}
|
|
}
|
|
|
- if (hatMsStyle(i, Style::AuswahlHBild) && msAuswBgB)
|
|
|
|
|
|
|
+ if (hatMsStyle(i, Style::AuswahlHImage) && msAuswBgB)
|
|
|
{
|
|
{
|
|
|
- tmpHBild = tf->getHintergrundBild();
|
|
|
|
|
- tf->setHintergrundBildZ(msAuswBgB->get(i));
|
|
|
|
|
- tmpHB = tf->hatStyle(TextFeld::Style::HBild);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HBild,
|
|
|
|
|
- hatMsStyle(i, Style::HBild));
|
|
|
|
|
|
|
+ tmpHImage = tf->getHintergrundImage();
|
|
|
|
|
+ tf->setHintergrundImageZ(msAuswBgB->get(i));
|
|
|
|
|
+ tmpHB = tf->hatStyle(TextField::Style::HImage);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HImage,
|
|
|
|
|
+ hatMsStyle(i, Style::HImage));
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(i, Style::AuswahlHAlpha))
|
|
if (hatMsStyle(i, Style::AuswahlHAlpha))
|
|
|
{
|
|
{
|
|
|
tmpHAlpha
|
|
tmpHAlpha
|
|
|
- = tf->hatStyle(TextFeld::Style::HAlpha);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HAlpha,
|
|
|
|
|
|
|
+ = tf->hatStyle(TextField::Style::HAlpha);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HAlpha,
|
|
|
hatMsStyle(i, Style::AuswahlHAlpha));
|
|
hatMsStyle(i, Style::AuswahlHAlpha));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if (hatMsStyle(i, Style::AuswahlRahmen) && msAuswRahmen)
|
|
|
|
|
|
|
+ if (hatMsStyle(i, Style::SelectionBorder) && msSelBorder)
|
|
|
{
|
|
{
|
|
|
- tmpRahmen = tf->getRahmen();
|
|
|
|
|
- tf->setRahmenZ(msAuswRahmen->get(i));
|
|
|
|
|
- tmpR = tf->hatStyle(TextFeld::Style::Rahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen,
|
|
|
|
|
- hatMsStyle(i, Style::AuswahlRahmen));
|
|
|
|
|
|
|
+ tmpBorder = tf->getBorder();
|
|
|
|
|
+ tf->setBorderZ(msSelBorder->get(i));
|
|
|
|
|
+ tmpR = tf->hatStyle(TextField::Style::Border);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border,
|
|
|
|
|
+ hatMsStyle(i, Style::SelectionBorder));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1304,41 +1304,41 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
|
tf->setAlphaFeldZ(
|
|
tf->setAlphaFeldZ(
|
|
|
dynamic_cast<AlphaFeld*>(mausAf->getThis()));
|
|
dynamic_cast<AlphaFeld*>(mausAf->getThis()));
|
|
|
- tmpB = tf->hatStyle(TextFeld::Style::Buffered);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Buffered,
|
|
|
|
|
|
|
+ tmpB = tf->hatStyle(TextField::Style::Buffered);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered,
|
|
|
hatStyle(Style::MausBuffer));
|
|
hatStyle(Style::MausBuffer));
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::MausHintergrund))
|
|
if (hatStyle(Style::MausHintergrund))
|
|
|
{
|
|
{
|
|
|
- tmpH = tf->hatStyle(TextFeld::Style::Hintergrund);
|
|
|
|
|
|
|
+ tmpH = tf->hatStyle(TextField::Style::Hintergrund);
|
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
|
tf->setHintergrundFarbe(mausBgF);
|
|
tf->setHintergrundFarbe(mausBgF);
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund,
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund,
|
|
|
hatStyle(Style::Hintergrund));
|
|
hatStyle(Style::Hintergrund));
|
|
|
- if (hatStyle(Style::MausHBild))
|
|
|
|
|
|
|
+ if (hatStyle(Style::MausHImage))
|
|
|
{
|
|
{
|
|
|
- tmpHBild = tf->getHintergrundBild();
|
|
|
|
|
- tf->setHintergrundBildZ(
|
|
|
|
|
- dynamic_cast<Bild*>(mausBgB->getThis()));
|
|
|
|
|
- tmpHB = tf->hatStyle(TextFeld::Style::HBild);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HBild,
|
|
|
|
|
- hatStyle(Style::HBild));
|
|
|
|
|
|
|
+ tmpHImage = tf->getHintergrundImage();
|
|
|
|
|
+ tf->setHintergrundImageZ(
|
|
|
|
|
+ dynamic_cast<Image*>(mausBgB->getThis()));
|
|
|
|
|
+ tmpHB = tf->hatStyle(TextField::Style::HImage);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HImage,
|
|
|
|
|
+ hatStyle(Style::HImage));
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::MausHAlpha))
|
|
if (hatStyle(Style::MausHAlpha))
|
|
|
{
|
|
{
|
|
|
tmpHAlpha
|
|
tmpHAlpha
|
|
|
- = tf->hatStyle(TextFeld::Style::HAlpha);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HAlpha,
|
|
|
|
|
|
|
+ = tf->hatStyle(TextField::Style::HAlpha);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HAlpha,
|
|
|
hatStyle(Style::MausHAlpha));
|
|
hatStyle(Style::MausHAlpha));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::MausRahmen))
|
|
if (hatStyle(Style::MausRahmen))
|
|
|
{
|
|
{
|
|
|
- tmpRahmen = tf->getRahmen();
|
|
|
|
|
- tf->setRahmenZ(
|
|
|
|
|
- dynamic_cast<Rahmen*>(mausRahmen->getThis()));
|
|
|
|
|
- tmpR = tf->hatStyle(TextFeld::Style::Rahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen,
|
|
|
|
|
|
|
+ tmpBorder = tf->getBorder();
|
|
|
|
|
+ tf->setBorderZ(
|
|
|
|
|
+ dynamic_cast<Border*>(mouseBorder->getThis()));
|
|
|
|
|
+ tmpR = tf->hatStyle(TextField::Style::Border);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border,
|
|
|
hatStyle(Style::MausRahmen));
|
|
hatStyle(Style::MausRahmen));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1348,42 +1348,42 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
{
|
|
{
|
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
tmpBuffer = tf->getAlphaFeld();
|
|
|
tf->setAlphaFeldZ(msMausAf->get(i));
|
|
tf->setAlphaFeldZ(msMausAf->get(i));
|
|
|
- tmpB = tf->hatStyle(TextFeld::Style::Buffered);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Buffered,
|
|
|
|
|
|
|
+ tmpB = tf->hatStyle(TextField::Style::Buffered);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered,
|
|
|
hatMsStyle(i, Style::MausBuffer));
|
|
hatMsStyle(i, Style::MausBuffer));
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(i, Style::MausHintergrund))
|
|
if (hatMsStyle(i, Style::MausHintergrund))
|
|
|
{
|
|
{
|
|
|
tmpH = tf->hatStyle(Style::Hintergrund);
|
|
tmpH = tf->hatStyle(Style::Hintergrund);
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund,
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund,
|
|
|
hatMsStyle(i, Style::MausHintergrund));
|
|
hatMsStyle(i, Style::MausHintergrund));
|
|
|
if (msMausBgF && msMausBgF->hat(i))
|
|
if (msMausBgF && msMausBgF->hat(i))
|
|
|
{
|
|
{
|
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
tmpHFarbe = tf->getHintergrundFarbe();
|
|
|
tf->setHintergrundFarbe(msMausBgF->get(i));
|
|
tf->setHintergrundFarbe(msMausBgF->get(i));
|
|
|
}
|
|
}
|
|
|
- if (hatMsStyle(i, Style::MausHBild) && msMausBgB)
|
|
|
|
|
|
|
+ if (hatMsStyle(i, Style::MausHImage) && msMausBgB)
|
|
|
{
|
|
{
|
|
|
- tmpHBild = tf->getHintergrundBild();
|
|
|
|
|
- tf->setHintergrundBildZ(msMausBgB->get(i));
|
|
|
|
|
- tmpHB = tf->hatStyle(TextFeld::Style::HBild);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HBild,
|
|
|
|
|
- hatMsStyle(i, Style::HBild));
|
|
|
|
|
|
|
+ tmpHImage = tf->getHintergrundImage();
|
|
|
|
|
+ tf->setHintergrundImageZ(msMausBgB->get(i));
|
|
|
|
|
+ tmpHB = tf->hatStyle(TextField::Style::HImage);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HImage,
|
|
|
|
|
+ hatMsStyle(i, Style::HImage));
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(i, Style::MausHAlpha))
|
|
if (hatMsStyle(i, Style::MausHAlpha))
|
|
|
{
|
|
{
|
|
|
tmpHAlpha
|
|
tmpHAlpha
|
|
|
- = tf->hatStyle(TextFeld::Style::HAlpha);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HAlpha,
|
|
|
|
|
|
|
+ = tf->hatStyle(TextField::Style::HAlpha);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HAlpha,
|
|
|
hatMsStyle(i, Style::MausHAlpha));
|
|
hatMsStyle(i, Style::MausHAlpha));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if (hatMsStyle(i, Style::MausRahmen) && msMausRahmen)
|
|
|
|
|
|
|
+ if (hatMsStyle(i, Style::MausRahmen) && msMouseBorder)
|
|
|
{
|
|
{
|
|
|
- tmpRahmen = tf->getRahmen();
|
|
|
|
|
- tf->setRahmenZ(msMausRahmen->get(i));
|
|
|
|
|
- tmpR = tf->hatStyle(TextFeld::Style::Rahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen,
|
|
|
|
|
|
|
+ tmpBorder = tf->getBorder();
|
|
|
|
|
+ tf->setBorderZ(msMouseBorder->get(i));
|
|
|
|
|
+ tmpR = tf->hatStyle(TextField::Style::Border);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border,
|
|
|
hatMsStyle(i, Style::MausRahmen));
|
|
hatMsStyle(i, Style::MausRahmen));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1396,25 +1396,25 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
if (hatStyle(Style::AuswahlBuffer))
|
|
if (hatStyle(Style::AuswahlBuffer))
|
|
|
{
|
|
{
|
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
|
- tf->setStyle(TextFeld::Style::Buffered, tmpB);
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered, tmpB);
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::AuswahlHintergrund))
|
|
if (hatStyle(Style::AuswahlHintergrund))
|
|
|
{
|
|
{
|
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund, tmpH);
|
|
|
|
|
- if (hatStyle(Style::AuswahlHBild))
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund, tmpH);
|
|
|
|
|
+ if (hatStyle(Style::AuswahlHImage))
|
|
|
{
|
|
{
|
|
|
- tf->setHintergrundBildZ(tmpHBild);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HBild, tmpHB);
|
|
|
|
|
|
|
+ tf->setHintergrundImageZ(tmpHImage);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HImage, tmpHB);
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::AuswahlHAlpha))
|
|
if (hatStyle(Style::AuswahlHAlpha))
|
|
|
tf->setStyle(
|
|
tf->setStyle(
|
|
|
- TextFeld::Style::HAlpha, tmpHAlpha);
|
|
|
|
|
|
|
+ TextField::Style::HAlpha, tmpHAlpha);
|
|
|
}
|
|
}
|
|
|
- if (hatStyle(Style::AuswahlRahmen))
|
|
|
|
|
|
|
+ if (hatStyle(Style::SelectionBorder))
|
|
|
{
|
|
{
|
|
|
- tf->setRahmenZ(tmpRahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen, tmpR);
|
|
|
|
|
|
|
+ tf->setBorderZ(tmpBorder);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border, tmpR);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
@@ -1422,26 +1422,26 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
if (hatMsStyle(i, Style::AuswahlBuffer) && msAuswAf)
|
|
if (hatMsStyle(i, Style::AuswahlBuffer) && msAuswAf)
|
|
|
{
|
|
{
|
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
|
- tf->setStyle(TextFeld::Style::Buffered, tmpB);
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered, tmpB);
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(i, Style::AuswahlHintergrund))
|
|
if (hatMsStyle(i, Style::AuswahlHintergrund))
|
|
|
{
|
|
{
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund, tmpH);
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund, tmpH);
|
|
|
if (msAuswBgF && msAuswBgF->hat(i))
|
|
if (msAuswBgF && msAuswBgF->hat(i))
|
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
|
- if (hatMsStyle(i, Style::AuswahlHBild) && msAuswBgB)
|
|
|
|
|
|
|
+ if (hatMsStyle(i, Style::AuswahlHImage) && msAuswBgB)
|
|
|
{
|
|
{
|
|
|
- tf->setHintergrundBildZ(tmpHBild);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HBild, tmpHB);
|
|
|
|
|
|
|
+ tf->setHintergrundImageZ(tmpHImage);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HImage, tmpHB);
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(i, Style::AuswahlHAlpha))
|
|
if (hatMsStyle(i, Style::AuswahlHAlpha))
|
|
|
tf->setStyle(
|
|
tf->setStyle(
|
|
|
- TextFeld::Style::HAlpha, tmpHAlpha);
|
|
|
|
|
|
|
+ TextField::Style::HAlpha, tmpHAlpha);
|
|
|
}
|
|
}
|
|
|
- if (hatMsStyle(i, Style::AuswahlRahmen) && msAuswRahmen)
|
|
|
|
|
|
|
+ if (hatMsStyle(i, Style::SelectionBorder) && msSelBorder)
|
|
|
{
|
|
{
|
|
|
- tf->setRahmenZ(tmpRahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen, tmpR);
|
|
|
|
|
|
|
+ tf->setBorderZ(tmpBorder);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border, tmpR);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1452,25 +1452,25 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
if (hatStyle(Style::MausBuffer))
|
|
if (hatStyle(Style::MausBuffer))
|
|
|
{
|
|
{
|
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
|
- tf->setStyle(TextFeld::Style::Buffered, tmpB);
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered, tmpB);
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::MausHintergrund))
|
|
if (hatStyle(Style::MausHintergrund))
|
|
|
{
|
|
{
|
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund, tmpH);
|
|
|
|
|
- if (hatStyle(Style::MausHBild))
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund, tmpH);
|
|
|
|
|
+ if (hatStyle(Style::MausHImage))
|
|
|
{
|
|
{
|
|
|
- tf->setHintergrundBildZ(tmpHBild);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HBild, tmpHB);
|
|
|
|
|
|
|
+ tf->setHintergrundImageZ(tmpHImage);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HImage, tmpHB);
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::MausHAlpha))
|
|
if (hatStyle(Style::MausHAlpha))
|
|
|
tf->setStyle(
|
|
tf->setStyle(
|
|
|
- TextFeld::Style::HAlpha, tmpHAlpha);
|
|
|
|
|
|
|
+ TextField::Style::HAlpha, tmpHAlpha);
|
|
|
}
|
|
}
|
|
|
if (hatStyle(Style::MausRahmen))
|
|
if (hatStyle(Style::MausRahmen))
|
|
|
{
|
|
{
|
|
|
- tf->setRahmenZ(tmpRahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen, tmpR);
|
|
|
|
|
|
|
+ tf->setBorderZ(tmpBorder);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border, tmpR);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
@@ -1478,26 +1478,26 @@ void AuswahlBox::render(Bild& zRObj) // renders into zRObj
|
|
|
if (hatMsStyle(i, Style::MausBuffer) && msAuswAf)
|
|
if (hatMsStyle(i, Style::MausBuffer) && msAuswAf)
|
|
|
{
|
|
{
|
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
tf->setAlphaFeldZ(tmpBuffer);
|
|
|
- tf->setStyle(TextFeld::Style::Buffered, tmpB);
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Buffered, tmpB);
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(i, Style::MausHintergrund))
|
|
if (hatMsStyle(i, Style::MausHintergrund))
|
|
|
{
|
|
{
|
|
|
- tf->setStyle(TextFeld::Style::Hintergrund, tmpH);
|
|
|
|
|
|
|
+ tf->setStyle(TextField::Style::Hintergrund, tmpH);
|
|
|
if (msAuswBgF && msAuswBgF->hat(i))
|
|
if (msAuswBgF && msAuswBgF->hat(i))
|
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
tf->setHintergrundFarbe(tmpHFarbe);
|
|
|
- if (hatMsStyle(i, Style::MausHBild) && msAuswBgB)
|
|
|
|
|
|
|
+ if (hatMsStyle(i, Style::MausHImage) && msAuswBgB)
|
|
|
{
|
|
{
|
|
|
- tf->setHintergrundBildZ(tmpHBild);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::HBild, tmpHB);
|
|
|
|
|
|
|
+ tf->setHintergrundImageZ(tmpHImage);
|
|
|
|
|
+ tf->setStyle(TextField::Style::HImage, tmpHB);
|
|
|
}
|
|
}
|
|
|
if (hatMsStyle(i, Style::MausHAlpha))
|
|
if (hatMsStyle(i, Style::MausHAlpha))
|
|
|
tf->setStyle(
|
|
tf->setStyle(
|
|
|
- TextFeld::Style::HAlpha, tmpHAlpha);
|
|
|
|
|
|
|
+ TextField::Style::HAlpha, tmpHAlpha);
|
|
|
}
|
|
}
|
|
|
- if (hatMsStyle(i, Style::MausRahmen) && msAuswRahmen)
|
|
|
|
|
|
|
+ if (hatMsStyle(i, Style::MausRahmen) && msSelBorder)
|
|
|
{
|
|
{
|
|
|
- tf->setRahmenZ(tmpRahmen);
|
|
|
|
|
- tf->setStyle(TextFeld::Style::Rahmen, tmpR);
|
|
|
|
|
|
|
+ tf->setBorderZ(tmpBorder);
|
|
|
|
|
+ tf->setStyle(TextField::Style::Border, tmpR);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1548,13 +1548,13 @@ Text* AuswahlBox::zEintragText(int i) const
|
|
|
return members->z(i) ? members->z(i)->zText() : 0;
|
|
return members->z(i) ? members->z(i)->zText() : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-TextFeld* AuswahlBox::getEintrag(int i) const // returns the entry
|
|
|
|
|
|
|
+TextField* AuswahlBox::getEintrag(int i) const // returns the entry
|
|
|
{
|
|
{
|
|
|
if (i >= anzahl) return 0;
|
|
if (i >= anzahl) return 0;
|
|
|
return members->get(i);
|
|
return members->get(i);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-TextFeld* AuswahlBox::zEintrag(int i) const
|
|
|
|
|
|
|
+TextField* AuswahlBox::zEintrag(int i) const
|
|
|
{
|
|
{
|
|
|
if (i >= anzahl) return 0;
|
|
if (i >= anzahl) return 0;
|
|
|
return members->z(i);
|
|
return members->z(i);
|
|
@@ -1599,18 +1599,18 @@ Knopf* AuswahlBox::zAusklappKnopf() const
|
|
|
return ausfahren;
|
|
return ausfahren;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Rahmen* AuswahlBox::getEintragRahmen(int i) const // returns the entry border
|
|
|
|
|
|
|
+Border* AuswahlBox::getEntryBorder(int i) const // returns the entry border
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
if (!members->z(i)) return 0;
|
|
if (!members->z(i)) return 0;
|
|
|
- return members->z(i)->getRahmen();
|
|
|
|
|
|
|
+ return members->z(i)->getBorder();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Rahmen* AuswahlBox::zEintragRahmen(int i) const
|
|
|
|
|
|
|
+Border* AuswahlBox::zEntryBorder(int i) const
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
if (!members->z(i)) return 0;
|
|
if (!members->z(i)) return 0;
|
|
|
- return members->z(i)->zRahmen();
|
|
|
|
|
|
|
+ return members->z(i)->zBorder();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int AuswahlBox::getEintragRahmenFarbe(
|
|
int AuswahlBox::getEintragRahmenFarbe(
|
|
@@ -1618,7 +1618,7 @@ int AuswahlBox::getEintragRahmenFarbe(
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
if (!members->z(i)) return 0;
|
|
if (!members->z(i)) return 0;
|
|
|
- return members->z(i)->getRahmenFarbe();
|
|
|
|
|
|
|
+ return members->z(i)->getBorderColor();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int AuswahlBox::getEintragRahmenBreite(
|
|
int AuswahlBox::getEintragRahmenBreite(
|
|
@@ -1626,7 +1626,7 @@ int AuswahlBox::getEintragRahmenBreite(
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
if (!members->z(i)) return 0;
|
|
if (!members->z(i)) return 0;
|
|
|
- return members->z(i)->getRahmenBreite();
|
|
|
|
|
|
|
+ return members->z(i)->getBorderWidth();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
AlphaFeld* AuswahlBox::getEintragAlphaFeld(
|
|
AlphaFeld* AuswahlBox::getEintragAlphaFeld(
|
|
@@ -1668,44 +1668,44 @@ int AuswahlBox::getEintragHintergrundFarbe(
|
|
|
return members->z(i)->getHintergrundFarbe();
|
|
return members->z(i)->getHintergrundFarbe();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Bild* AuswahlBox::getEintragHintergrundBild(
|
|
|
|
|
|
|
+Image* AuswahlBox::getEintragHintergrundImage(
|
|
|
int i) const // returns the entry background image
|
|
int i) const // returns the entry background image
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
if (!members->z(i)) return 0;
|
|
if (!members->z(i)) return 0;
|
|
|
- return members->z(i)->getHintergrundBild();
|
|
|
|
|
|
|
+ return members->z(i)->getHintergrundImage();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Bild* AuswahlBox::zEintragHintergrundBild(int i) const
|
|
|
|
|
|
|
+Image* AuswahlBox::zEintragHintergrundImage(int i) const
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
if (!members->z(i)) return 0;
|
|
if (!members->z(i)) return 0;
|
|
|
- return members->z(i)->zHintergrundBild();
|
|
|
|
|
|
|
+ return members->z(i)->zHintergrundImage();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Rahmen* AuswahlBox::getAuswRahmen() const // returns the selection border
|
|
|
|
|
|
|
+Border* AuswahlBox::getSelBorder() const // returns the selection border
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
- return auswRahmen ? dynamic_cast<Rahmen*>(auswRahmen->getThis()) : 0;
|
|
|
|
|
|
|
+ return selBorder ? dynamic_cast<Border*>(selBorder->getThis()) : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Rahmen* AuswahlBox::zAuswRahmen() const
|
|
|
|
|
|
|
+Border* AuswahlBox::zSelBorder() const
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
- return auswRahmen;
|
|
|
|
|
|
|
+ return selBorder;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int AuswahlBox::getAuswRahmenFarbe() const // returns the selection border color
|
|
int AuswahlBox::getAuswRahmenFarbe() const // returns the selection border color
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
- return auswRahmen ? auswRahmen->getFarbe() : 0;
|
|
|
|
|
|
|
+ return selBorder ? selBorder->getFarbe() : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int AuswahlBox::getAuswRahmenBreite()
|
|
int AuswahlBox::getAuswRahmenBreite()
|
|
|
const // returns the selection border width
|
|
const // returns the selection border width
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
- return auswRahmen ? auswRahmen->getRBreite() : 0;
|
|
|
|
|
|
|
+ return selBorder ? selBorder->getRBreite() : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
AlphaFeld*
|
|
AlphaFeld*
|
|
@@ -1742,50 +1742,50 @@ int AuswahlBox::getAuswHintergrundFarbe()
|
|
|
return auswBgF;
|
|
return auswBgF;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Bild* AuswahlBox::getAuswHintergrundBild()
|
|
|
|
|
|
|
+Image* AuswahlBox::getAuswHintergrundImage()
|
|
|
const // returns the selection background image
|
|
const // returns the selection background image
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
- return auswBgB ? dynamic_cast<Bild*>(auswBgB->getThis()) : 0;
|
|
|
|
|
|
|
+ return auswBgB ? dynamic_cast<Image*>(auswBgB->getThis()) : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Bild* AuswahlBox::zAuswHintergrundBild() const
|
|
|
|
|
|
|
+Image* AuswahlBox::zAuswHintergrundImage() const
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
return auswBgB;
|
|
return auswBgB;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Rahmen* AuswahlBox::getMsAuswRahmen(
|
|
|
|
|
|
|
+Border* AuswahlBox::getMsSelBorder(
|
|
|
int i) const // returns the multistyle selection border
|
|
int i) const // returns the multistyle selection border
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
- if (!msAuswRahmen) return 0;
|
|
|
|
|
- return msAuswRahmen->z(i)
|
|
|
|
|
- ? dynamic_cast<Rahmen*>(msAuswRahmen->z(i)->getThis())
|
|
|
|
|
|
|
+ if (!msSelBorder) return 0;
|
|
|
|
|
+ return msSelBorder->z(i)
|
|
|
|
|
+ ? dynamic_cast<Border*>(msSelBorder->z(i)->getThis())
|
|
|
: 0;
|
|
: 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Rahmen* AuswahlBox::zMsAuswRahmen(int i) const
|
|
|
|
|
|
|
+Border* AuswahlBox::zMsSelBorder(int i) const
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
- if (!msAuswRahmen) return 0;
|
|
|
|
|
- return msAuswRahmen->z(i);
|
|
|
|
|
|
|
+ if (!msSelBorder) return 0;
|
|
|
|
|
+ return msSelBorder->z(i);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int AuswahlBox::getMsAuswRahmenFarbe(
|
|
int AuswahlBox::getMsAuswRahmenFarbe(
|
|
|
int i) const // returns the multistyle selection border color
|
|
int i) const // returns the multistyle selection border color
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
- if (!msAuswRahmen) return 0;
|
|
|
|
|
- return msAuswRahmen->z(i) ? msAuswRahmen->z(i)->getFarbe() : 0;
|
|
|
|
|
|
|
+ if (!msSelBorder) return 0;
|
|
|
|
|
+ return msSelBorder->z(i) ? msSelBorder->z(i)->getFarbe() : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int AuswahlBox::getMsAuswRahmenBreite(
|
|
int AuswahlBox::getMsAuswRahmenBreite(
|
|
|
int i) const // returns the multistyle selection border width
|
|
int i) const // returns the multistyle selection border width
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
- if (!msAuswRahmen) return 0;
|
|
|
|
|
- return msAuswRahmen->z(i) ? msAuswRahmen->z(i)->getRBreite() : 0;
|
|
|
|
|
|
|
+ if (!msSelBorder) return 0;
|
|
|
|
|
+ return msSelBorder->z(i) ? msSelBorder->z(i)->getRBreite() : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
AlphaFeld* AuswahlBox::getMsAuswAlphaFeld(
|
|
AlphaFeld* AuswahlBox::getMsAuswAlphaFeld(
|
|
@@ -1828,7 +1828,7 @@ int AuswahlBox::getMsAuswHintergrundFarbe(
|
|
|
return msAuswBgF->get(i);
|
|
return msAuswBgF->get(i);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Bild* AuswahlBox::getMsAuswHintergrundBild(
|
|
|
|
|
|
|
+Image* AuswahlBox::getMsAuswHintergrundImage(
|
|
|
int i) const // returns the multistyle selection background image
|
|
int i) const // returns the multistyle selection background image
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
@@ -1836,35 +1836,35 @@ Bild* AuswahlBox::getMsAuswHintergrundBild(
|
|
|
return msAuswBgB->get(i);
|
|
return msAuswBgB->get(i);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Bild* AuswahlBox::zMsAuswHintergrundBild(int i) const
|
|
|
|
|
|
|
+Image* AuswahlBox::zMsAuswHintergrundImage(int i) const
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
if (!msAuswBgB) return 0;
|
|
if (!msAuswBgB) return 0;
|
|
|
return msAuswBgB->z(i);
|
|
return msAuswBgB->z(i);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Rahmen* AuswahlBox::getMausRahmen() const // returns the mouse border
|
|
|
|
|
|
|
+Border* AuswahlBox::getMouseBorder() const // returns the mouse border
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
- return mausRahmen ? dynamic_cast<Rahmen*>(mausRahmen->getThis()) : 0;
|
|
|
|
|
|
|
+ return mouseBorder ? dynamic_cast<Border*>(mouseBorder->getThis()) : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Rahmen* AuswahlBox::zMausRahmen() const
|
|
|
|
|
|
|
+Border* AuswahlBox::zMouseBorder() const
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
- return mausRahmen;
|
|
|
|
|
|
|
+ return mouseBorder;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int AuswahlBox::getMausRahmenFarbe() const // returns the mouse border color
|
|
int AuswahlBox::getMausRahmenFarbe() const // returns the mouse border color
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
- return mausRahmen ? mausRahmen->getFarbe() : 0;
|
|
|
|
|
|
|
+ return mouseBorder ? mouseBorder->getFarbe() : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int AuswahlBox::getMausRahmenBreite() const // returns the mouse border width
|
|
int AuswahlBox::getMausRahmenBreite() const // returns the mouse border width
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
- return mausRahmen ? mausRahmen->getRBreite() : 0;
|
|
|
|
|
|
|
+ return mouseBorder ? mouseBorder->getRBreite() : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
AlphaFeld* AuswahlBox::getMausAlphaFeld() const // returns the mouse AlphaFeld
|
|
AlphaFeld* AuswahlBox::getMausAlphaFeld() const // returns the mouse AlphaFeld
|
|
@@ -1900,48 +1900,48 @@ int AuswahlBox::getMausHintergrundFarbe()
|
|
|
return mausBgF;
|
|
return mausBgF;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Bild* AuswahlBox::getMausHintergrundBild()
|
|
|
|
|
|
|
+Image* AuswahlBox::getMausHintergrundImage()
|
|
|
const // returns the mouse background image
|
|
const // returns the mouse background image
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
- return mausBgB ? dynamic_cast<Bild*>(mausBgB->getThis()) : 0;
|
|
|
|
|
|
|
+ return mausBgB ? dynamic_cast<Image*>(mausBgB->getThis()) : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Bild* AuswahlBox::zMausHintergrundBild() const
|
|
|
|
|
|
|
+Image* AuswahlBox::zMausHintergrundImage() const
|
|
|
{
|
|
{
|
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
if (hatStyle(Style::MultiStyled)) return 0;
|
|
|
return mausBgB;
|
|
return mausBgB;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Rahmen* AuswahlBox::getMsMausRahmen(
|
|
|
|
|
|
|
+Border* AuswahlBox::getMsMouseBorder(
|
|
|
int i) const // returns the multistyle mouse border
|
|
int i) const // returns the multistyle mouse border
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
- if (!msMausRahmen) return 0;
|
|
|
|
|
- return msMausRahmen->get(i);
|
|
|
|
|
|
|
+ if (!msMouseBorder) return 0;
|
|
|
|
|
+ return msMouseBorder->get(i);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Rahmen* AuswahlBox::zMsMausRahmen(int i) const
|
|
|
|
|
|
|
+Border* AuswahlBox::zMsMouseBorder(int i) const
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
- if (!msMausRahmen) return 0;
|
|
|
|
|
- return msMausRahmen->z(i);
|
|
|
|
|
|
|
+ if (!msMouseBorder) return 0;
|
|
|
|
|
+ return msMouseBorder->z(i);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int AuswahlBox::getMsMausRahmenFarbe(
|
|
int AuswahlBox::getMsMausRahmenFarbe(
|
|
|
int i) const // returns the multistyle mouse border color
|
|
int i) const // returns the multistyle mouse border color
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
- if (!msMausRahmen) return 0;
|
|
|
|
|
- return msMausRahmen->z(i) ? msMausRahmen->z(i)->getFarbe() : 0;
|
|
|
|
|
|
|
+ if (!msMouseBorder) return 0;
|
|
|
|
|
+ return msMouseBorder->z(i) ? msMouseBorder->z(i)->getFarbe() : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int AuswahlBox::getMsMausRahmenBreite(
|
|
int AuswahlBox::getMsMausRahmenBreite(
|
|
|
int i) const // returns the multistyle mouse border width
|
|
int i) const // returns the multistyle mouse border width
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
- if (!msMausRahmen) return 0;
|
|
|
|
|
- return msMausRahmen->z(i) ? msMausRahmen->z(i)->getRBreite() : 0;
|
|
|
|
|
|
|
+ if (!msMouseBorder) return 0;
|
|
|
|
|
+ return msMouseBorder->z(i) ? msMouseBorder->z(i)->getRBreite() : 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
AlphaFeld* AuswahlBox::getMsMausAlphaFeld(
|
|
AlphaFeld* AuswahlBox::getMsMausAlphaFeld(
|
|
@@ -1983,7 +1983,7 @@ int AuswahlBox::getMsMausHintergrundFarbe(
|
|
|
return msMausBgF->get(i);
|
|
return msMausBgF->get(i);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Bild* AuswahlBox::getMsMausHintergrundBild(
|
|
|
|
|
|
|
+Image* AuswahlBox::getMsMausHintergrundImage(
|
|
|
int i) const // returns the multistyle mouse background image
|
|
int i) const // returns the multistyle mouse background image
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
@@ -1991,7 +1991,7 @@ Bild* AuswahlBox::getMsMausHintergrundBild(
|
|
|
return msMausBgB->get(i);
|
|
return msMausBgB->get(i);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-Bild* AuswahlBox::zMsMausHintergrundBild(int i) const
|
|
|
|
|
|
|
+Image* AuswahlBox::zMsMausHintergrundImage(int i) const
|
|
|
{
|
|
{
|
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
if (!hatStyle(Style::MultiStyled)) return 0;
|
|
|
if (!msMausBgB) return 0;
|
|
if (!msMausBgB) return 0;
|
|
@@ -2037,23 +2037,23 @@ Drawable* AuswahlBox::dublizieren() const // Creates a copy of the drawing
|
|
|
obj->setStyle(style);
|
|
obj->setStyle(style);
|
|
|
if (textRd)
|
|
if (textRd)
|
|
|
obj->setTextRendererZ(dynamic_cast<TextRenderer*>(textRd->getThis()));
|
|
obj->setTextRendererZ(dynamic_cast<TextRenderer*>(textRd->getThis()));
|
|
|
- if (rahmen) obj->setRahmenZ((Rahmen*)rahmen->dublizieren());
|
|
|
|
|
|
|
+ if (rahmen) obj->setBorderZ((Border*)rahmen->dublizieren());
|
|
|
if (ausfahren) obj->setAusklappKnopfZ((Knopf*)ausfahren->dublizieren());
|
|
if (ausfahren) obj->setAusklappKnopfZ((Knopf*)ausfahren->dublizieren());
|
|
|
obj->setHintergrundFarbe(hintergrundFarbe);
|
|
obj->setHintergrundFarbe(hintergrundFarbe);
|
|
|
- if (hintergrundBild)
|
|
|
|
|
- obj->setHintergrundBild(
|
|
|
|
|
- dynamic_cast<Bild*>(hintergrundBild->getThis()));
|
|
|
|
|
|
|
+ if (hintergrundImage)
|
|
|
|
|
+ obj->setHintergrundImage(
|
|
|
|
|
+ dynamic_cast<Image*>(hintergrundImage->getThis()));
|
|
|
if (hintergrundFeld)
|
|
if (hintergrundFeld)
|
|
|
obj->setAlphaFeldZ((AlphaFeld*)hintergrundFeld->dublizieren());
|
|
obj->setAlphaFeldZ((AlphaFeld*)hintergrundFeld->dublizieren());
|
|
|
- if (auswRahmen) obj->setAuswRahmenZ((Rahmen*)auswRahmen->dublizieren());
|
|
|
|
|
|
|
+ if (selBorder) obj->setSelBorderZ((Border*)selBorder->dublizieren());
|
|
|
obj->setAuswHintergrundFarbe(auswBgF);
|
|
obj->setAuswHintergrundFarbe(auswBgF);
|
|
|
if (auswBgB)
|
|
if (auswBgB)
|
|
|
- obj->setAuswHintergrundBild(dynamic_cast<Bild*>(auswBgB->getThis()));
|
|
|
|
|
|
|
+ obj->setAuswHintergrundImage(dynamic_cast<Image*>(auswBgB->getThis()));
|
|
|
if (auswAf) obj->setAuswAlphaFeldZ((AlphaFeld*)auswAf->dublizieren());
|
|
if (auswAf) obj->setAuswAlphaFeldZ((AlphaFeld*)auswAf->dublizieren());
|
|
|
- if (mausRahmen) obj->setMausRahmenZ((Rahmen*)mausRahmen->dublizieren());
|
|
|
|
|
|
|
+ if (mouseBorder) obj->setMouseBorderZ((Border*)mouseBorder->dublizieren());
|
|
|
obj->setMausHintergrundFarbe(mausBgF);
|
|
obj->setMausHintergrundFarbe(mausBgF);
|
|
|
if (mausBgB)
|
|
if (mausBgB)
|
|
|
- obj->setMausHintergrundBild(dynamic_cast<Bild*>(mausBgB->getThis()));
|
|
|
|
|
|
|
+ obj->setMausHintergrundImage(dynamic_cast<Image*>(mausBgB->getThis()));
|
|
|
if (mausAf) obj->setMausAlphaFeldZ((AlphaFeld*)mausAf->dublizieren());
|
|
if (mausAf) obj->setMausAlphaFeldZ((AlphaFeld*)mausAf->dublizieren());
|
|
|
obj->setMaxAuskappHeight(ausklapMaxHeight);
|
|
obj->setMaxAuskappHeight(ausklapMaxHeight);
|
|
|
obj->setEintragHeight(eintragHeight);
|
|
obj->setEintragHeight(eintragHeight);
|
|
@@ -2062,25 +2062,25 @@ Drawable* AuswahlBox::dublizieren() const // Creates a copy of the drawing
|
|
|
if (members->z(i))
|
|
if (members->z(i))
|
|
|
{
|
|
{
|
|
|
obj->addEintrag("a");
|
|
obj->addEintrag("a");
|
|
|
- obj->setEintragZ(i, (TextFeld*)members->z(i)->dublizieren());
|
|
|
|
|
|
|
+ obj->setEintragZ(i, (TextField*)members->z(i)->dublizieren());
|
|
|
if (msStyle && msStyle->hat(i)) obj->setMsStyle(i, msStyle->get(i));
|
|
if (msStyle && msStyle->hat(i)) obj->setMsStyle(i, msStyle->get(i));
|
|
|
- if (msAuswRahmen && msAuswRahmen->z(i))
|
|
|
|
|
- obj->setMsAuswRahmenZ(
|
|
|
|
|
- i, (Rahmen*)msAuswRahmen->z(i)->dublizieren());
|
|
|
|
|
|
|
+ if (msSelBorder && msSelBorder->z(i))
|
|
|
|
|
+ obj->setMsSelBorderZ(
|
|
|
|
|
+ i, (Border*)msSelBorder->z(i)->dublizieren());
|
|
|
if (msAuswBgF && msAuswBgF->hat(i))
|
|
if (msAuswBgF && msAuswBgF->hat(i))
|
|
|
obj->setMsAuswHintergrundFarbe(i, msAuswBgF->get(i));
|
|
obj->setMsAuswHintergrundFarbe(i, msAuswBgF->get(i));
|
|
|
if (msAuswBgB && msAuswBgB->z(i))
|
|
if (msAuswBgB && msAuswBgB->z(i))
|
|
|
- obj->setMsAuswHintergrundBild(i, msAuswBgB->get(i));
|
|
|
|
|
|
|
+ obj->setMsAuswHintergrundImage(i, msAuswBgB->get(i));
|
|
|
if (msAuswAf && msAuswAf->z(i))
|
|
if (msAuswAf && msAuswAf->z(i))
|
|
|
obj->setMsAuswAlphaFeldZ(
|
|
obj->setMsAuswAlphaFeldZ(
|
|
|
i, (AlphaFeld*)msAuswAf->z(i)->dublizieren());
|
|
i, (AlphaFeld*)msAuswAf->z(i)->dublizieren());
|
|
|
- if (msMausRahmen && msMausRahmen->z(i))
|
|
|
|
|
- obj->setMsMausRahmenZ(
|
|
|
|
|
- i, (Rahmen*)msMausRahmen->z(i)->dublizieren());
|
|
|
|
|
|
|
+ if (msMouseBorder && msMouseBorder->z(i))
|
|
|
|
|
+ obj->setMsMouseBorderZ(
|
|
|
|
|
+ i, (Border*)msMouseBorder->z(i)->dublizieren());
|
|
|
if (msMausBgF && msMausBgF->hat(i))
|
|
if (msMausBgF && msMausBgF->hat(i))
|
|
|
obj->setMsMausHintergrundFarbe(i, msMausBgF->get(i));
|
|
obj->setMsMausHintergrundFarbe(i, msMausBgF->get(i));
|
|
|
if (msMausBgB && msMausBgB->z(i))
|
|
if (msMausBgB && msMausBgB->z(i))
|
|
|
- obj->setMsMausHintergrundBild(i, msMausBgB->get(i));
|
|
|
|
|
|
|
+ obj->setMsMausHintergrundImage(i, msMausBgB->get(i));
|
|
|
if (msMausAf && msMausAf->z(i))
|
|
if (msMausAf && msMausAf->z(i))
|
|
|
obj->setMsMausAlphaFeldZ(
|
|
obj->setMsMausAlphaFeldZ(
|
|
|
i, (AlphaFeld*)msMausAf->z(i)->dublizieren());
|
|
i, (AlphaFeld*)msMausAf->z(i)->dublizieren());
|