Debian Codegraph @

tools/castle-editor/TODO.md

raw symbols SCIP
1 ## TODO
2
3 ------------------------------------------------------------------------------
4 Lower priority:
5 OK if after 7.0 release:
6
7 * Define EditorAllowResize for
8 castlenotifications.pas
9 TCastleTouchNavigation
10
11 * TCastleButton:
12 - Simplify property names, just Color and UseColor and BackgroundImage, less usage of "Custom" prefix
13 - Test a way to upgrade names in design files while doing above?
14
15 * *All* images from theme should also be customizable at the control level,
16 and naming should be consistent.
17
18 * ? on Layout tab, new button for TCastleImageControl
19 "Set Size Explicitly From Current Image"
20 Unsure how much use-case.
21
22 * Visual inspector. designer etc. less important
23 * Dragging UI: should "Snap" snap to the final value (like an invisible grid?)
24 Would be more like Delphi/Lazarus, probably.
25 Right now we are more like Blender, only movement amount is snapped.
26 * ? open last design in the project,
27 ? open the only scene in the project, if only one exists
28 for now, list of views is good solution.
29 * after adding, keep previously selected still selected
30 * removing - keep selected above?
31
32 * Add components tab at the bottom, with large icon for each component
33
34 * allow to control auto-scaling
35
36 when clicking on 44% (currently shows a hint about UI scaling) a dialog:
37
38 Configure user interface scaling
39
40 User interface scaling simulates a window of a particular size by adjusting the coordinates internally used by the UI controls. In effect, you can set hardcoded values for controls sizes, and they will take the same portion of the final window. You should still carefully set the anchors of your UI controls, as the final window may have various aspect ratios.
41
42 - No user interface scaling
43 - Window fits inside the simulated area size
44 - Window encloses simulated area size (Recommended)
45
46 (From code, you can control this using Window.Container.UIScalingXxx properties.)
47
48 * Make files browser with features as planned.
49 * allow dropping scenes/images on UI design - done, but show preview when dropping
50 * on audio files, you can open them with `examples/audio/audio_player/` (should this be moved to tools directory? probably!)
51
52 * build tool integration:
53 * For "run", colorized CastleLog warnings
54 * For "compile", colorize FPC warnings, errors
55 * Shorter compile output:
56 * lines "compiling..", "writing resource string table...", are displayed, but then replaced by a next AddLine. This way they serve as "progress indicator" but do not eat so much output space.
57 * also do not show FPC "logo", do not repeat information about FPC version, Os/CPU 2 times, debug mode,...
58 * remove the "separator" lines. The bold lines already separate them nicely?
59 * "command finished with status 0" -> "Command finished successfully."
60 * show count of warnings/errors if non-zero on tab header, allow to filter by them
61 * rerun generate-program each time? (mark them as some *DO NOT MODIFY THIS, THIS IS ONLY FOR LAZARUS* comment)
62 Not really OK, in case we open program with hand-crafted program file.
63 Maybe only auto-generate in castle-engine-output,
64 before opening Lazarus,
65 if lpr not yet present?
66 Best: change to use planned CastleEngineConfig.pas unit,
67 that is always auto-generated without warning.
68 Do not overwrite lpr each time.
69 * checkbox in menu for verbose output from the build tool
70 * use machine-readble format format for communication with build tool and CastleLog when CASTLE_ENGINE_EDITOR_INSIDE=true
71
72 Causes build tool some lines (e.g. in verbose fpc command line) to use special format, and actual program uses CastleLog that has special output (and always goes to console even on Windows)
73 - Avoid xml tags here (would require quoting rest).
74 - Just tags like Cge-output, bytes=xxx:
75 - Cge-output,multiline,...
76 - Cge-output, warning,...
77 - bytes are always required and allow reliably waiting reading up to message end, without the need to quote/unquote it
78
79 * Detect multilibe logs and show as one list item in output that can be expanded,, only category initially visible. E.g. useful for
80 - "OpenGL Information" or
81 - command-line of FPC in build tool verbose mode
82
83 * small GUI stuff:
84 * on NewProject form AutoSize?
85 * allow switching list/icon/etc. view on "Files"
86 * allow configuring command output "word wrap"
87 * Output ListBox has some width (and horiz scrollbar) on Windows, unrelated to anything?
88
89 * Project options:
90 * Allow to configure project qualified name from "Project Options" in editor
91 * Icon, other stuff from CastleEngineManifest.xml could be configuirable in editor
92
93 * For editor on Lazarus at design-time:
94 * TCastleControl (or sthg else) in designer mode should set ApplicationDataOverride,
95 to allow our dialogs to replace URL with castle-data:/ nicely.
96
97 * at scene loading show something "wait, loading..."
98
99 * allow to import file with textures, audio, inline tracked
100 as alternative at warning message when opening file outside of castle-data:
101
102 * When something is anchored to top-right,
103 resizing by dragging left border makes unpleasant visual effect.
104 Weird resizing by dragging bottom border is OK.
105 On GTK2, with LCL 1.8.0.
106
107 ------------------------------------------------------------------------------
108 "castle-engine editor" improvements:
109
110 - Do not rebuild "castle-engine editor" when not needed. It seems we should compare generated lpi/lpk, and *do not* overwrite (to not change timestamp) when equal. This way Lazarus xxx.compiled files will work.
111
112 Hm, risky. Lazarus will then not recompile when only editor_units changed.