-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
CEGUI 'modern' interface #3975
Draft
Lpsd
wants to merge
20
commits into
multitheftauto:master
Choose a base branch
from
Lpsd:modern-cegui-skin
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
CEGUI 'modern' interface #3975
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3664624
Add basic 'modern' skin method
Lpsd 67541e7
Move modern skin toggling for better PoC example
Lpsd 880ca95
Add auto skin injection functionality
Lpsd 47034c5
Add imageset conversion support, cleanup code
Lpsd bb6c882
Limit scene creation context, ensure scene end
Lpsd 528244a
Implement all CGUI element types & enable modern skin for entire menu
Lpsd 0310d8d
Remove unnecessary condition in ResolveModernName
Lpsd a0ebf67
Match ResolveModernName declaration to definition
Lpsd 4f47d47
Implement CGUIGridLayout custom element
Lpsd 5c47f44
Add map for item lookup
Lpsd 42cdfd4
Fix issues with CEGUI testing tab
Lpsd c80bb0c
Minor optimization in item lookup map usage
Lpsd 068a497
Fix cell item assignment in CGUIGridLayout
Lpsd 548e530
Add flex column & row support to CGUIGridLayout
Lpsd dc34672
Add cell color & padding, move CColor to Shared/sdk
Lpsd 2ae5ecd
Revert CGUIGridLayout (move to cgui-gridlayout branch)
Lpsd 794ff72
Add cvar "cgui_modern_interface" & main menu setting
Lpsd c24ccf4
Update modern template
Lpsd f12ba0b
Add label placeholder looknfeel system
Lpsd 6e7d0f3
Revert usage of SetPlaceholderColors on version label
Lpsd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -288,6 +288,9 @@ class CSettings | |||||||||
CGUIComboBox* m_pInterfaceSkinSelector; | ||||||||||
CGUIButton* m_pInterfaceLoadSkin; | ||||||||||
|
||||||||||
CGUILabel* m_pInterfaceModernLabel; | ||||||||||
CGUICheckBox* m_pInterfaceModern; | ||||||||||
Comment on lines
+291
to
+292
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
||||||||||
CGUIComboBox* m_pChatPresets; | ||||||||||
CGUIButton* m_pChatLoadPreset; | ||||||||||
|
||||||||||
|
@@ -408,6 +411,8 @@ class CSettings | |||||||||
bool OnTabChanged(CGUIElement* pElement); | ||||||||||
void ReloadBrowserLists(); | ||||||||||
|
||||||||||
bool OnModernClick(CGUIElement* pElement); | ||||||||||
|
||||||||||
private: | ||||||||||
void CreateInterfaceTabGUI(); | ||||||||||
void UpdateChatColorPreview(eChatColorType eType); | ||||||||||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.