Welcome, Guest. Please login or register.

Author Topic: Feelin Release 20061115  (Read 941 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline GofromielTopic starter

  • Newbie
  • *
  • Join Date: Jul 2004
  • Posts: 38
    • Show only replies by Gofromiel
    • http://www.gofromiel.com
Feelin Release 20061115
« on: November 15, 2006, 08:41:06 PM »
Although this new release is a MAJOR update, it's still very far from my goals. A huge set of features was added, mainly related to styles, but unfortunately I had to disable the preference system and some classes in order to push a release (9 monthes since last release).

About Feelin - Download page.



NB: Note that the website address is no longer http://www.gofromiel.com/feelin but http://feelin.gofromiel.com. Please update your bookmark.

SYSTEM

This version introduce Atoms, which associate a unique numeric representation to a string, making string comparison child play. I was previously using a Hash tables for this purpose, this method is far more better.


CSS

The preferences were already stored in CSS files since last release, but it was a "stupid" implementation. This updated one is still very limited, since it doesn't support selectors, but it finaly introduces pseudo classes and *real* inheritence.

Previsouly inheritence was granted because classes attributes where overriting one another, which is stupid and *very* limited. Now a 'style-cache' is created based on an object's true class and its inheritence. The 'style-cache' has the same properties as the previous 'associated data' technique: the style of an object 'type' if decoded only once and shared *a lot*. For example, if you have 1000 buttons in a window, their style is decoded once then cached and shared with the 999 others.

More over, there is now a *clear* distinction between attributes and style properties. For example, there is no longer any FA_Area_Background" attribute, but a "background" property.

Most attributes have been replaced with their CSS conterparts: "background", "border", "padding", "min-width", "max-height"... This version also introduce the "margin" property, which can now be used to add invisible space around objects.

Obviously as in HTML you can use multiple classes as style class: "button confirm warn".


ELEMENT / AREA / WIDGET

Because of the new 'styles' support, the Area class has to be rewritten. It is now a subclass of the Element class. Its sole purpose is to handle low level graphics such as backgrounds, palettes, fonds... All 'event' implementation has been moved into the new Widget class.


COLORS

CSS definitions where alreay used to define colors, but it was limited to hex values (#FF00FF), HTML keywords (aqua, black...) and Feelin keywords (shine, fill). With this update colors definitions are complete since the functionnal rgb() is now available !


IMAGES

Image specifications where defined using XML format, which was nice at the time, but I realize it was stupid and to much of a job ! Now images are simply defined as CSS does, with some extentions.

Obviously you can create solid background using the "red" keyword, but you can create a two color gradient using "red blue", a three color gradient using "red green blue", and an 'aqua style' gradient using four colors. Additionally you can define the angle of the gradient: "red blue 45°".

Brushes are currently disabled, but you can use pictures instead, and it's as simple as this: "url(logo.png") ! CSS 'positionning' is completely handled as well as 'repeat'. I've exented specification which the 'multiple' keyword, which can be used to split an image in four states: normal, touch, focus and ghost. Finaly, you can also 'tint' a transparent image by simple adding a color specification if the declaration: "url(logo.png) red".

...

Well, Enjoy !!

Offline FrankBrana

  • Full Member
  • ***
  • Join Date: Aug 2003
  • Posts: 178
    • Show only replies by FrankBrana
Re: Feelin Release 20061115
« Reply #1 on: November 15, 2006, 09:18:12 PM »
Feelin is awesome.

Good Work!
 

Offline Kaminari

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 186
    • Show only replies by Kaminari
    • http://namida.com/kaminarimon/
Re: Feelin Release 20061115
« Reply #2 on: November 17, 2006, 02:31:13 PM »
Feelin simply atomizes MUI. Too bad it's ten years too late for AmigaOS 3.
"Silence is the most resounding word." (Sima Qian)
 

Offline lorddef

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 1139
    • Show only replies by lorddef
    • http://
Re: Feelin Release 20061115
« Reply #3 on: November 18, 2006, 05:13:50 PM »
I would be great if this could replace MUI in some way.
Restraining orders are just another way of saying I love you!
 

Offline GofromielTopic starter

  • Newbie
  • *
  • Join Date: Jul 2004
  • Posts: 38
    • Show only replies by Gofromiel
    • http://www.gofromiel.com
Re: Feelin Release 20061115
« Reply #4 on: November 19, 2006, 10:48:49 PM »
Thanks guys. I whish Feelin was more supported, and our beloved system was not in the bushes ;-) One day, I'll have to think about Linux so that people can say "too bad we already use GTK and Gnome" :-D