GithubHelp home page GithubHelp logo

hasii2011 / albow-python-3 Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 0.0 13.57 MB

Albow running on Python 3.x

License: MIT License

Python 99.67% Shell 0.33%
pygame pygame-library pygame-gui pygame-widgets

albow-python-3's Issues

TextBox sizing bug

TextBox does not respect the #of columns and the # of rows sizing parameters. Also, when those are specified it does not automatically display its scrollbars

Fix RootWidget.run_modal()

`

                    # Pygame 1.9 update
                    #
                    # timer_event = Event(USEREVENT, time = time_now)
                    timer_event = Event(USEREVENT, dict=None)
                    events = []

`

The event needs to have time included

Fix time_base

Original time_base not getting set correctly. Has to do with my non-use of modules

Dialog

TODO Appears to be some code for future use to provide other than True/False responses

    if responses and default is not None:
        self.enter_response = responses[default]
    if responses and cancel is not None:
        self.cancel_response = responses[cancel]

Externally loadable Theme

Currently, Albow loads its current theme via a static method. Make an external JSON file that holds the theme defaults and load them in at runtime; Voila' no code changes to change them just an external configuration file

Fix ListBox to return values

Currently developers input a list of strings to display; The selected value is the list of strings; Enhance the widget to also accept a list of return values; Then returns those values when the string items is selected.

Scheduler

.thunk()
# TODO: Fix to include the time attribute
#
# Pygame 1.9 update
#
# event = Event(USEREVENT, time = timestamp())
event = Event(USEREVENT, dict=None)

Fix ImageButton

Image button uses theme properties to set its disabled, enabled, highlighted states. That is not correct. Should be overridable_property

CallRef

TODO:  This is broken figure out how to fix it

ListBox partial view

when specifying to view other than default nRows the listbox partial obscures the last selection

Shell

    TODO fix screen imports shell & shell imports screen

GLSurface

Fix todo
# TODO: flags
# print "GLSurface.blit:", src, "at", dst, "area =", area ###
.blit and .fill
.set_viewport()
w & h not used

ThemeLoader should look up resources

ThemeLoader used the internal ResourceUtility method to look up its resources. Internal resources for the built-in Themes should look them up in an internal resource package.

Turns out that when loading themes the theme loader uses the resource utility module to load fonts. We cannot abide by that. Use our own mechanism and cache to avoid the API standard method

Widget.present

    # TODO  Something about my re-packaging caused me to lose
    # visibility to the root widget;  Figure it out later

Create a multi-line TextBox widget

Would be nice to be able to display multiples lines of text. Should include scrollbars when necessary; Should be able to specify size in columns and rows. First version can be read-only

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.