1
0
mirror of https://github.com/lxsang/DiyaSDK.git synced 2024-12-25 10:58:21 +01:00

Add support for basic Graphic primitives
All checks were successful
gitea-sync/DiyaSDK/pipeline/head This commit looks good

This commit is contained in:
Dany LE 2022-08-12 12:28:18 +02:00
parent 80bf7eedcf
commit cc81dd2b66
2 changed files with 24 additions and 2 deletions

View File

@ -20,7 +20,7 @@ if [ ! -e "$SRC_IMG" ]; then
cd "$BASE_DIR/builder/"
curl "https://get.pharo.org/$ARCH/70+vm" | bash
cd "$W"
find . -name "*SDL*.so*" -exec rm -f {} \;
#find . -name "*SDL*.so*" -exec rm -f {} \;
fi
cp -rf "$W/fonts" "$BASE_DIR/builder/"
# chmod -R a+rw $BASE_DIR

View File

@ -48,6 +48,8 @@ packages := #(
'System-Localization'
'STON-Core'
'Colors'
'Graphics-Primitives'
'Graphics-Files'
'Diya'
).
@ -65,7 +67,6 @@ ignoresClasses := {
ManifestGraphicsPrimitives.
EllipseMidpointTracer.
GrafPort.
Form
}.
"remove some unused meothods"
AbstractFileReference
@ -93,6 +94,20 @@ Rectangle class
CompositeTransform removeSelector:#asMorphicTransform.
Form class
removeSelector: #serviceOpenImageInWindow;
removeSelector: #openImageInWindow:;
removeSelector: #serviceImageAsBackground;
removeSelector: #setBackgroundFromImageFileNamed:;
removeSelector: #services.
Form
removeSelector: #setAsBackground;
compile: 'scaledByDisplayScaleFactor
'.
GIFReadWriter class
removeSelector: #exampleAnim.
packages do:[:name | |pkg trait classes extensionMethods|
Transcript show: 'Processing package ',name;cr.
FFIMethodRegistry resetAll.
@ -133,6 +148,13 @@ core addClass: (HEClass for:OSWindowPlatformSpecificHandle);
addClass: (HEClass for:STCommandLineHandler);
addClass: (HEClass for:FreeTypeFace);
"form object support"
addClass: (HEClass for:DisplayObject);
addClass: (HEClass for:DisplayMedium);
addClass: (HEClass for:Form);
addClass: (HEClass for:ColorForm);
addClass: (HEClass for:ColorArray);
addClass: (HEClass for: AnimatedImageFrame);
addClass: (HEClass for: ShortIntegerArray);
addClass: (HEClass for:DisplayTransform);
addClass: (HEClass for:MatrixTransform2x3);