Hello,

I came to the following code today :

void makePaintRules(OpalFuzzyPaintRuleSystem* sys)
{

//this paints pro forma
        [sys addRule:"paint extremely" : paintOn:];


//this should idle X11 for 1 second on the app or something else and so on
        [sys addRule:"paint not for 1 second" : paintIdle1SecondOn:];
}

As you can see I used Smalltalk's drawOn:, which should fit nicely in objc.
The methods paintOn: and paintIdle1SecondOn: etc have not yet been
implemented.

The OpalFuzzyPaintRuleSystem will become a fuzzy node in the fuzzy network
which is 1st match greedy for now with. The fuzzy node contains a
rulesystem base class.

Anyway, the patch is called patch-p0-gnustep-back-enry-12152014.patch and
in http://github.com/enrytheermit/gnustep/ in the gnustep-back/patches
directory.

`Enry
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to