Beispiel #1
0
    def _equip_side_navbar(self):
        """
        pry_sidebar 3 options
            research.
            equipment.
            detail.

        regular_sidebar 4 options
            enhancement.
            limit break.
            equipment.
            detail.

        retrofit_sidebar 5 options
            retrofit.
            enhancement.
            limit break.
            equipment.
            detail.
        """
        equip_side_navbar = ButtonGrid(origin=(21, 118),
                                       delta=(0, 94.5),
                                       button_shape=(60, 75),
                                       grid_shape=(1, 5),
                                       name='DETAIL_SIDE_NAVBAR')

        return Navbar(grids=equip_side_navbar,
                      active_color=(247, 255, 173),
                      active_threshold=221,
                      inactive_color=(140, 162, 181),
                      inactive_threshold=221)
Beispiel #2
0
    def _guild_side_navbar(self):
        """
        leader_sidebar 6 options
            lobby.
            members.
            apply.
            logistics.
            tech.
            operations.

        member_sidebar 5 options
            lobby.
            members.
            logistics.
            tech.
            operations.
        """
        guild_side_navbar = ButtonGrid(origin=(21, 118),
                                       delta=(0, 94.5),
                                       button_shape=(60, 75),
                                       grid_shape=(1, 6),
                                       name='GUILD_SIDE_NAVBAR')

        return Navbar(grids=guild_side_navbar,
                      active_color=(247, 255, 173),
                      inactive_color=(140, 162, 181))
Beispiel #3
0
 def _shipyard_bottom_navbar(self):
     """
     Shipyard bottom nav bar used to switch between ships within a selected series
     Location varies on own's research progress, so users
     must verify the index for themselves
     """
     return Navbar(grids=SHIPYARD_FACE_GRID,
                   active_color=(33, 113, 222),
                   active_threshold=221,
                   active_count=50,
                   inactive_color=(49, 60, 82),
                   inactive_threshold=221,
                   inactive_count=50)
Beispiel #4
0
    def _exchange_bottom_navbar(self):
        """
        2 options
            ships.
            items.
        """
        exchange_bottom_navbar = ButtonGrid(
            origin=(569, 637), delta=(208, 0),
            button_shape=(70, 49), grid_shape=(2, 1),
            name='EXCHANGE_BOTTOM_NAVBAR')

        return Navbar(grids=exchange_bottom_navbar,
                      active_color=(247, 227, 148),
                      inactive_color=(189, 231, 247))
Beispiel #5
0
    def _shop_bottom_navbar(self):
        """
        shop_bottom_navbar 5 options
            guild.
            prototype.
            core.
            merit.
            general.
        """
        shop_bottom_navbar = ButtonGrid(origin=(399, 619),
                                        delta=(182, 0),
                                        button_shape=(56, 42),
                                        grid_shape=(5, 1),
                                        name='SHOP_BOTTOM_NAVBAR')

        return Navbar(grids=shop_bottom_navbar,
                      active_color=(33, 195, 239),
                      inactive_color=(181, 178, 181))
Beispiel #6
0
    def _shop_bottom_navbar(self):
        """
        Below information relative to after
        shop_swipe
        shop_bottom_navbar 5 options
            medal
            guild.
            prototype.
            core.
            merit.
        """
        shop_bottom_navbar = ButtonGrid(
            origin=(399, 619), delta=(182, 0),
            button_shape=(56, 42), grid_shape=(5, 1),
            name='SHOP_BOTTOM_NAVBAR')

        return Navbar(grids=shop_bottom_navbar,
                      active_color=(33, 195, 239),
                      inactive_color=(181, 178, 181))
Beispiel #7
0
    def _reward_side_navbar(self):
        """
        side_navbar options:
           all.
           main.
           side.
           daily.
           weekly.
           event.
        """
        reward_side_navbar = ButtonGrid(origin=(21, 118),
                                        delta=(0, 94.5),
                                        button_shape=(60, 75),
                                        grid_shape=(1, 6),
                                        name='REWARD_SIDE_NAVBAR')

        return Navbar(grids=reward_side_navbar,
                      active_color=(247, 255, 173),
                      inactive_color=(140, 162, 181))
Beispiel #8
0
    def _gacha_side_navbar(self):
        """
        limited_sidebar 5 options
            build.
            limited_build.
            orders.
            shop.
            retire.

        regular_sidebar 4 options
            build.
            orders.
            shop.
            retire.
        """
        gacha_side_navbar = ButtonGrid(
            origin=(21, 126), delta=(0, 98),
            button_shape=(60, 80), grid_shape=(1, 5),
            name='GACHA_SIDE_NAVBAR')

        return Navbar(grids=gacha_side_navbar,
                      active_color=(247, 255, 173), active_threshold=221,
                      inactive_color=(140, 162, 181), inactive_threshold=221)
Beispiel #9
0
    def _construct_bottom_navbar(self):
        """
        limited 4 options
            build.
            limited_build.
            orders.
            shop.
            retire.

        regular 3 options
            build.
            orders.
            shop.
            retire.
        """
        construct_bottom_navbar = ButtonGrid(
            origin=(262, 615), delta=(209, 0),
            button_shape=(70, 49), grid_shape=(4, 1),
            name='CONSTRUCT_BOTTOM_NAVBAR')

        return Navbar(grids=construct_bottom_navbar,
                      active_color=(247, 227, 148),
                      inactive_color=(189, 231, 247))