Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
618064c4
Commit
618064c4
authored
Jan 27, 1999
by
Manish Singh
Browse files
Still a work-in-progress, ignore
-Yosh
parent
aaf116b0
Changes
5
Hide whitespace changes
Inline
Side-by-side
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