Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
19 crawler(s) on-line.
 175 guest(s) on-line.
 1 member(s) on-line.


 OlafS25

You are an anonymous user.
Register Now!
 OlafS25:  4 mins ago
 Hypex:  14 mins ago
 pixie:  20 mins ago
 amigang:  47 mins ago
 matthey:  52 mins ago
 hannana:  52 mins ago
 A1200:  1 hr 26 mins ago
 zipper:  1 hr 27 mins ago
 Matt3k:  1 hr 32 mins ago
 CosmosUnivers:  2 hrs 9 mins ago

Software News   Software News : Feelin Release 20061115
   posted by Gofromiel on 15-Nov-2006 13:26:21 (4981 reads)
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 !!
    

STORYID: 3447
Related Links
· More about Software News
· News by Gofromiel


Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Hollywood APK Compiler 4.0 released
Printer Friendly Page  Send this Story to a Friend

Goto page ( 1 | 2 )

PosterThread
NutsAboutAmiga 
Re: Feelin Release 20061115
Posted on 17-Nov-2006 7:18:09
#21 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12818
From: Norway

Quote:

Feelin can't be based on OS4 as like said few posts above Gofromiel (the author) only has WinUAE to develop on and no NG hardware !


But the only entry point for PowerPC native programs is the NEW API (interface model), All AmigaOS4 PowerPC native library’s uses the new interface model, the JMP table is kept as backup for 68k programs, so they know how access a function, I think feelin once where compiled whit out the 68k jump table and some complained, a 68k library will not have the interface, but will need a wrapper called libname.library.main.1 or some thing like that in the same directory as the 68k library (LIBS:).

But I agree that Feelin probably do not take full advantage of multiple interfaces like AmigaOS4 library’s support, there not that many OS4 native library’s that do, (guess the best use for the multiple interface model is when you’re making revisions of the same library, and when your braking compatibility whit legacy (old ways of doing some thing) what ever that is.)


_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Hombre 
Re: Feelin Release 20061115
Posted on 17-Nov-2006 12:33:26
#22 ]
Regular Member
Joined: 13-Mar-2003
Posts: 178
From: Nancy - FRANCE

@NutsAboutAmiga

Feelin/OS4 uses the new API (interfaces) from the begining of the port. I forgot to include the 68k jump table in previous version, but with the help of Rogue (he's not part of this project, but gave me a precious advice), this table has been integrated. It mean that 68k programs that uses Feelin and executed on OS4 uses the PPC version of the library, transparently

 Status: Offline
Profile     Report this post  

Goto page ( 1 | 2 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle