|
Declared in: /boot/home/devel/Inferno-project/Inferno/SDK/Headers/Plugins/InfernoCMS.h Author: YNOP
Version: 1.0 Date: Feb 5 2000 Summary: more...
SaveState()
Transform()
Transform()
GetConfigView()
Perform()
InfernoCMS(BMessage *pref)
~InfernoCMS()
void SaveState(BMessage *pref)
status_t Transform(BBitmap *bmap, BRect clip) Transfroms a single color from regular space to your ajusted color space. oldcolor is the original color to be edited and new color is wher we should put the translated color.
status_t Transform(rgb_color oldcolor, rgb_color *newcolor) Transfroms a single color from regular space to your ajusted color space. oldcolor is the original color to be edited and new color is wher we should put the translated color.
BView* GetConfigView() Provides a way for the user to tweek the CMS's settings.
The most commong way of doing this is to build a config view in your constructor and then this method passes it out to the core. Note that the prefs box is a fixed size, and if you veiw is too big it will hang off. We need to fix this. Mainly the core will resize your view to fit.
![]()
You must delete your config yourself.
status_t Perform(perform_code d, void *arg) Reserved for the Future
|