GithubHelp home page GithubHelp logo

hasii2011 / albow-python-3 Goto Github PK

View Code? Open in Web Editor NEW
7.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 People

Contributors

hasii2011 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

albow-python-3's Issues

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

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]

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

Scheduler

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

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

GLSurface

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

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

CallRef

TODO:  This is broken figure out how to fix it

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.

Shell

    TODO fix screen imports shell & shell imports screen

Fix ImageButton

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

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

ListBox partial view

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

Widget.present

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

Fix time_base

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

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.