1
0
Fork 0
mirror of synced 2024-09-29 08:51:43 +13:00
Rare/rare
loathingKernel 1721677e33 GameWidget: Implement reactive and interactive labels
The `status_label` displays what is currently going on with the game.
It reflects the current operation running on it or if it requires special
attention (update, needs verification etc)

The `tooltip_label` displays hover information such as what happens
if a part of the widget is clicked or in the case of the launch button if
the game can run (without version check, offline etc)

The context menu on the widgets will be updated and populated according
to the installation state of the game. Since the context menu was revised
the shortcut creation code was revised too to make it more compact.

the `create_desktop_link` and `get_rare_executable` functions are moved
from `rare.utils.misc` to `rare.utils.paths` to avoid cyclical imports and
better grouping. Two functions are added, `desktop_link_path` to uniformly
calculate the path of the shortcut and `desktop_links_supported` which
checks if Rare supports creating shortcuts on the current platform.
`desktop_links_supported` should be used as safeguard before `desktop_link_path`.

Desktop links are currently untested on Windows but if `shortcut.Description`
works as expected, it should be good to go.
2023-02-07 13:41:59 +02:00
..
components GameWidget: Implement reactive and interactive labels 2023-02-07 13:41:59 +02:00
game_launch_helper GameLaunchHelper: Enumerate valid actions and states from 1 instead of 0 2023-02-04 17:38:07 +02:00
lgndr Code cleanup 2023-02-07 13:06:08 +02:00
models GameWidget: Implement reactive and interactive labels 2023-02-07 13:41:59 +02:00
resources RareStyle: Add border around install/uninstall buttons 2023-02-04 17:38:07 +02:00
shared RareCore: Mangle _instance class attribute 2023-02-05 19:12:50 +02:00
ui DownloadsTab: Paint the background of the active download stats with the image of the game 2023-02-05 19:12:14 +02:00
utils GameWidget: Implement reactive and interactive labels 2023-02-07 13:41:59 +02:00
widgets Add typing to the custom layouts and fix stacked widet page naming 2023-02-04 17:38:07 +02:00
__init__.py Bump version 2023-01-22 21:14:18 +01:00
__main__.py GameWidget: Implement reactive and interactive labels 2023-02-07 13:41:59 +02:00
app.py Application: set HiDPi scaling attribute 2022-10-29 14:50:18 +03:00