How vani-tty1/memerist works
Memerist is a GTK image-meme editor. The user opens or pastes an image, edits a layered composition with canvas, crop, drawing, and template tools, then exports or saves a project. The graph includes the indexed core modules and the distinct dialogs and editing subsystems visible in the tree. Some implementations were not excerpted; their connections are shown only where the source index supports them.
Main entry points: meme-window.c Editor window · meme-application.c Application actions · meme-canvas.c Canvas interactions · meme-fileio.c Image and project I/O
Components 18
Application
- Program entry
src/main.c - Application actions
src/meme-application.c - Editor window
src/meme-window.c - Welcome dialog
src/meme-welcome-dialog.c - Preferences dialog
src/meme-preferences-dialog.c - Accent handling
src/meme-accent.c - Theme switcher
src/meme-theme-switcher.c
Image Editing
- Canvas interactions
src/meme-canvas.c - Crop and margins
src/meme-window-crop.c - Layer controls
src/meme-window-layers.c - Template gallery
src/meme-window-templates.c - Drag preview
src/meme-drag-preview.c
Composition
- Layer model and effects
src/meme-core.c - Composite renderer
src/meme-renderer.c
Files and Preferences
- Image and project I/O
src/meme-fileio.c
Other components
- Editor user
- Image files
- ImageMagick
Connections 20
- Editor user → Program entry: launches
src/main.c - Program entry → Application actions: starts
src/main.c - Application actions → Editor window: presents
src/meme-application.c - Application actions → Welcome dialog: may show
src/meme-application.c - Application actions → Preferences dialog: opens
src/meme-application.c - Editor window → Image and project I/O: delegates I/O
src/meme-window.c - Editor window → Theme switcher: uses
src/meme-window.c - Editor window → Canvas interactions: handles edits
- Canvas interactions → Layer model and effects: uses layer model
src/meme-canvas.c - Editor window → Crop and margins: routes crop actions
src/meme-window.c - Editor window → Layer controls: routes layer actions
- Editor window → Template gallery: routes template actions
src/meme-window.c - Template gallery → Canvas interactions: updates image
src/meme-window-templates.c - Canvas interactions → Drag preview: uses preview
- Composite renderer → Layer model and effects: uses effects and layers
src/meme-renderer.c - Image and project I/O → Canvas interactions: loads image state
src/meme-fileio.c - Editor user → Image files: opens image
- Image and project I/O → ImageMagick: processes GIFs
src/meme-fileio.c - Image and project I/O → Image files: reads and writes
- Application actions → Accent handling: configures accent
src/meme-application.c