Remove the need for all cControl subclasses to be friends of cDialog

(Now only cControl itself is a friend.)
This commit is contained in:
2014-12-06 02:27:38 -05:00
parent edf755c7c9
commit beacf9dadc
8 changed files with 21 additions and 20 deletions

View File

@@ -522,7 +522,7 @@ void cPict::draw(){
if(!visible){ // Erase it
rect.inset(-3, -3);
tileImage(*inWindow,rect,bg_gworld,bg[parent->bg]);
tileImage(*inWindow,rect,bg_gworld,bg[parent->getBg()]);
return;
}
if(picNum < 0) { // Just fill with black