Skip to content

Commit

Permalink
dynamic card size by screen size
Browse files Browse the repository at this point in the history
  • Loading branch information
ljxia committed Mar 6, 2011
1 parent 4b1427f commit 1e2d75e
Show file tree
Hide file tree
Showing 7 changed files with 932 additions and 534 deletions.
2 changes: 1 addition & 1 deletion OverlayView.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ - (id)initWithFrame:(NSRect)frame {
- (void)drawRect:(NSRect)dirtyRect {
// Fill in background Color
CGContextRef context = (CGContextRef) [[NSGraphicsContext currentContext] graphicsPort];
CGContextSetRGBFillColor(context, 0,0,0,0.6);
CGContextSetRGBFillColor(context, 0,0,0,0.7);
CGContextFillRect(context, NSRectToCGRect(dirtyRect));
}

Expand Down
29 changes: 14 additions & 15 deletions QuickDouban.xcodeproj/liangjie.mode1v3
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@
<key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key>
<array>
<array>
<integer>16</integer>
<integer>12</integer>
<integer>21</integer>
<integer>17</integer>
<integer>0</integer>
</array>
</array>
Expand Down Expand Up @@ -329,19 +329,19 @@
<key>PBXProjectModuleGUID</key>
<string>1CE0B20306471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
<string>QuickDoubanCardViewController.m</string>
<string>OverlayView.m</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20406471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
<string>QuickDoubanCardViewController.m</string>
<string>OverlayView.m</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>DC259D9C13234794009D579E</string>
<string>DC259E0113235108009D579E</string>
<key>history</key>
<array>
<string>DC9F4732130CD93700B81679</string>
Expand All @@ -357,17 +357,17 @@
<string>DC2599091320C8FC009D579E</string>
<string>DC259BC21322FE63009D579E</string>
<string>DC259BC41322FE63009D579E</string>
<string>DC259BE6132300F6009D579E</string>
<string>DC259CDD132330E4009D579E</string>
<string>DC259CF413233386009D579E</string>
<string>DC259CF513233386009D579E</string>
<string>DC259D5113233B26009D579E</string>
<string>DC259D6613233C5C009D579E</string>
<string>DC259D6713233C5C009D579E</string>
<string>DC259D6813233C5C009D579E</string>
<string>DC259D7513233D77009D579E</string>
<string>DC259D7913233F3D009D579E</string>
<string>DC259D7A13233F3D009D579E</string>
<string>DC259DA1132348A0009D579E</string>
<string>DC259DB513234B6C009D579E</string>
<string>DC259DE413234EE7009D579E</string>
<string>DC259DFC132350D9009D579E</string>
<string>DC259DFF13235108009D579E</string>
<string>DC259E0013235108009D579E</string>
</array>
</dict>
<key>SplitCount</key>
Expand Down Expand Up @@ -565,13 +565,12 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
<string>DC259D9D13234794009D579E</string>
<string>DC2597771320B786009D579E</string>
<string>DC2597781320B786009D579E</string>
<string>DC9F46F7130CCC1400B81679</string>
<string>1CD10A99069EF8BA00B06720</string>
<string>1C530D57069F1CE1000CFCEE</string>
<string>1C78EAAD065D492600B07095</string>
<string>DC9F46F7130CCC1400B81679</string>
<string>/Users/liangjie/Projects/Mac/QuickDouban/QuickDouban.xcodeproj</string>
</array>
<key>WindowString</key>
Expand All @@ -598,7 +597,7 @@
<key>PBXProjectModuleGUID</key>
<string>1CD0528F0623707200166675</string>
<key>PBXProjectModuleLabel</key>
<string>QuickDoubanCardViewController.m</string>
<string>QuickDoubanAppDelegate.m</string>
<key>StatusBarVisibility</key>
<true/>
</dict>
Expand Down Expand Up @@ -667,7 +666,7 @@
<key>WindowToolGUID</key>
<string>DC9F46F7130CCC1400B81679</string>
<key>WindowToolIsVisible</key>
<false/>
<true/>
</dict>
<dict>
<key>FirstTimeWindowDisplayed</key>
Expand Down
Loading

0 comments on commit 1e2d75e

Please sign in to comment.