Skip to content
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

Wx: Implement new, themed stars #5505

Merged
merged 1 commit into from Jun 3, 2017
Merged

Conversation

spycrab
Copy link
Contributor

@spycrab spycrab commented May 31, 2017

Adds @MayImilae's new stars to Wx.
Screenshot:
Screenshot

Copy link
Member

@JosJuice JosJuice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I have one comment:

themed ? WxUtils::LoadScaledThemeBitmap(name, context, size, usable_size,
WxUtils::LSI_SCALE | WxUtils::LSI_ALIGN_VCENTER) :
WxUtils::LoadScaledResourceBitmap(name, context, size, usable_size,
WxUtils::LSI_SCALE | WxUtils::LSI_ALIGN_VCENTER));

This comment was marked as off-topic.

@MayImilae
Copy link
Contributor

Upload a screenshot please!

@spycrab
Copy link
Contributor Author

spycrab commented May 31, 2017

@MayImilae Uploaded a screenshot
@JosJuice Split up the expression

(*vector)[static_cast<size_t>(index)] = img_list->Add(WxUtils::LoadScaledResourceBitmap(
name, context, size, usable_size, WxUtils::LSI_SCALE | WxUtils::LSI_ALIGN_VCENTER));
auto bitmap =
themed ? WxUtils::LoadScaledThemeBitmap(name, context, size, usable_size,

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@MayImilae
Copy link
Contributor

Very nice!

@shuffle2 shuffle2 merged commit 0b63fcc into dolphin-emu:master Jun 3, 2017
@spycrab spycrab deleted the wx_stars branch April 14, 2018 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants