adding color picking on iOS

This commit is contained in:
2017-08-02 19:51:59 +01:00
parent d01ec65cad
commit 235862c9d1
13 changed files with 202 additions and 15 deletions

View File

@@ -157,6 +157,7 @@ int t_count = 0;
- (void)viewDidAppear:(BOOL)animated
{
App::I.redraw = true;
[self resignFirstResponder];
[self registerForKeyboardNotifications];
}
@@ -235,6 +236,8 @@ int t_count = 0;
- (void)glkView:(GLKView *)view drawInRect:(CGRect)rect
{
if (!App::I.redraw)
return;
App::I.clear();
App::I.update(0);
}

View File

@@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Save the pano image in the user gallery</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>