Skip to content

Conversation

@Tim-ats-d
Copy link
Owner

No description provided.

Tim-ats-d and others added 30 commits January 9, 2021 11:24
creation of the TextBox class which allows to encapsulate all attributes and generalist methods.
DialogBox now inherits this class.
utils.py contains the non-library related functions used by the main files.
Addition two new propertys to TextBox class : TextBox.position and TextBox.dimensions.
Parameters title and title_colors_pair_nb are now no longer required to instanciation of TextBox and DialogBox.
color_pair_nb parameter is now optionnal in DialogBox.char_by_char and DialogBox.word_by_word methods (set by default to 1).
The default delay between each character is now 0.04s instead of 0.05s in DialogBox.char_by_char method.
Change in the way the title of the TextBox works :  the default title is an empty string and is only displayed in if it is non-empty.
Added more accurate hinting typing in the signatures of the function.
Addition of instructions to built documentation in README.
Typo minors change in documentation.
Start writing a tutorial.
Moving the tests contained in core.py to /tests/test.py
Start implementing the ChoiceBox class to provide selectable choices in dialog.py
Start implementing panic feature in box.py
…ess shebangs at top of file. Make cargs as default argument.
…instruction to build doc in README. Change in README. Remove condition to call callback in DialogBox.word_by_word and char_by_char. Change parameter name of TextBox.box_width and TextBox.box_length to width and length.
…xt attributes instead of a tuple contains once in some methods, correction of typing hinting.
…isplayed the textbox two characters below when the title was empty.
… method and not the behavior of the parent TextBox class, improve examples.
…during instantiation of DialogBox, improve documentation.
@github-actions
Copy link

Beep Beep! I found some formatting errors in this PR:

./visualdialog/__init__.py:4:80: E501 line too long (85 > 79 characters) 

@Tim-ats-d Tim-ats-d merged commit b9d50b5 into main Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants