1
0
mirror of https://github.com/lxsang/Diya-API.git synced 2024-12-26 19:38:22 +01:00

WIP: Add emptly classes for Base widgets

This commit is contained in:
DanyLE 2022-03-16 18:37:51 +01:00
parent e8b724daa1
commit c7b01a0e90
15 changed files with 72 additions and 1 deletions

View File

@ -84,9 +84,10 @@ DiyaBoot >> exampleNodes [
node borderWidth: 3.0.
style := DiyaFontManager uniqueInstance style: 'Bold' from:'Ubuntu'.
"style := DiyaFontManager uniqueInstance style: 'Regular' from: 'bootstrap-icons'."
node := root addNode: (DiyaRectangle size: 208@288) at: 250 @ 50.
node color: (Color orange).
node texture: (style textureOf: 20).
node texture: (style textureOf: 48).
node borderColor: Color red.
node borderWidth: 3.0.

5
Diya/DiyaButton.class.st Normal file
View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaButton,
#superclass : #DiyaWidget,
#category : #'Diya-Widgets'
}

5
Diya/DiyaHbox.class.st Normal file
View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaHbox,
#superclass : #DiyaLayout,
#category : #'Diya-Widgets'
}

5
Diya/DiyaIcon.class.st Normal file
View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaIcon,
#superclass : #DiyaImageView,
#category : #'Diya-Widgets'
}

View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaImageView,
#superclass : #DiyaRectangle,
#category : #'Diya-Widgets'
}

5
Diya/DiyaLabel.class.st Normal file
View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaLabel,
#superclass : #DiyaWidget,
#category : #'Diya-Widgets'
}

5
Diya/DiyaLayout.class.st Normal file
View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaLayout,
#superclass : #DiyaWidget,
#category : #'Diya-Widgets'
}

View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaListView,
#superclass : #DiyaWidget,
#category : #'Diya-Widgets'
}

View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaScrollPanel,
#superclass : #DiyaWidget,
#category : #'Diya-Widgets'
}

5
Diya/DiyaSwitch.class.st Normal file
View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaSwitch,
#superclass : #DiyaWidget,
#category : #'Diya-Widgets'
}

View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaTableLayout,
#superclass : #DiyaWidget,
#category : #'Diya-Widgets'
}

View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaTextArea,
#superclass : #DiyaWidget,
#category : #'Diya-Widgets'
}

View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaTextInput,
#superclass : #DiyaWidget,
#category : #'Diya-Widgets'
}

5
Diya/DiyaVbox.class.st Normal file
View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaVbox,
#superclass : #DiyaLayout,
#category : #'Diya-Widgets'
}

5
Diya/DiyaWidget.class.st Normal file
View File

@ -0,0 +1,5 @@
Class {
#name : #DiyaWidget,
#superclass : #Diya2DNode,
#category : #'Diya-Widgets'
}