Creating a notifier/display like Bezel

The Growl forums have moved to Google Groups, this forum is read only.
Locked
shepster
Harmless
Posts: 3
Joined: Thu Nov 23, 2006 5:34 am
Location: San Diego

Creating a notifier/display like Bezel

Post by shepster »

I would like to create my own notifier/display that centers like Bezel. I have downloaded and examined a number of the custom notifiers, but they all display in the upper left corner.

How can I create a display that is centered like Bezel. I'd be happy to just create a Bezel2 and tweak it a bit (icon on the side, all the text left justified).
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

Growl 1.1 will support positioning in any of the corners. Otherwise you'd need to write your own display plugin.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
moksha
Latté
Posts: 88
Joined: Mon Jun 12, 2006 8:22 pm

Post by moksha »

He wants to write his own display plugin, but he's asking how to make it like Bezel.
iPwn
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

moksha wrote:He wants to write his own display plugin, but he's asking how to make it like Bezel.
Yes, and Brian gave him a good bit of info which was that 1.1 will have it's own positioning so he doesn't need to make his own if he waits.
shepster
Harmless
Posts: 3
Joined: Thu Nov 23, 2006 5:34 am
Location: San Diego

Post by shepster »

I don't have a problem creating my own display plugin. However, just modifying a copy of Bezel would be fine as well. Or modifying a copy of another display plugin that can be positioned in the center of the screen.

Regarding Growl 1.1 -- I'm working with 0.7.4. Is there even a 1.0 to work with? Is there a beta site?

Oops. I just did a little searching. The roadmap is at http://trac.growl.info/roadmap

So how come 1.1 is 95% done but 0.7.5 is only halfway there? Is 1.1 just waiting for 0.7.5 to finish? And poor 1.0 doesn't even get to come to the table!

I guess the answer is I have to wait.
Nsma
Latté
Posts: 56
Joined: Mon Nov 07, 2005 6:34 am

Post by Nsma »

question
did u manage to edit the growl style .nib file? if so how because they wont open for me
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

The story:

0.7.5 is waiting a tweak or two and will be done, it's a maintenance update.

1.0 was the original name of what is now known as Growl 0.5 (the first release), thus the next major release after 0.7.4/5 is 1.1 since 1.0 has already been taken.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

Nsma wrote:question
did u manage to edit the growl style .nib file? if so how because they wont open for me
Certain files are removed when a release is made that end up disabling editing. Your best bet would be to pull the code for the 0.7.4 release from svn, tweak the file, and then build your custom display plugin [I'd also change the relevant name(s) and identifier(s)].
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
Nsma
Latté
Posts: 56
Joined: Mon Nov 07, 2005 6:34 am

Post by Nsma »

hmm thanks
really i just wanted to remove the text shadow from smoke style because it doesnt look good on a black background

i think i found it here but after i edit it how do i put them all back together?
http://trac.growl.info/browser/tags/gro ... ndowView.m
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

In Xcode, choose Growl (white lego box) as your Active Target, Deployment as your Active Configuration, and then click Build. When finished, double-click on the Growl.prefPane in Growl code -> build -> Deployment.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
Nsma
Latté
Posts: 56
Joined: Mon Nov 07, 2005 6:34 am

Post by Nsma »

too new stuff for me pimp
i guess i should of said ive never used xcode before

if you have time to explain ill listen but if not i can just use bubbles

i downloaded GrowlSmokeWindowView.m and the rest and opened in xcode and can edit the text but after that i didnt see the instructions you gave

ill keep looking
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

They should be available in Xcode's toolbar, if not, use Customize Toolbar (bottom of the View menu) and add the popup menus and then follow the steps above (Build is the hammer icon)
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
Nsma
Latté
Posts: 56
Joined: Mon Nov 07, 2005 6:34 am

Post by Nsma »

which file should i have open in xcode while doing this?
because when i go to view almost the whole menu is greyed out

thanks
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

It shouldn't matter, the Customize Toolbar item is enabled provided the project window is open and focused.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
Nsma
Latté
Posts: 56
Joined: Mon Nov 07, 2005 6:34 am

Post by Nsma »

i guess thats the problem i didnt have the project window
i just downloaded the smoke svn files to my desktop and put them in a folder
my first step was opening GrowlSmokeWindowView.m with xcode and it just gave me a small window to edit the text
do i have to start my own project then and if so which do i choose from the list? or what else am i doing wrong
User avatar
bgannin
Growl Team
Posts: 1817
Joined: Thu Dec 02, 2004 8:11 am
Location: ..here
Contact:

Post by bgannin »

Ah ha. You need to download the entire Growl source code, not just the Smoke-related .m files, then open Growl.xcodeproj.
Try my software!

#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
Locked