1
0
mirror of https://github.com/lxsang/DiyaSDK.git synced 2024-12-26 19:38: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/" cd "$BASE_DIR/builder/"
curl "https://get.pharo.org/$ARCH/70+vm" | bash curl "https://get.pharo.org/$ARCH/70+vm" | bash
cd "$W" cd "$W"
find . -name "*SDL*.so*" -exec rm -f {} \; #find . -name "*SDL*.so*" -exec rm -f {} \;
fi fi
cp -rf "$W/fonts" "$BASE_DIR/builder/" cp -rf "$W/fonts" "$BASE_DIR/builder/"
# chmod -R a+rw $BASE_DIR # chmod -R a+rw $BASE_DIR

View File

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