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

Fix noise drawing bounds and make title bar colors configurable. #79

Merged
merged 3 commits into from
Nov 14, 2012
Merged

Fix noise drawing bounds and make title bar colors configurable. #79

merged 3 commits into from
Nov 14, 2012

Conversation

jarod2d
Copy link
Contributor

@jarod2d jarod2d commented Nov 13, 2012

This pull request does two things. There was a bug in the noise-drawing code in which the noise pattern wouldn't get drawn at the bottom-most pixel in the title bar if the baseline separator was disabled. This was causing some awkward transitions between the title bar and the window content for me.

The other thing is making the title bar colors configurable. It allows you to customize the appearance of the title bar without needing to redraw the whole thing if all you want to do is adjust the colors. This fixes issue #78 that I had previously opened.

I also replaced all tabs with spaces for consistency.

@indragiek
Copy link
Owner

Thanks for this! Those properties are convenient. I had to make a few fixes to how the CGColors were being created because it didn't work for anything other than grayscale colors.

@indragiek indragiek merged commit c505a81 into indragiek:master Nov 14, 2012
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.

None yet

2 participants