Skip to content

Commit

Permalink
Using new property showPageIndicator
Browse files Browse the repository at this point in the history
- Switch to official build of lime 8.1.3
- Update hxcpp to 4.3.62
(reference #122)
piotrzarzycki21 committed Aug 30, 2024
1 parent 28f0e5f commit a539551
Showing 5 changed files with 8 additions and 24 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/sub-build-linux.yml
Original file line number Diff line number Diff line change
@@ -110,13 +110,12 @@ jobs:
if: ${{ !inputs.caching || !steps.cache-bin.outputs.cache-hit }}
working-directory: Build
run: |
haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp.git v4.3.56
haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp.git v4.3.62
pushd .
cd /opt/hostedtoolcache/haxe/4.3.4/x64/lib/hxcpp/git/tools/hxcpp
haxe compile.hxml
popd
git clone --recursive --depth 1 --branch 8.2.0-Dev https://github.com/openfl/lime
haxelib dev lime lime
haxelib install lime 8.1.3
haxelib install format
haxelib install hxp
haxelib install yaml
5 changes: 2 additions & 3 deletions .github/workflows/sub-build-macos.yml
Original file line number Diff line number Diff line change
@@ -99,13 +99,12 @@ jobs:
if: ${{ !inputs.caching || !steps.cache-bin.outputs.cache-hit }}
working-directory: Build
run: |
haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp.git v4.3.56
haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp.git v4.3.62
pushd .
cd /Users/runner/hostedtoolcache/haxe/4.3.4/x64/lib/hxcpp/git/tools/hxcpp
haxe compile.hxml
popd
git clone --recursive --depth 1 --branch 8.3.0-Dev https://github.com/openfl/lime
haxelib dev lime lime
haxelib install lime 8.1.3
haxelib install format
haxelib install hxp
haxelib install yaml
5 changes: 2 additions & 3 deletions .github/workflows/sub-build-windows.yml
Original file line number Diff line number Diff line change
@@ -99,13 +99,12 @@ jobs:
if: ${{ !inputs.caching || !steps.cache-bin.outputs.cache-hit }}
working-directory: Build
run: |
haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp.git v4.3.56
haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp.git v4.3.62
pushd .
cd C:\hostedtoolcache\windows\haxe\4.3.4\x64\lib\hxcpp\git\tools\hxcpp
haxe compile.hxml
popd
git clone --recursive --depth 1 --branch 8.2.0-Dev https://github.com/openfl/lime
haxelib dev lime lime
haxelib install lime 8.1.3
haxelib install format
haxelib install hxp
haxelib install yaml
Original file line number Diff line number Diff line change
@@ -31,7 +31,6 @@
package genesis.application.components;

import feathers.controls.navigators.PageNavigator;
import genesis.application.theme.GenesisApplicationTheme;

class GenesisNavigator extends PageNavigator {

@@ -44,9 +43,8 @@ class GenesisNavigator extends PageNavigator {
override function initialize() {

super.initialize();

this.customPageIndicatorVariant = GenesisApplicationTheme.PAGE_INDICATOR_INVISIBLE;


this.showPageIndicator = false;
}

}
Original file line number Diff line number Diff line change
@@ -42,7 +42,6 @@ import feathers.controls.FormItem;
import feathers.controls.Header;
import feathers.controls.Label;
import feathers.controls.LayoutGroup;
import feathers.controls.PageIndicator;
import feathers.controls.PopUpListView;
import feathers.controls.TextArea;
import feathers.controls.TextInput;
@@ -118,7 +117,6 @@ class GenesisApplicationTheme extends ClassVariantTheme {
public static final LAYOUT_GROUP_TOAST:String = "layout-group-toast";
public static final LAYOUT_GROUP_TOAST_CONTAINER:String = "layout-group-toast-container";
public static final LAYOUT_GROUP_PERCENTAGE_BAR:String = "layout-group-percentage-bar";
public static final PAGE_INDICATOR_INVISIBLE:String = "page-indicator-invisible";
public static final TEXT_AREA_PRIVACY:String = "text-area-privacy";

public static final ICON_CHECKBOX_LARGE:String = "assets/images/common/checkbox_large.png";
@@ -328,7 +326,6 @@ class GenesisApplicationTheme extends ClassVariantTheme {
this.styleProvider.setStyleFunction( MainMenuButton, null, _setMainMenuButtonStyles );
this.styleProvider.setStyleFunction( Page, LAYOUT_GROUP_LOGIN, _setPageLoginStyles );
this.styleProvider.setStyleFunction( Page, null, _setPageStyles );
this.styleProvider.setStyleFunction( PageIndicator, PAGE_INDICATOR_INVISIBLE, _setPageIndicatorInvisibleStyles );
this.styleProvider.setStyleFunction( ProgressBar, null, _setProgressBarStyles );
this.styleProvider.setStyleFunction( TextArea, TEXT_AREA_PRIVACY, _setTextAreaPrivacyStyles );
this.styleProvider.setStyleFunction( TextInput, null, _setTextInputStyles );
@@ -709,14 +706,6 @@ class GenesisApplicationTheme extends ClassVariantTheme {

}


function _setPageIndicatorInvisibleStyles( indicator:PageIndicator ) {

indicator.layout = new HorizontalLayout();
indicator.visible = indicator.includeInLayout = false;

}

function _setPopUpListViewButtonStyles( button:Button ) {

_setButtonStyles( button );

0 comments on commit a539551

Please sign in to comment.