Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GIMP
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2,756
Issues
2,756
List
Boards
Labels
Service Desk
Milestones
Merge Requests
37
Merge Requests
37
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
GIMP
Commits
618064c4
Commit
618064c4
authored
Jan 27, 1999
by
Manish Singh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Still a work-in-progress, ignore
-Yosh
parent
aaf116b0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
8 deletions
+11
-8
tools/pdbgen/pdb.pl
tools/pdbgen/pdb.pl
+3
-2
tools/pdbgen/pdb/channel_ops.pdb
tools/pdbgen/pdb/channel_ops.pdb
+1
-2
tools/pdbgen/pdb/xcf.pdb
tools/pdbgen/pdb/xcf.pdb
+0
-0
tools/pdbgen/stddefs.pdb
tools/pdbgen/stddefs.pdb
+1
-1
tools/pdbgen/util.pl
tools/pdbgen/util.pl
+6
-3
No files found.
tools/pdbgen/pdb.pl
View file @
618064c4
...
...
@@ -42,7 +42,7 @@ package Gimp::CodeGen::pdb;
},
image
=>
{
name
=>
'
IMAGE
',
type
=>
'
GImage *
',
type
=>
'
G
imp
Image *
',
id_func
=>
'
pdb_id_to_image
',
id_ret_func
=>
'
pdb_image_to_id ($var)
',
id_headers
=>
[
qw("procedural_db.h")
]
...
...
@@ -66,7 +66,8 @@ package Gimp::CodeGen::pdb;
type
=>
'
GimpDrawable *
',
id_func
=>
'
gimp_drawable_get_ID
',
id_ret_func
=>
'
drawable_ID (GIMP_DRAWABLE ($var))
',
id_headers
=>
[
qw("drawable.h")
]
id_headers
=>
[
qw("drawable.h")
],
gimage
=>
'
drawable_gimage (GIMP_DRAWABLE ($var))
'
},
selection
=>
{
name
=>
'
SELECTION
',
...
...
tools/pdbgen/pdb/channel_ops.pdb
View file @
618064c4
...
...
@@ -34,9 +34,8 @@ HELP
$date = '1997';
@inargs = (
&std_image_arg,
{ name => 'drawable', type => 'drawable',
desc => 'The drawable to offset' },
desc => 'The drawable to offset'
, gimage => 1
},
{ name => 'wrap_around', type => 'boolean',
desc => 'wrap image around or fill vacated regions' },
{ name => 'fill_type', type => 'enum GimpOffsetType',
...
...
tools/pdbgen/pdb/xcf.pdb
0 → 100644
View file @
618064c4
tools/pdbgen/stddefs.pdb
View file @
618064c4
...
...
@@ -6,7 +6,7 @@ sub std_pdb_misc {
$date = '1995-1996';
}
sub std_image_arg {
sub std_image_arg
()
{
{
name => 'image',
type => 'image',
...
...
tools/pdbgen/util.pl
View file @
618064c4
...
...
@@ -17,15 +17,18 @@
package
Gimp::CodeGen::
util
;
use
File::
Copy
cp
;
use
File::
Compare
cmp
;
$DEBUG_OUTPUT
=
1
;
sub
write_file
{
my
$file
=
shift
;
my
$realfile
=
$file
;
$realfile
=~
s/\.tmp\.\d+$//
;
if
(
-
e
$realfile
)
{
if
(
`
diff
$realfile
$file
`
)
{
`
cp
$realfile
$realfile
~
`
if
$DEBUG_OUTPUT
;
`
cp
$file
$realfile
`
;
if
(
cmp
(
$realfile
,
$file
)
)
{
cp
(
$realfile
,
"
$realfile
~
")
if
$DEBUG_OUTPUT
;
cp
(
$file
,
$realfile
)
;
print
"
Wrote
$realfile
\n
";
}
else
{
...
...
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