Who's Online
117 user(s) are online (
93 user(s) are browsing
Forums )
Members: 0
Guests: 117
more...
Headlines
snes9x.zip - emulation/gamesystem
Apr 29, 2024
hle-pokercard.lha - game/card
Apr 29, 2024
mce.lha - game/utility
Apr 29, 2024
amiarcadia.lha - emulation/gamesystem
Apr 28, 2024
ifarchive_dl.lha - utility/script
Apr 28, 2024
kt_scripts.lha - utility/script
Apr 28, 2024
stream.lha - utility/benchmark
Apr 27, 2024
thumbnailmaker.lha - video/misc
Apr 26, 2024
theme_list.lha - utility/misc
Apr 23, 2024
faac.lha - audio/convert
Apr 22, 2024
Topic options
View mode
Newest First
Listbrowser background color
Posted on:
2009/5/13 19:43
#1
Supreme Council
Joined: 2006/11/16 19:25Last Login
: Yesterday 23:18
From Sweden
Group:
Webmasters Registered Users
Is there a way to set a listbrowser gadgets' background color? Preferably by just specifying a pen. If you reply "backfill hook", be prepared to provide a complete hook function example or don't reply at all ;) And no, the reaction backfill example in the SDK is of no use.
Vacca foeda. Sum, ergo edo Mr Bobo Cornwater
Re: Listbrowser background color
Posted on:
2009/5/13 21:33
#2
Just can't stay away
Joined: 2006/11/30 11:30Last Login
: Yesterday 22:51
From Finland
Group:
Registered Users
@orgin
For such simple backfill patterns you can use ILayers->CreateBackFillHook() to create the backfill hook.
int pen ;
struct Hook * hook ;
hook = ILayers -> CreateBackFillHook ( BFHA_APen , pen , TAG_END );
if ( hook ) {
/* ... */
ILayers -> DeleteBackFillHook ( hook );
}
Re: Listbrowser background color
Posted on:
2009/5/14 10:16
#3
Supreme Council
Joined: 2006/11/16 19:25Last Login
: Yesterday 23:18
From Sweden
Group:
Webmasters Registered Users
@salass00 Thanks, unfortunately the listbrowser remains dull gray. (GA_BackFill, myhook)
Edited by orgin on 2009/5/14 11:39:22
Vacca foeda. Sum, ergo edo Mr Bobo Cornwater
Re: Listbrowser background color
Posted on:
2009/5/14 11:32
#4
Amigans Defender
Joined: 2009/5/1 18:57Last Login
: Yesterday 21:28
From Czech Republic
Group:
Registered Users Staff members Moderators
@orgin
Backfull or backfill?
Re: Listbrowser background color
Posted on:
2009/5/14 11:50
#5
Just can't stay away
Joined: 2006/11/30 11:30Last Login
: Yesterday 22:51
From Finland
Group:
Registered Users
@orgin
The following simple program which uses CreateBackFillHook works correctly so it appears that the problem is at the listbrowser end:
http://www.a500.org/downloads/development/backfill_example.lha IIRC it's possible that the GA_BackFill is only used for background areas that are around the listbrowser, like the area between the listbrowser and the scroller gadget if you let listbrowser create it for you.
Re: Listbrowser background color
Posted on:
2009/5/14 11:59
#6
Home away from home
Joined: 2006/12/4 23:15Last Login
: 12/10 15:02
Group:
Registered Users
@orgin Which part of the listbrowser are you haveing problems with? The extra area when the list is "too short"? Perhaps you could populate it with blank nodes? Edit: Or one big node that fill the remaining space and apply a backfill hook to that? Hacky solution I know, but ...
Re: Listbrowser background color
Posted on:
2009/5/14 12:06
#7
Supreme Council
Joined: 2006/11/16 19:25Last Login
: Yesterday 23:18
From Sweden
Group:
Webmasters Registered Users
@salass00 Okey, too bad, seems to me that the listbrowser gadget could use some major overhauling.
Vacca foeda. Sum, ergo edo Mr Bobo Cornwater
Re: Listbrowser background color
Posted on:
2009/5/14 12:08
#8
Supreme Council
Joined: 2006/11/16 19:25Last Login
: Yesterday 23:18
From Sweden
Group:
Webmasters Registered Users
@broadblues "The extra area when the list is "too short"? Perhaps you could populate it with blank nodes?" That would just create a whole set of other problems, resizing, and new nodes, scrollbars etc. I'm trying to avoid ugly workarounds.
Vacca foeda. Sum, ergo edo Mr Bobo Cornwater
Re: Listbrowser background color
Posted on:
2009/5/14 12:10
#9
Home away from home
Joined: 2006/12/4 23:15Last Login
: 12/10 15:02
Group:
Registered Users
@orgin Oh yeah, hadn't though of the scroll bar angle, that makes my "hack" useless.
Re: Listbrowser background color
Posted on:
2009/5/14 12:15
#10
Home away from home
Joined: 2006/12/4 23:15Last Login
: 12/10 15:02
Group:
Registered Users
@broadblues i notice workbemch windows in name mode suffer from the same problem. It is a little ugly, but not the end of the world.
Re: Listbrowser background color
Posted on:
2009/5/14 18:08
#11
Not too shy to talk
Joined: 2006/11/26 17:45Last Login
: 2023/8/17 9:30
Group:
Registered Users
@orgin
Quote:
orgin wrote: @salass00 Thanks, unfortunately the listbrowser remains dull gray. (GA_BackFill, myhook)Perhaps try REACTION_BackFill instead ?
Bye,
Thomas
Re: Listbrowser background color
Posted on:
2009/5/14 20:55
#12
Supreme Council
Joined: 2006/11/16 19:25Last Login
: Yesterday 23:18
From Sweden
Group:
Webmasters Registered Users
@thomas No difference.
Vacca foeda. Sum, ergo edo Mr Bobo Cornwater
Re: Listbrowser background color
Posted on:
2009/5/14 22:35
#13
Home away from home
Joined: 2006/12/4 23:15Last Login
: 12/10 15:02
Group:
Registered Users
@orgin does the background color of the containing object have any effect?
Re: Listbrowser background color
Posted on:
2009/5/14 22:44
#14
Supreme Council
Joined: 2006/11/16 19:25Last Login
: Yesterday 23:18
From Sweden
Group:
Webmasters Registered Users
@broadblues All of the space is used by the gadget so it's not possible to see.
Vacca foeda. Sum, ergo edo Mr Bobo Cornwater
Currently Active Users Viewing This Thread:
1
(
0 members
and 1 Anonymous Users
)