-
Notifications
You must be signed in to change notification settings - Fork 0
Version 1.10 #1
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
Draft
JXSnack
wants to merge
482
commits into
main
Choose a base branch
from
v1.10
base: main
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
Version 1.10 #1
Conversation
This file contains hidden or 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
…he getting hierarchy
…rity and mark old as deprecated
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The next Vera update. This update will contain various breaking changes. The reason we do not go to v2 is because I'd want to have a full rewrite for that as I'm not 100% happy with how Vera works at the moment, but I don't have the time to make it as I like it
Required
EventsclassVRectwith custom vertex positionsVAbstractQuad,VColorQuadandVTextureQuadas quad with custom vertex positions and textures/colors, as a testing stone for the reworked rendering in a future updateEverything strikethrough has been postponed to a later version, unless you want to implement it yourself. I'll be happy to accept your PRs
Potential:
- [ ] Render polygons- [ ] Polygon hitboxes- [ ] Render circles- [ ] Circle hitboxesCurrent Progress
Vera.renderCacheIdto cache internal frame calculationVera.forHoveredWidgetandVera.forHoveredWidgetIfEmptyVera.forVisibleAndAllowedAppsto run code for all visible apps, unless they're in a hierarchy and not the top appVera.firstOfmethod to get the first element of an array that follows the rules of a predicate/veracommand/vera clear-tests-> resets all tests/vera test <test>generic-> the basic testing of all widgetslayout-> testing of basic layoutstyles-> testing of styles & (mainly) animation systemREADME.mdGeometryQOL classisInBoxto check whether a position is inside of a boxOnce<T>QOL classHudRenderCallbackBELOW_VIGNETTE(lowest)BELOW_OVERLAYS(renders below everything, even spyglass)BELOW_HUDHUD(renders on the same level as the HUD)ABOVE_HUD(renders over the HUD and under the normal GUI)GUI(renders on the same layer as the GUI, except if there is no app running that requires a mouse or a vanilla Screen is visible)ABOVE_GUISCREEN(default)TOP(highest, should only be used to 100% override something)MCVeraRendererno longer has agetInstancemethod, now only accessible throughVera.rendererrgb(VColor)to the ColorModifierall(int)to the ColorModifierVeraApp#getWidgetsReversedVeraApp#setSizeVeraApp)V4IntandV4Colorinto their own separatev4packageStyleValueTypeSTRINGIDENTIFIERINTV4INTFLOATCOLORV4COLORFONTCURSOREaseContexts per SVT for modular easing support and general QOLStyleStateVStyleContainerVStyleSheetmodifyXmethodsAnimationCompositeWindingCompositeVeraPipelineEasingseasemethod to VColorVKeyframe(per-animation)VAnimation(per-app)VAnimationEngine(per-widget, accessible throughVWidget#animations)activateOrRewindmethodanimateStylemethod to apply composites to calculated stylesVAnimationBeginEventVAnimationFinishEventVAnimationRewindEventVAnimationUnwindEventVera.getTopHierarchyAppVera.isTopHierarchyMCVeraData#asTopHierarchyto execute a method as the top hierarchy app (returnsfalseif there is no top app)MCVeraData#getTopHierarchyto get the top hierarchy app without an NPEVeraApp#setRequiresHierarchyVeraApp#isRequiresHierarchyVeraApp#moveToHierarchyTopVWidget:VElementEventHandlerEventsclass now contains all events for quick accessVElementgetEffectiveWidthandgetEffectiveHeighttoVElementVModifierinterface to be the base for all other modifiers (addsgetApp(), since they can't access the publicappfield)HasFontinterface for easymodifyFontmethods with new styling systemHasPlaceholderFontfor the same thing but with a placeholder font (used inVLineInput)VPaddingWidgetis now deprecated for removalappis now publictransformOSXis now public.alsoAddto be added to an appVLayoutabstract classVLayout#alignmentand VLayoutAlignmentFlagVHLayouthorizontal layout classVVLayoutvertical layout classDragHandler