Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CS Fancy Clock
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TheJoeCoder
CS Fancy Clock
Commits
7ed27584
Verified
Commit
7ed27584
authored
10 months ago
by
TheJoeCoder
Browse files
Options
Downloads
Patches
Plain Diff
Allow hiding mouse
parent
1a001de2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config.py
+2
-0
2 additions, 0 deletions
config.py
main.py
+1
-0
1 addition, 0 deletions
main.py
with
3 additions
and
0 deletions
config.py
+
2
−
0
View file @
7ed27584
...
...
@@ -3,6 +3,8 @@ PROP_SCREEN_HEIGHT = 280
PROP_WINDOW_FULLSCREEN
=
False
PROP_HIDE_MOUSE
=
False
# Make the window scale larger for development
PROP_WINDOW_SCALE
=
3
...
...
This diff is collapsed.
Click to expand it.
main.py
+
1
−
0
View file @
7ed27584
...
...
@@ -121,6 +121,7 @@ def run_screen():
pg_options
)
pygame
.
display
.
set_caption
(
"
Clock
"
)
pygame
.
mouse
.
set_visible
(
not
PROP_HIDE_MOUSE
)
# Init widgets
widget_to_load
=
PROP_AVAILABLE_WIDGETS
[
0
]
# TODO change to load multiple widgets
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment