Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
5d03262b
Commit
5d03262b
authored
Mar 03, 2017
by
Jaime O. Rios
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added message about 32-bit Obj-C to all @synthesize sections.
parent
10651d49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
window_cocoa.mm
modules/highgui/src/window_cocoa.mm
+4
-5
No files found.
modules/highgui/src/window_cocoa.mm
View file @
5d03262b
...
@@ -708,7 +708,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
...
@@ -708,7 +708,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
@synthesize firstContent;
@synthesize firstContent;
@synthesize sliders;
@synthesize sliders;
@synthesize status;
@synthesize status;
#else
#else
// 32-bit Obj-C does not have automatic synthesize
@synthesize mouseCallback = _mouseCallback;
@synthesize mouseCallback = _mouseCallback;
@synthesize mouseParam = _mouseParam;
@synthesize mouseParam = _mouseParam;
@synthesize autosize = _autosize;
@synthesize autosize = _autosize;
...
@@ -745,7 +745,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
...
@@ -745,7 +745,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
- (void)cvMouseEvent:(NSEvent *)event {
- (void)cvMouseEvent:(NSEvent *)event {
//cout << "cvMouseEvent" << endl;
//cout << "cvMouseEvent" << endl;
if([self mouseCallback] == nil)
if([self mouseCallback] == nil)
return;
return;
...
@@ -864,7 +864,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
...
@@ -864,7 +864,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
@implementation CVView
@implementation CVView
#if defined(__LP64__)
#if defined(__LP64__)
@synthesize image;
@synthesize image;
#else
#else
// 32-bit Obj-C does not have automatic synthesize
@synthesize image = _image;
@synthesize image = _image;
#endif
#endif
...
@@ -1000,8 +1000,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
...
@@ -1000,8 +1000,7 @@ void cv::setWindowTitle(const String& winname, const String& title)
@synthesize userData;
@synthesize userData;
@synthesize callback;
@synthesize callback;
@synthesize callback2;
@synthesize callback2;
#else
#else // 32-bit Obj-C does not have automatic synthesize
// 32-bit Obj-C does not have automatic synthesize
@synthesize slider = _slider;
@synthesize slider = _slider;
@synthesize name = _name;
@synthesize name = _name;
@synthesize value = _value;
@synthesize value = _value;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment