← Back

ofxNotify

github.com/tgfrerer/ofxNotify · @tgfrerer
OF 0.11 Utilities

Growl-style onscreen logging for openFrameworks

20 5 Last commit 4y ago Created 13y ago

Forks

Forks pushed to more recently than tgfrerer/ofxNotify itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

ff6347/ofxNotify by @ff6347 · ★ 0 · pushed 2y ago
removedporn/ofxNotify by @removedporn · ★ 0 · pushed 4y ago

README

ofxNotify



Growl-style onscreen logging for openFrameworks. Because sometime, you just want to log to your screen.

Description



ofxNotify will render strings to the top right of your screen, and forget all about them after a set time.

Motivation



This is useful if you want to have some visual feedback after you've applied an action by pressing a keyboard shortcut, for example.

Usage



Use ofxNotify just as you would use modern ofLog(), by using the stream "<<" operator.

Use Example



ofxNotify() << "Hello world";

Remember, you can also pass in numbers, without extra fuss (even if you want to express British dilemmas):

ofxNotify() << "We wanted to have " << 2 << " more pints, but it was past " << 11 << " o'clock, ";

Don't forget to include a call to ofxNotify::draw(); in your draw loop!

Example Project



Included. See reference render:

image

Dependencies



Nil.

♥ openFrameworks > 007

Get this addon

HTTPS
SSH