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

New App Icon and small fixes. #74

Merged
merged 3 commits into from
Jul 13, 2015
Merged

Conversation

Higgcz
Copy link
Collaborator

@Higgcz Higgcz commented Jun 16, 2015

Hi,

I've made new App Icon, very special just for Buildasaur, because he deserves one, I hope it'll look cool... It's just fast concept, I may slightly change background color or size in the future.

I've also changed rendering mode for menu item, now it's set as template by default, so no extra work in code is needed.

And at the last, I've added "Quit Buildasar" action to menu.

Preview of App Icon

Menu bar icon:
screenshot 2015-06-17 00 41 18

Small App icon:
screenshot 2015-06-17 00 54 55

App icon in Dock:
screenshot 2015-06-17 01 16 48

Higgcz added 2 commits June 17, 2015 00:15
New App Icon for Buildasaur, also the menu bar icon is rendering as
template by default, so there is no need to do it in code - it’s
cleaner.
Add “Quit Buildasaur” action to menu.
@buildasaur
Copy link
Collaborator

Result of integration 1
Integration took 1 minute and 9 seconds.
Perfect build! All 22 tests passed. 👍

@Higgcz
Copy link
Collaborator Author

Higgcz commented Jun 16, 2015

I've also noticed, there is an unused method in MainViewController class: setupMenuBarIcon(). It seems everything related to MenuItem was moved to new class MenuItemManager.

So I assume it can be deleted.

@joelekstrom
Copy link
Contributor

Very cool icon 👏 I like it.

Just a thought - on iOS, you can simply add a single .pdf-file and Xcode will render all the required resolutions of the resource when compiling. I assumed it was like this for OS X as well, but I may be wrong?

@@ -19,13 +19,12 @@ class MenuItemManager : NSObject, NSMenuDelegate {

let statusItem = statusBar.statusItemWithLength(32)
statusItem.title = ""
let image = NSImage(named: "icon")
image?.setTemplate(true)
Copy link
Member

Choose a reason for hiding this comment

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

This was added because of issues with compatibility with both light and dark menu bar modes. Did you test that it looks good on both even when you disable templating?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes I set it for icon image as default, so you don't have to set anything in code manually...

Copy link
Member

Choose a reason for hiding this comment

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

Right, of course, you explained it to me before and I just forgot. All good.

@Higgcz
Copy link
Collaborator Author

Higgcz commented Jun 17, 2015

@accatyyc Hmm I've actually never tried it, but thanks for tip, I'll look at it... :)

@buildasaur
Copy link
Collaborator

Result of integration 2
Integration took 24 seconds.
Perfect build! All 22 tests passed. 👍

@Higgcz
Copy link
Collaborator Author

Higgcz commented Jun 17, 2015

I've updated Builda to be slightly more adorable by rounding his eyes and making smile on his face, but I cannot do another pull request before you process this one.

screenshot 2015-06-17 23 52 45

@czechboy0
Copy link
Member

Just push more commits into this branch, it will update the pull request.

@Higgcz
Copy link
Collaborator Author

Higgcz commented Jun 18, 2015

Ok, in that case, it should be okay. :)

czechboy0 pushed a commit that referenced this pull request Jul 13, 2015
New App Icon and small fixes.
@czechboy0 czechboy0 merged commit 22f6e3f into buildasaurs:new_ui Jul 13, 2015
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.

4 participants