mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
ComponentsInfoBox: arange text to the left border if no picture is painted
changed isPainted() to isPicPainted(), return of isPicPainted() value was
not marked-down to false and isPainted() means the container frame and
isPicPainted() means the picture itself, so the last state was wrong. Now
it should work fine.
Btw: scope of x_text reduced, is only required in member paintText()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 28904b79c7
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-25 (Tue, 25 Sep 2012)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -222,7 +222,7 @@ class CComponentsInfoBox : public CComponentsContainer
|
||||
private:
|
||||
const char* text;
|
||||
int text_mode; //see textbox.h for possible modes
|
||||
int x_text, x_offset;
|
||||
int x_offset;
|
||||
Font* font;
|
||||
CBox * box;
|
||||
CTextBox * textbox;
|
||||
|
Reference in New Issue
Block a user