Skip to content

Color32 fromHex(unsigned int v) - #3250

Closed
aismann wants to merge 5 commits into
axmolengine:devfrom
aismann:Add-fromHex-for-Color32
Closed

Color32 fromHex(unsigned int v)#3250
aismann wants to merge 5 commits into
axmolengine:devfrom
aismann:Add-fromHex-for-Color32

Conversation

@aismann

@aismann aismann commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Describe your changes

see Ttitle
Im using it sometimes. Maybe usefull for others too.

Issue ticket number and link

Checklist before requesting a review

For each PR

  • Add Copyright if it missed:
    - "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

  • I have performed a self-review of my code.

    Optional:

    • I have checked readme and add important infos to this PR.
    • I have added/adapted some tests too.

For core/new feature PR

  • I have checked readme and add important infos to this PR.
  • I have added thorough tests.

Axmol 3.x ------------------------------------------------------------

For each 3.x PR

  • Check the '#include "axmol.h"' and replace it with the needed headers.

@aismann
aismann marked this pull request as draft July 22, 2026 11:59
@aismann

aismann commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

/clang-format

Comment thread axmol/math/Color.h Outdated
@halx99

halx99 commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Color32::fromHex should also support alpha value.

@aismann aismann added this to the 3.0.0 milestone Jul 22, 2026
@aismann aismann self-assigned this Jul 22, 2026
@halx99

halx99 commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Thanks, I have other idea about this PR

@halx99

halx99 commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Finished by 523c5c3

@halx99 halx99 closed this Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants