mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
CtrlLib: FileSel lazyicons - hidden items
git-svn-id: svn://ultimatepp.org/upp/trunk@2889 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
04622b3061
commit
83f6bca67f
4 changed files with 55 additions and 38 deletions
|
|
@ -231,12 +231,13 @@ void FileList::Insert(int ii,
|
|||
const String& name, const Image& icon, Font font, Color ink,
|
||||
bool isdir, int64 length, Time time, Color extink,
|
||||
const String& desc, Font descfont, Value data, Color uln,
|
||||
bool unixexe)
|
||||
bool unixexe, bool hidden)
|
||||
{
|
||||
Value v;
|
||||
File& m = CreateRawValue<File>(v);
|
||||
m.isdir = isdir;
|
||||
m.unixexe = unixexe;
|
||||
m.hidden = hidden;
|
||||
m.icon = icon;
|
||||
m.name = name;
|
||||
m.font = font;
|
||||
|
|
@ -256,12 +257,13 @@ void FileList::Set(int ii,
|
|||
const String& name, const Image& icon, Font font, Color ink,
|
||||
bool isdir, int64 length, Time time, Color extink,
|
||||
const String& desc, Font descfont, Value data, Color uln,
|
||||
bool unixexe)
|
||||
bool unixexe, bool hidden)
|
||||
{
|
||||
Value v;
|
||||
File& m = CreateRawValue<File>(v);
|
||||
m.isdir = isdir;
|
||||
m.unixexe = unixexe;
|
||||
m.hidden = hidden;
|
||||
m.icon = icon;
|
||||
m.name = name;
|
||||
m.font = font;
|
||||
|
|
@ -289,12 +291,14 @@ void FileList::SetIcon(int ii, const Image& icon)
|
|||
|
||||
void FileList::Add(const String& name, const Image& icon, Font font, Color ink,
|
||||
bool isdir, int64 length, Time time, Color extink,
|
||||
const String& desc, Font descfont, Value data, Color uln, bool unixexe)
|
||||
const String& desc, Font descfont, Value data, Color uln,
|
||||
bool unixexe, bool hidden)
|
||||
{
|
||||
Value v;
|
||||
File& m = CreateRawValue<File>(v);
|
||||
m.isdir = isdir;
|
||||
m.unixexe = unixexe;
|
||||
m.hidden = hidden;
|
||||
m.icon = icon;
|
||||
m.name = name;
|
||||
m.font = font;
|
||||
|
|
|
|||
Loading…
Reference in a new issue