https://github.com/tgfrerer/ofxnotify
Growl-style onscreen logging for openFrameworks
https://github.com/tgfrerer/ofxnotify
Last synced: about 1 year ago
JSON representation
Growl-style onscreen logging for openFrameworks
- Host: GitHub
- URL: https://github.com/tgfrerer/ofxnotify
- Owner: tgfrerer
- Created: 2013-01-23T23:40:45.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-10-15T05:34:02.000Z (almost 4 years ago)
- Last Synced: 2023-03-11T12:32:39.269Z (over 3 years ago)
- Language: C++
- Size: 129 KB
- Stars: 20
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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:

## Dependencies
Nil.
♥ openFrameworks > 007