I love the new feature with customized colors in lister.
My preferred colors are cyan text on dark blue background - OK, call me nostalgic.
Since I use some self-written plugins for lister, I just found out that no lister plugin uses these customized colors.
Even the listplug sample plugin always uses black text on white background (the default colors) when it is invoked.
pi
Lister with customized colors: Plugins use default colors
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Of course not - the plugins cannot know what colors are defined in lister.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
OK, I see. It's the same with font style and size.
Is it possible to inquire these default values from TC? Just to create a "TC compliant" look and feel?
Because it looks just ugly when a text file shown in Lister looks different from a text file shown by a plugin.
Possible methods could be:
* an additional parameter for ListLoad(),
* an additional pointer to struct in ListDefaultParamStruct,
* new parameters for ListSendCommand(), like
pi
Is it possible to inquire these default values from TC? Just to create a "TC compliant" look and feel?
Because it looks just ugly when a text file shown in Lister looks different from a text file shown by a plugin.
Possible methods could be:
* an additional parameter for ListLoad(),
* an additional pointer to struct in ListDefaultParamStruct,
* new parameters for ListSendCommand(), like
Code: Select all
ListSendCommand(ListWin,lc_defbgcolor,color);