Infenro Home SDK Docs Blah

InfernoCMS

Declared in:/boot/home/devel/Inferno-project/Inferno/SDK/Headers/Plugins/InfernoCMS.h
Author: YNOP
Version:1.0
Date: Feb 5 2000
Summary:more...




Hook Functions

SaveState()
Transform()
Transform()
GetConfigView()
Perform()

InfernoCMS()
InfernoCMS(BMessage *pref)

~InfernoCMS()
~InfernoCMS()

SaveState()
void SaveState(BMessage *pref)

Transform()
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.


Transform()
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.


GetConfigView()
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.


Perform()
status_t Perform(perform_code d, void *arg)

Reserved for the Future



Infenro Home SDK Docs Blah

Generated on 12/27/2001
Copyright © 1999-2001 Inferno Dev Team. All rights reserved.