Anonymous Login
2017-12-11 17:48 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001919OpenClonkEngine - GUIpublic2017-05-27 12:07
ReporterMarky 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusnewResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0001919: Feature Request: Symbol-like entry that stretches graphics to dimensions of the window
DescriptionCurrently the Symbol entry in the GUI seems to work like this: It takes the picture of the definition/object, and scales it down so that it fits into the window dimensions, and centers it in the window.

This is good and useful for, you name it, symbols. However, sometimes I want to give the window a background graphics (instead of color) that is stretched to the window dimensions. This is useful for progress bars and the like. This is different from a menu decoration.

Example: Lets say I have a symbol that is 64x64 pixels, and I fit it into a window that is 128x32 pixels, then the symbol gets scaled down to 32x32 pixels and is centered along the x axis of the window.
What I want is an option to stretch the symbol to 128x32 pixels instead.

Ideally this would be a different property, for example BackgroundGraphics + BackgroundGraphicsName, instead of Symbol.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0005673

Sven2 (developer)

Last edited: 2017-05-27 12:07

View 2 revisions

I don't think it should be another property (like BackgroundGraphics), because then background drawing would need to duplicate every setting that exists for symbols drawing (symbol colors, draw from object/dev, etc.).

Instead, it should just be a property that controls symbol drawing (like Aspect=false). You can stack two window elements at the same position to achieve the background+symbol effect.

+Notes

-Issue History
Date Modified Username Field Change
2017-05-27 11:57 Marky New Issue
2017-05-27 12:05 Sven2 Note Added: 0005673
2017-05-27 12:07 Sven2 Note Edited: 0005673 View Revisions
+Issue History