From: Jay Freeman (saurik) Date: Wed, 19 Oct 2011 06:10:21 +0000 (+0000) Subject: Make transcript cells transparent. X-Git-Tag: v0.9.3901~2 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/a06fac531524472a24dadb1636c9845bb95c2f7b Make transcript cells transparent. --- diff --git a/Library.mm b/Library.mm index 42c4309..d7946b4 100644 --- a/Library.mm +++ b/Library.mm @@ -123,6 +123,7 @@ MSClassHook(UIToolbar) MSClassHook(CKMessageCell) MSClassHook(CKTimestampView) +MSClassHook(CKTranscriptCell) MSClassHook(CKTranscriptController) MSClassHook(CKTranscriptTableView) @@ -1456,6 +1457,13 @@ MSInstanceMessageHook1(void, CKMessageCell, addBalloonView, CKBalloonView *, bal [balloon setBackgroundColor:[UIColor clearColor]]; } +MSInstanceMessageHook2(id, CKTranscriptCell, initWithStyle,reuseIdentifier, int, style, NSString *, reuse) { + if ((self = MSOldCall(style, reuse)) != nil) { + [self setBackgroundColor:[UIColor clearColor]]; + [[self contentView] setBackgroundColor:[UIColor clearColor]]; + } return self; +} + MSInstanceMessageHook2(id, CKMessageCell, initWithStyle,reuseIdentifier, int, style, NSString *, reuse) { if ((self = MSOldCall(style, reuse)) != nil) { [self setBackgroundColor:[UIColor clearColor]];