How fire-eggs/yaiv works
Main Components Identification
a. Core Application Layer
• Main Application (src/main.cpp)
• Window Management (src/yaiv_win.cpp)
• Image Display Components
• Toolbar System (src/toolbar/*)
b. Image Processing Layer
• Multiple Image Format Handlers
• Animation Support
• Image Scaling/Rotation
c. External Dependencies
• FLTK 1.4 Framework
• LibWebP
• OpenMP
• External Libraries Integration
[User Interface Layer]
• [Window Management]
• Title Bar
• Toolbar
• Image Display Area
[Image Processing Layer]
• [Format Handlers]
• JPEG Handler
• PNG Handler
• GIF Handler
• WebP Handler
• SVG Handler
• BMP Handler
• [Image Operations]
• Scaling
• Rotation
• Animation
• Pan/Zoom
[External Dependencies]
• FLTK 1.4
• LibWebP
• OpenMP
• Other Libraries
Important Elements to Highlight
a. Input Methods:
• File System Integration
• Drag-and-Drop Support
• Command Line Interface
• Toolbar Interface
b. Image Processing Features:
• Multiple Format Support
• Animation Handling
• Image Transformation
• Metadata Handling (via exiv2)
c. User Interface Features:
• Toolbar Components
• Window Management
• Event Handling
• Keyboard Controls
Data Flow Indicators
• Image loading path from source to display
• User input handling flow
• Image processing pipeline
• Inter-component communication
Implementation Details
• Mediator pattern (src/mediator.cpp)
• File scanning system (src/fileScanThread.cpp)
• Image format handlers (various *image.hpp files)
• Custom UI components (src/Fl_* files)