Skip to content

Commit

Permalink
Reordered/Renamed categories/methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo Zilkenat committed Jun 24, 2024
1 parent cc122f0 commit c16ff92
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 51 deletions.
16 changes: 8 additions & 8 deletions source/GM-TE/GMTEEditor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -597,14 +597,14 @@ GMTEEditor >> createTraySpecWithBuilder: aBuilder [

{
#category : #'layer button functions',
#'squeak_changestamp' : 'TW 6/23/2024 22:51'
#'squeak_changestamp' : 'Ivo Zilkenat 6/24/2024 10:45'
}
GMTEEditor >> deleteSelectedLayers [
"deletes all selected layers unless this would delete all layers"

(self anyLayerSelected not or: (self selectedLayers size >= self getLayerList size)) ifTrue: [^ nil].

self tileMap removeLayers: self selectedLayers.
self tileMap tileMatrixStack removeLayersAt: self selectedLayers.
self
deselectAllLayers;
changed: #getLayerList;
Expand Down Expand Up @@ -893,7 +893,7 @@ GMTEEditor >> importMenu [
]

{
#category : #initialisation,
#category : #initialization,
#'squeak_changestamp' : 'TW 6/23/2024 20:14'
}
GMTEEditor >> initialize [
Expand All @@ -911,7 +911,7 @@ GMTEEditor >> initialize [
]

{
#category : #initialisation,
#category : #initialization,
#'squeak_changestamp' : 'jj 6/23/2024 17:27'
}
GMTEEditor >> initializeDefaultTileMapMatrix [
Expand All @@ -921,7 +921,7 @@ GMTEEditor >> initializeDefaultTileMapMatrix [
]

{
#category : #initialisation,
#category : #initialization,
#'squeak_changestamp' : 'jj 6/22/2024 20:59'
}
GMTEEditor >> initializeTileMapMatrixWithHeight: aHeight width: aWidth [
Expand Down Expand Up @@ -1125,7 +1125,7 @@ GMTEEditor >> onClose [
]

{
#category : #initialisation,
#category : #initialization,
#'squeak_changestamp' : 'jj 6/22/2024 21:14'
}
GMTEEditor >> open [
Expand Down Expand Up @@ -1257,13 +1257,13 @@ GMTEEditor >> resetAllLayers [

{
#category : #'layer button functions',
#'squeak_changestamp' : 'jj 6/22/2024 21:30'
#'squeak_changestamp' : 'Ivo Zilkenat 6/24/2024 10:43'
}
GMTEEditor >> resetLayers: aSet [
"resets the layers represented by aSet"

"TODO: maybe combine this with updatTile: inLayer: FromEvent: . Currently not working with layers."
self tileMap resetLayers: aSet
self tileMap tileMatrixStack resetLayers: aSet
]

{
Expand Down
33 changes: 3 additions & 30 deletions source/GM-TE/GMTEEditorTileMap.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Class {
'tileSelectionSet',
'model'
],
#category : #'GM-TE-Core'
#category : #'GM-TE-TileMap'
}

{
Expand Down Expand Up @@ -48,7 +48,7 @@ GMTEEditorTileMap >> handlesMouseMove: anEvent [
]

{
#category : #'as yet unclassified',
#category : #initialization,
#'squeak_changestamp' : 'TW 6/22/2024 01:25'
}
GMTEEditorTileMap >> initialize [
Expand Down Expand Up @@ -115,16 +115,7 @@ GMTEEditorTileMap >> mouseMove: anEvent [
]

{
#category : #'as yet unclassified',
#'squeak_changestamp' : 'TW 6/20/2024 21:57'
}
GMTEEditorTileMap >> removeLayers: aSet [

self tileMatrixStack removeLayersAt: aSet
]

{
#category : #'as yet unclassified',
#category : #updating,
#'squeak_changestamp' : 'JS 6/15/2024 12:41'
}
GMTEEditorTileMap >> rescaleMap [
Expand All @@ -133,24 +124,6 @@ GMTEEditorTileMap >> rescaleMap [
super rescaleMap
]

{
#category : #'as yet unclassified',
#'squeak_changestamp' : 'TW 6/20/2024 21:45'
}
GMTEEditorTileMap >> resetAllLayers: aSet [

self tileMatrixStack reset
]

{
#category : #'as yet unclassified',
#'squeak_changestamp' : 'TW 6/20/2024 21:42'
}
GMTEEditorTileMap >> resetLayers: aSet [

self tileMatrixStack resetLayers: aSet
]

{
#category : #accessing,
#'squeak_changestamp' : 'jj 6/23/2024 13:35'
Expand Down
6 changes: 3 additions & 3 deletions source/GM-TE/GMTEImageMorph.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GMTEImageMorph class >> placeholderDepth [
]

{
#category : #'as yet unclassified',
#category : #copying,
#'squeak_changestamp' : 'jj 6/22/2024 16:10'
}
GMTEImageMorph >> asBlendedWithImageMorph: anImageMorph [
Expand Down Expand Up @@ -77,7 +77,7 @@ GMTEImageMorph >> fullResolutionSprite: anObject [
]

{
#category : #'as yet unclassified',
#category : #updating,
#'squeak_changestamp' : 'jj 6/23/2024 17:07'
}
GMTEImageMorph >> setPlaceholderWithColor: aColor [
Expand All @@ -90,7 +90,7 @@ GMTEImageMorph >> setPlaceholderWithColor: aColor [
]

{
#category : #'as yet unclassified',
#category : #updating,
#'squeak_changestamp' : 'jj 6/23/2024 17:07'
}
GMTEImageMorph >> setPlaceholderWithExtent: anExtent color: aColor [
Expand Down
6 changes: 3 additions & 3 deletions source/GM-TE/GMTETile.class.st
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Class {
#name : #GMTETile,
#superclass : #GMTEImageMorph,
#category : #'GM-TE-Core'
#category : #'GM-TE-TileMap'
}

{
Expand All @@ -26,7 +26,7 @@ GMTETile class >> position: aPoint extent: anExtent [
]

{
#category : #'as yet unclassified',
#category : #updating,
#'squeak_changestamp' : 'Alex M 6/22/2024 14:34'
}
GMTETile >> applyTileSprite: aTile [
Expand All @@ -35,7 +35,7 @@ GMTETile >> applyTileSprite: aTile [
]

{
#category : #'as yet unclassified',
#category : #updating,
#'squeak_changestamp' : 'Ivo Zilkenat 6/18/2024 09:50'
}
GMTETile >> setToPlaceholder [
Expand Down
2 changes: 1 addition & 1 deletion source/GM-TE/GMTETileMap.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Class {
'backgroundTiles',
'autoGenerateBackground'
],
#category : #'GM-TE-Core'
#category : #'GM-TE-TileMap'
}

{
Expand Down
2 changes: 1 addition & 1 deletion source/GM-TE/GMTETileMatrixLayer.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Class {
'visible',
'displayName'
],
#category : #'GM-TE-Core'
#category : #'GM-TE-TileMap'
}

{
Expand Down
2 changes: 1 addition & 1 deletion source/GM-TE/GMTETileMatrixStack.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Class {
'morphicLayerStartingOffset',
'visible'
],
#category : #'GM-TE-Core'
#category : #'GM-TE-TileMap'
}

{
Expand Down
2 changes: 1 addition & 1 deletion source/GM-TE/GMTETileSelectionSet.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Class {
#instVars : [
'highlightImage'
],
#category : #'GM-TE-Core'
#category : #'GM-TE-TileMap'
}

{
Expand Down
2 changes: 1 addition & 1 deletion source/GM-TE/GMTETileVisual.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Class {
#instVars : [
'decorationMorph'
],
#category : #'GM-TE-Core'
#category : #'GM-TE-TileMap'
}

{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
helper
setUp

self editor ifNil: [self editor: GMTEEditor new].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
"class" : {
},
"instance" : {
"clickButton:" : " 6/24/2024 09:45:49",
"clickButton:" : "6/24/2024 09:45:49",
"editor" : "jj 6/22/2024 20:20",
"editor:" : "jj 6/22/2024 16:55",
"fileUUID" : "jj 6/22/2024 20:21",
"fileUUID:" : "jj 6/22/2024 16:55",
"loadTestMapFileToFileDirectory" : "JS 6/23/2024 18:18",
"setUp" : "jj 6/23/2024 18:55",
"setup" : " 6/24/2024 10:17:32",
"tearDown" : "jj 6/22/2024 20:24",
"testAddLayerButton" : "JS 6/24/2024 00:19",
"testDeleteLayer" : "jj 6/22/2024 20:25",
Expand Down

0 comments on commit c16ff92

Please sign in to comment.