Directory Structure of the GIMP Source Tree
Sven
Neumann
February 2003
This document outlines the directory structure of the
GIMP source tree. It should help
people to get started with the GIMP code.
The GIMP source tree can be divided
into the core application, libraries, plug-ins, data files and
some stuff that doesn't fit into these catagories. Here is a list
of top-level directories:
app
the application
The contents of these directories will be explained in detail in
the following sections.
The GIMP application
The source code of the core GIMP
application is found in the app directory.
app/arch
architecture specific code
app/arch/i386
Intel 386 specific code
app/arch/i386/mmx
MMX code for the Intel 386 processor family
app/base
base functionality such as pixel regions, tiles etc.
app/paint-funcs
functions to manipulate pixels, part of the base
functionality, uses code from the arch directory
app/config
handling of config files, provides the GimpConfig
interface and the GimpRc object which is used from
all over of the application. Depends on GObject
app/core
the core of the GIMP core, makes heavy use of GObject
but is not GTK+-dependant.
app/file
file handling routines, part of the core
app/paint
paint core that provides different ways to paint strokes
app/plug-in
plug-in handling, part of the core
app/pdb
core side of the Procedural Database, exposes internal
functionality by means of the PDB
app/text
text handling, part of the core
app/vectors
vectors framework, part of the core
app/xcf
XCF file handling, part of the core
app/display
handles displays (e.g. image windows), part of the GUI
app/tools
user interface part of the tools as found in the toolbox.
The actual tool functionality is in the core
app/widgets
a collection of widgets used in the application GUI
app/gui
he code that puts the user interface together