1
0
mirror of https://github.com/lxsang/DiyaSDK.git synced 2024-11-16 18:18:22 +01:00

use SLD image for image handling

This commit is contained in:
Dany LE 2022-08-09 00:25:36 +02:00
parent 1f49b1ed35
commit 942ad5802a
3 changed files with 9 additions and 21 deletions

View File

@ -1,3 +1,9 @@
# DiyaSDK
Base tools for Diya kernel Development
Dependencies on Linux system
```
libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev
```

View File

@ -20,6 +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 {} \;
fi
cp -rf "$W/fonts" "$BASE_DIR/builder/"
# chmod -R a+rw $BASE_DIR

View File

@ -48,8 +48,6 @@ packages := #(
'System-Localization'
'STON-Core'
'Colors'
'Graphics-Primitives'
'Graphics-Files'
'Diya'
).
@ -66,19 +64,10 @@ ignoresClasses := {
GlyphForm.
ManifestGraphicsPrimitives.
EllipseMidpointTracer.
GrafPort
GrafPort.
Form
}.
"remove some unused meothods"
Form class
removeSelector: #serviceOpenImageInWindow;
removeSelector: #openImageInWindow:;
removeSelector: #serviceImageAsBackground;
removeSelector: #setBackgroundFromImageFileNamed:;
removeSelector: #services.
Form
removeSelector: #setAsBackground;
compile: 'scaledByDisplayScaleFactor
'.
AbstractFileReference
removeSelector: #fileIn.
FileStream
@ -98,8 +87,6 @@ PharoCommandLineHandler
compile: 'runPreferences
'.
GIFReadWriter class
removeSelector: #exampleAnim.
Rectangle class
removeSelector: #fromUser:;
removeSelector: #fromUser.
@ -144,12 +131,6 @@ 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)
.