- Added main application class `SpriteEditorApp` with layout setup. - Created menu bar with placeholder options. - Implemented `BottomToolbarView`, `LeftSidebarView`, `MainEditorView`, `RightSidebarView` with basic UI elements. - Added dialog classes for `ExportSettingsDialog` and `FlipbookCreatorDialog` to manage export settings and flipbook creation. - Introduced support for loading and displaying images in the flipbook creator. - Established a structure for handling sprite sheet composition and preview rendering.
21 lines
599 B
Python
21 lines
599 B
Python
import tkinter as tk
|
|
from tkinter import ttk
|
|
|
|
|
|
class MainEditorView(ttk.LabelFrame):
|
|
def __init__(self, parent) -> None:
|
|
super().__init__(parent, text="Main Editor (Placeholder)")
|
|
self.columnconfigure(0, weight=1)
|
|
self.rowconfigure(0, weight=1)
|
|
|
|
canvas = tk.Canvas(self, bg="#2c2c2c", highlightthickness=0)
|
|
canvas.grid(row=0, column=0, sticky="nsew", padx=8, pady=8)
|
|
canvas.create_text(
|
|
220,
|
|
160,
|
|
text="Sprite Editing Area Placeholder",
|
|
fill="#f0f0f0",
|
|
font=("Segoe UI", 12),
|
|
)
|
|
|