Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom fonts and button Icons, fixed a few Windows issues, fixed focus issues within the same widget #444

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

William-Baker
Copy link

Theme.cpp
Modified themes to import fonts from a file rather than a resource, and tied font references in widgets to the theme rather than to sans-bold.
Widget.cpp:
Un-focus widgets when clicking outside them while being in the same parent.
Added childContainedAlready bool so only top child in the widget is focused

Fixed build errors from Travis Cl:
Error: found trailing spaces in the following files:
    src/scrollbar.cpp:59:            
    src/scrollbar.cpp:61:        
Error: found the following coding style problems:
    src/widget.cpp:111:        else if (contained && prevContained){
Error: braces should occur on the same line as the if/while/.. statement. Found issues in the following files: 
    src/scrollbar.cpp:31:    {
    src/scrollbar.cpp:47:    {
    src/scrollbar.cpp:68:    {
    src/scrollbar.cpp:77:    {
    src/scrollbar.cpp:88:    {
    src/scrollbar.cpp:121:    {
    src/scrollbar.cpp:152:    {
The command "resources/check-style.sh" exited with 1.
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