gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Painter Fuzzy Node in github


From: Johan Ceuppens
Subject: Painter Fuzzy Node in github
Date: Mon, 15 Dec 2014 13:21:55 +0100

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]