-
-
Notifications
You must be signed in to change notification settings - Fork 357
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
Add custom settings #191
Comments
@lc-soft has funded $15.00 to this issue.
|
@lc-soft has funded $15.00 to this issue.
|
This issue does not need to be processed, its content needs to be updated |
@lc-soft , I've started this issue.
|
Please pause first.
Lines 85 to 93 in 17d7d86
Please give me time to consider.
The current bonus is $30, but I see that you are requesting an increase of $50. It has exceeded my budget,I need to consider it because the priority of this issue is very low. |
Thanks. I'll update this struct. I believe the changelog mentions that LCUIDisplay_ShowRectBorder() LCUIDisplay_HideRectBorder() have been removed though. Is there anything I need to do related to these calls?
I really meant that as an increase to $50, not an increase of $50. I'm new to IssueHunt and may have issued the request incorrectly. The $20 increase was largely about my uncertainty with working with event handlers in this project and being a bit unclear on how to verify this. |
@lc-soft has funded $20.00 to this issue.
|
The bonus has been increased to $50, please note that issuehunt has a service fee (10%).
Lines 624 to 629 in 17d7d86
how to validate this? Do you mean how to validate that the code in this issue is working properly? Well, you need to add test/test_settings.c to test whether these settings take effect. Other suggestions:
|
- Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes Fixes lc-soft#192
I've put up an initial PR with what I think cover the code changes required. I'll work on adding unit tests next. |
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
BREAKING CHANGE: LCUIDisplay_EnablePaintFlashing() has been removed. - Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes #192 Co-authored-by: James Duong <jduong@dremio.com>
- Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes lc-soft#192
Restore and re-implement LCUIDisplay_EnablePaintFlashing. Fixes lc-soft#192
Restore and re-implement LCUIDisplay_EnablePaintFlashing. Fixes lc-soft#191
- Add API for retrieving and modifying global settings - Utilize this API in the codebase - Add event for when global settings are changed - Add event handler for updating the frame rate cap - Add event handler to notify paint flashing changes - Add unit tests Fixes #192 Co-authored-by: James Duong <jduong@dremio.com> feat: add settings api (#191) (#211) (#212) Restore and re-implement LCUIDisplay_EnablePaintFlashing. Fixes #191
@lc-soft has rewarded $45.00 to @jduo. See it on IssueHunt
|
Describe the solution you'd like
LCUI_Settings settings
to src/main.c:MainApp.Usage:
Additional context
settings.frame_rate_cap:
Call
StepTimer_SetFrameLimit(MainApp.settings.frame_rate_cap)
when LCUI_SETTINGS_CHANGE event triggerLCUI/src/main.c
Line 474 in 949db38
settings.paint_flashing:
display.show_rect_border
,LCUIDisplay_ShowRectBorder()
,LCUIDisplay_HideRectBorder()
.LCUI_Settings settings
to the display struct, and replacedisplay.show_rect_border
withdisplay.settings->paint_flashing
LCUI/src/display.c
Line 233 in 949db38
settings.parallel_rendering_threads:
display.settings->parallel_rendering_threads
instead ofPARALLEL_RENDERING_THREADS
parallel_rendering_threads
is 1LCUI/src/display.c
Line 132 in 949db38
settings.record_profile:
MainApp.profile
LCUI_GetProfile()
to get performance profileLCUI/src/main.c
Line 183 in 949db38
settings.show_fps_meter:
No related code needs to be modified
IssueHunt Summary
jduo has been rewarded.
Backers (Total: $50.00)
Submitted pull Requests
Tips
The text was updated successfully, but these errors were encountered: