-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Clip Library version to 1.9. This is to fix a paste issue whe…
…re sometimes the left-most 4 columns of a clipboard image would appear on the right when pasting.
- Loading branch information
Showing
21 changed files
with
1,417 additions
and
742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Clip Library | ||
// Copyright (c) 2024 David Capello | ||
// | ||
// This file is released under the terms of the MIT license. | ||
// Read LICENSE.txt for more information. | ||
|
||
#ifndef CLIP_OSX_H_INCLUDED | ||
#define CLIP_OSX_H_INCLUDED | ||
#pragma once | ||
|
||
#ifdef __OBJC__ | ||
|
||
#include <Cocoa/Cocoa.h> | ||
|
||
namespace clip { | ||
|
||
class image; | ||
struct image_spec; | ||
|
||
namespace osx { | ||
|
||
#if CLIP_ENABLE_IMAGE | ||
|
||
bool get_image_from_clipboard(NSPasteboard* pasteboard, | ||
image* output_img, | ||
image_spec* output_spec); | ||
|
||
#endif // CLIP_ENABLE_IMAGE | ||
|
||
} // namespace osx | ||
} // namespace clip | ||
|
||
#endif | ||
|
||
#endif |
Oops, something went wrong.