-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88d0c5d
commit 3c9f907
Showing
30 changed files
with
227 additions
and
152 deletions.
There are no files selected for viewing
Binary file modified
BIN
+4.14 KB
(100%)
Build/Components/4DPop Image Buddy.4dbase/4DPop Image Buddy.4DZ
Binary file not shown.
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
Binary file modified
BIN
-58.5 KB
(86%)
Build/Components/4DPop Image Buddy.4dbase/Libraries/lib4d-arm64.dylib
Binary file not shown.
9 changes: 9 additions & 0 deletions
9
Build/Components/4DPop Image Buddy.4dbase/Resources/4DPop.json
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,9 @@ | ||
{ | ||
"name": ":xliff:ToolName", | ||
"media": "4DPop.png", | ||
"ondrop": "onDrop", | ||
"handler": "_4DPopImageBuddy", | ||
"tools": { | ||
"method": "browser" | ||
} | ||
} |
File renamed without changes
7 changes: 0 additions & 7 deletions
7
Build/Components/4DPop Image Buddy.4dbase/Resources/4DPop.xml
This file was deleted.
Oops, something went wrong.
Binary file modified
BIN
+0 Bytes
(100%)
Build/Components/4DPop Image Buddy.4dbase/Resources/InfoPlist.strings
Binary file not shown.
Binary file not shown.
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,4 @@ | ||
//%attributes = {"invisible":true} | ||
C_OBJECT:C1216(_4DPopImageBuddy; $0) | ||
C_OBJECT:C1216(browser; $1) | ||
C_OBJECT:C1216(onDrop; $1) |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
//%attributes = {"invisible":true} | ||
<>Lon_Error:=ERROR | ||
//ERROR:=ERROR |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
//%attributes = {"invisible":true,"shared":true} | ||
#DECLARE() : 4D:C1709.Function | ||
return Formula:C1597(Formula from string:C1601($1)) |
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,4 @@ | ||
//%attributes = {} | ||
#DECLARE($data : Object) | ||
|
||
BROWSER_HANDLER |
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,92 @@ | ||
//%attributes = {} | ||
// ---------------------------------------------------- | ||
// Method : Pictures_Tool_Ondrop | ||
// Created 14/02/08 by Vincent de Lachaux | ||
// ---------------------------------------------------- | ||
// Description | ||
// | ||
// ---------------------------------------------------- | ||
#DECLARE($data : Object) | ||
|
||
var $dest; $name; $src : Text | ||
var $dropPosition; $indx : Integer | ||
var $pic : Picture | ||
|
||
$dest:=Get 4D folder:C485(Current resources folder:K5:16; *) | ||
|
||
// Get a path in the drag container | ||
$src:=Get file from pasteboard:C976(1) | ||
|
||
Case of | ||
|
||
//______________________________________________________ | ||
: (Length:C16($src)=0) // No path : try an image | ||
|
||
$dropPosition:=1 | ||
|
||
ARRAY TEXT:C222($signatures; 0x0000) | ||
ARRAY TEXT:C222($nativeTypes; 0x0000) | ||
GET PASTEBOARD DATA TYPE:C958($signatures; $nativeTypes) | ||
|
||
If (Find in array:C230($signatures; "com.4d.private.picture.4dpicture")>0) | ||
|
||
If (OK=1) | ||
|
||
$name:=Get localized string:C991("NewImage") | ||
$name:=Request:C163(Get localized string:C991("Name"); $name; Get localized string:C991("CommonCreate")) | ||
|
||
If (OK=1) | ||
|
||
End if | ||
End if | ||
|
||
Else | ||
|
||
BEEP:C151 | ||
|
||
End if | ||
|
||
//______________________________________________________ | ||
Else | ||
|
||
$indx:=1 | ||
|
||
Repeat | ||
|
||
If (Test path name:C476($src)=Is a document:K24:1) | ||
|
||
ERROR:=0 | ||
ON ERR CALL:C155("No_Error") | ||
READ PICTURE FILE:C678($src; $pic) | ||
ON ERR CALL:C155("") | ||
|
||
Case of | ||
|
||
//..................................................... | ||
: (OK=0) | ||
|
||
//..................................................... | ||
: (ERROR#0) | ||
|
||
ALERT:C41(".Error Nº "+String:C10(ERROR)+" reading file \""+doc_Txt_Path_Handler("get.name"; $src)+"\"") | ||
|
||
//..................................................... | ||
: (Picture size:C356($pic)=0) | ||
|
||
//..................................................... | ||
Else | ||
|
||
COPY DOCUMENT:C541($src; $dest+doc_Txt_Path_Handler("get.name"; $src); *) | ||
|
||
//..................................................... | ||
End case | ||
|
||
End if | ||
|
||
$indx:=$indx+1 | ||
$src:=Get file from pasteboard:C976($indx) | ||
|
||
Until ($src="") | ||
|
||
//______________________________________________________ | ||
End case |
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
Oops, something went wrong.