[CONCEPT] Concrete

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
watzen Offline
Fan
Posts: 459
Joined: Jan 2007
Reputation: 10
Location: Sweden
Post: #41
how would you go about doing that? several conditional animations on the single item in the <itemlayout>? and what would that condition be?
I mean without doing a custom layout using the coverflow technique, and not having static content.

  • Livingroom - C2D E8400, P5N7A-VM on a Samsung 46" LE46M86 FullHD via HDMI
  • Kitchen - ASRock 330 HT Displayed on a Samsung Lapfit 22" dual touch screen LD220Z
  • Bedroom - LG Laptop on a 32" tv
(This post was last modified: 2009-08-12 16:39 by watzen.)
find quote
ronie Offline
Team-XBMC Member
Posts: 8,252
Joined: Jan 2009
Reputation: 108
Post: #42
watzen Wrote:how would you go about doing that? several conditional animations on the single item in the <itemlayout>? and what would that condition be?
without doing a custom layout using the coverflow technique...I mean, and not have static content.

what i'm refering to, is indeed the coverflow technique.

i've played with fade in/out animations in the past and they work pretty well in this case.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
watzen Offline
Fan
Posts: 459
Joined: Jan 2007
Reputation: 10
Location: Sweden
Post: #43
ronie Wrote:what i'm refering to, is indeed the coverflow technique.

i've played with fade in/out animations in the past and they work pretty well in this case.

I was referring to jm's post.
In the coverflow technique, everything works... but with a messy code and sometimes poor mousefunctionality. Smile

  • Livingroom - C2D E8400, P5N7A-VM on a Samsung 46" LE46M86 FullHD via HDMI
  • Kitchen - ASRock 330 HT Displayed on a Samsung Lapfit 22" dual touch screen LD220Z
  • Bedroom - LG Laptop on a 32" tv
find quote
Feanor Offline
Senior Member
Posts: 110
Joined: Apr 2009
Reputation: 0
Post: #44
jmarshall Wrote:You could try a fade animation based on which "slot" you're in in the list.

That's what I've been looking for, but can't seem to find it... how can I know the position of the item in the list?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #45
You want to know the slot number, not the item number. I was thinking of Container.Position, but it works the wrong way around. As I re-think about it, it's not currently possible, as the listitem doesn't actually know where the list is when it's being rendered. Not sure of a nice way around that one.

You could probably do it if you have a static set of items (i.e. that never change) as you could fade them based on what has focus. Would be kinda icky though!

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Feanor Offline
Senior Member
Posts: 110
Joined: Apr 2009
Reputation: 0
Post: #46
jmarshall Wrote:You want to know the slot number, not the item number. I was thinking of Container.Position, but it works the wrong way around. As I re-think about it, it's not currently possible, as the listitem doesn't actually know where the list is when it's being rendered. Not sure of a nice way around that one.

You could probably do it if you have a static set of items (i.e. that never change) as you could fade them based on what has focus. Would be kinda icky though!

Cheers,
Jonathan

I'll have to look into all this, for now I'll just keep them all faded Tongue

Back to the kerning issue... I modified the metrics of the entire font (meaning the letters have less white space at the sides) and that turned up pretty good, excepts for a few pairs (for example AV). For those, I tried to modify the kerning pairs, but that had no effect on the rendering of the fonts in XBMC.

Is it possible that currently xbmc desn't support kerning pairs?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #47
Correct.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Leeuw Offline
Senior Member
Posts: 274
Joined: Apr 2009
Reputation: 0
Post: #48
jmarshall Wrote:You want to know the slot number, not the item number. I was thinking of Container.Position, but it works the wrong way around. As I re-think about it, it's not currently possible, as the listitem doesn't actually know where the list is when it's being rendered. Not sure of a nice way around that one.

You could probably do it if you have a static set of items (i.e. that never change) as you could fade them based on what has focus. Would be kinda icky though!

Cheers,
Jonathan

jm, could itemlayout be changed (i.e., at the xbmc/developer level, not by skinning) so that a call to listitem.[property] from within itemlayout grabs the "current" unfocused item instead of the selected item? Would be a huge help for both Concrete and the Revamp list view that I am working on for Aeon.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #49
It already does. You just can't actually set any properties, right?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Leeuw Offline
Senior Member
Posts: 274
Joined: Apr 2009
Reputation: 0
Post: #50
jmarshall Wrote:It already does. You just can't actually set any properties, right?

No, for example, if I wanted to call substring(listitem.videoresolution,720) from within itemlayout, it will return the videoresolution of the selected item -- which is weird, because if I just make listitem.videoresolution the info for a label control, it works as it should.
find quote
Post Reply