Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoerl committed Nov 22, 2011
1 parent d5644b2 commit 9451479
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Classes/Popover/WEPopoverContainerView.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ - (id)initWithSize:(CGSize)theSize
UIImage *theImage = [UIImage imageNamed:properties.bgImageName];
bgImage = [theImage stretchableImageWithLeftCapWidth:properties.leftBgCapSize topCapHeight:properties.topBgCapSize];
#endif
//self.clipsToBounds = NO; // DFH - if not set here will not support layer shadows
//self.clipsToBounds = NO; // DFH - cannot get layer shadows if set to NO
self.userInteractionEnabled = YES;
}
return self;
Expand Down Expand Up @@ -113,7 +113,7 @@ - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {

- (void)setContentView:(UIView *)v {
if (v != contentView) {
[contentView removeFromSuperview]; // DFH
[contentView removeFromSuperview]; // DFH - old bug
contentView = v;
contentView.frame = self.contentRect;
[self addSubview:contentView];
Expand Down
2 changes: 1 addition & 1 deletion README_DFH.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ This fork has several features, fixes, and options not in the original repositor

- it's been ARCified

- an image drawing routine can now draw the popup box with either a flat or gradient background. This makes it posssible to perfectly add an arrow to the rounded rect and put a border around it without getting pixel fractions. To get this add the define "-DDRAW_IMAGES" to your project define list or add to the pch file.
- an image drawing routine can now draw the popup box with either a flat or gradient background. This makes it posssible to perfectly add an arrow to the rounded rect and put a border around it without getting pixel fractions. To get this add the define "-DDRAW_IMAGES" to your project define list or add to the pch file. The project has two schemes now (and two targets), one for the png images and the other for generated images.

- see the DFH comment in WEPopoverTableViewController.m to force an orientation for testing.

Expand Down
2 changes: 1 addition & 1 deletion WEPopover.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
8D1107310486CEB800E47090 /* WEPopover-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "WEPopover-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
DE784E48147BE9D100852D83 /* WEPopoverDrawnImages.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WEPopoverDrawnImages.app; sourceTree = BUILT_PRODUCTS_DIR; };
DE784E4B147BE9D200852D83 /* WEPopover copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "WEPopover copy-Info.plist"; path = "/Volumes/Data/git/WEPopover/WEPopover copy-Info.plist"; sourceTree = "<absolute>"; };
DE784E55147C524400852D83 /* README_DFH.txt */ = {isa = PBXFileReference; path = README_DFH.txt; sourceTree = "<group>"; };
DE784E55147C524400852D83 /* README_DFH.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = README_DFH.txt; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down

0 comments on commit 9451479

Please sign in to comment.