# kavex/glueit architecture

> Architecture diagram of the GitHub repository kavex/glueit, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kavex/glueit
- Repository: https://github.com/kavex/glueit

## Overview

##### Project type and purpose
- This is a legacy, single-executable Windows desktop tool (“GlueIT”) built on .NET 2.0 for combining multiple same-sized sprite frames into a single sprite sheet.
- It provides a simple GUI for loading images, arranging their order, specifying columns, previewing the animation, and exporting to PNG/JPG/BMP.

##### File structure
- There is no source tree—only the compiled executable (`GlueIT 1.06.exe`), its manifest, and documentation assets (`README.md`, `readme.txt`, `img/`).
- Key files:
- GlueIT 1.06.exe – the entire application (GUI + core logic).
- GlueIT 1.06.exe.manifest – .NET runtime & permission settings.
- img/ – screenshot assets for documentation.

##### README for additional insights
- Original README.TXT describes version history, supported formats (.PNG, .JPG, .BMP), and core features: project system, transparency preservation, column layout, preview animation.
- No explicit architectural notes, but it strongly implies a clear separation between a user interface, image‐loading/rendering engine, and file-export subsystem.

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph ".NET Framework 2.0 / GDI+ / Windows OS"
        direction TB

        subgraph "Presentation Layer"
            direction TB
            UI["Presentation Layer (Windows Forms UI)"]:::ui
        end

        subgraph "Application Core"
            direction TB
            SM["Sequence Manager"]:::core
            LE["Layout Engine"]:::core
            R["Renderer"]:::core
            PM["Preview Module"]:::core
        end

        subgraph "File I/O Layer"
            direction TB
            IL["Image Loader"]:::io
            IE["Image Exporter"]:::io
        end

        Manifest[".NET Runtime & Permissions Config"]:::platform
        FS[("File System (Disk)")]:::io
        Documentation["Documentation & Usage Guide"]:::doc
        Screenshots["Sample Screenshots / Documentation Images"]:::doc
    end

    UI -->|"SelectFiles"| IL
    IL -->|"BitmapList"| SM
    SM -->|"SequenceData"| LE
    LE -->|"GridLayoutParameters"| R
    R -->|"CompositeBitmap"| IE
    IE -->|"ExportedFile"| FS
    SM -->|"FrameList"| PM
    PM -->|"RenderedFrame"| UI

    click UI "https://github.com/kavex/glueit/blob/master/GlueIT 1.06.exe"
    click SM "https://github.com/kavex/glueit/blob/master/GlueIT 1.06.exe"
    click LE "https://github.com/kavex/glueit/blob/master/GlueIT 1.06.exe"
    click R "https://github.com/kavex/glueit/blob/master/GlueIT 1.06.exe"
    click PM "https://github.com/kavex/glueit/blob/master/GlueIT 1.06.exe"
    click IL "https://github.com/kavex/glueit/blob/master/GlueIT 1.06.exe"
    click IE "https://github.com/kavex/glueit/blob/master/GlueIT 1.06.exe"
    click Manifest "https://github.com/kavex/glueit/blob/master/GlueIT 1.06.exe.manifest"
    click Documentation "https://github.com/kavex/glueit/blob/master/README.md"
    click Documentation "https://github.com/kavex/glueit/blob/master/readme.txt"
    click Screenshots "https://github.com/kavex/glueit/tree/master/img/"

    classDef ui fill:#AED6F1,stroke:#3498DB,color:#000;
    classDef core fill:#A9DFBF,stroke:#27AE60,color:#000;
    classDef io fill:#F9E79F,stroke:#D4AC0D,color:#000;
    classDef platform fill:#D5DBDB,stroke:#ABB2B9,color:#000;
    classDef doc fill:#E8DAEF,stroke:#8E44AD,color:#000;
```
