DispHdrLocation settings changed to No/Yes/Right/Center
This commit is contained in:
parent
f97fff8524
commit
58f5e0332f
@ -247,7 +247,7 @@ DispPmFirst Yes
|
|||||||
// Nodelist is required for this feature. If some nodelist is omitted then
|
// Nodelist is required for this feature. If some nodelist is omitted then
|
||||||
// Golded+ will display warning at reading each message.
|
// Golded+ will display warning at reading each message.
|
||||||
// (Default:No)
|
// (Default:No)
|
||||||
;DispHdrLocation No
|
;DispHdrLocation No/Yes/Right/Center
|
||||||
DispHdrLocation Yes
|
DispHdrLocation Yes
|
||||||
|
|
||||||
// This separate sity names in netmail areas
|
// This separate sity names in netmail areas
|
||||||
|
@ -220,7 +220,7 @@ DispPmFirst Yes
|
|||||||
// ®¤«¨á⮢/¯®©â«¨á⮢ ®âáãâáâ¢ã¥â, Golded+ ¡ã¤¥â ¯à¨ ¯à®á¬®âॠª ¦¤®£®
|
// ®¤«¨á⮢/¯®©â«¨á⮢ ®âáãâáâ¢ã¥â, Golded+ ¡ã¤¥â ¯à¨ ¯à®á¬®âॠª ¦¤®£®
|
||||||
// á®®¡é¥¨ï ¢ë¢®¤¨âì ¨ä®à¬ æ¨î ®¡ ®âáãâᢨ¨ ®¤«¨áâ .
|
// á®®¡é¥¨ï ¢ë¢®¤¨âì ¨ä®à¬ æ¨î ®¡ ®âáãâᢨ¨ ®¤«¨áâ .
|
||||||
// (‡ 票¥ ¯® 㬮«ç ¨î: No)
|
// (‡ 票¥ ¯® 㬮«ç ¨î: No)
|
||||||
;DispHdrLocation No
|
;DispHdrLocation No/Yes/Right/Center
|
||||||
DispHdrLocation Yes
|
DispHdrLocation Yes
|
||||||
|
|
||||||
// <20>⨬ ¬®¦® § ¤ âì à §¤¥«¨â¥«ì ¬¥¦¤ã £®à®¤ ¬¨ ®â¯à ¢¨â¥«ï ¨ ¯®«ãç ⥫ï
|
// <20>⨬ ¬®¦® § ¤ âì à §¤¥«¨â¥«ì ¬¥¦¤ã £®à®¤ ¬¨ ®â¯à ¢¨â¥«ï ¨ ¯®«ãç ⥫ï
|
||||||
|
@ -10,6 +10,8 @@ ______________________________________________________________________
|
|||||||
Notes for GoldED+ 1.1.5, /snapshot/
|
Notes for GoldED+ 1.1.5, /snapshot/
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
|
|
||||||
|
+ DispHdrLocation settings changed to No/Yes/Right/Center. Right == Yes.
|
||||||
|
|
||||||
+ Added new macros: @pad{FAN}{T}
|
+ Added new macros: @pad{FAN}{T}
|
||||||
|
|
||||||
Where: F - a fill char, that will be used when length(T) < N
|
Where: F - a fill char, that will be used when length(T) < N
|
||||||
|
@ -712,7 +712,7 @@ CfgGed::CfgGed() {
|
|||||||
ctrlinfonews = 0;
|
ctrlinfonews = 0;
|
||||||
dispareano = true;
|
dispareano = true;
|
||||||
dispattachsize = ATTACH_KBYTES;
|
dispattachsize = ATTACH_KBYTES;
|
||||||
disphdrlocation = false;
|
disphdrlocation = NO;
|
||||||
displistcursor = NO;
|
displistcursor = NO;
|
||||||
dispmargin = 0;
|
dispmargin = 0;
|
||||||
dispmsgsize = DISPMSGSIZE_BYTES;
|
dispmsgsize = DISPMSGSIZE_BYTES;
|
||||||
|
@ -451,7 +451,12 @@ void CfgDisphdrdateset() {
|
|||||||
|
|
||||||
void CfgDisphdrlocation()
|
void CfgDisphdrlocation()
|
||||||
{
|
{
|
||||||
CFG->disphdrlocation = make_bool(GetYesno(val));
|
if (strieql("RIGHT", val))
|
||||||
|
CFG->disphdrlocation = TRIGHT;
|
||||||
|
else if (strieql("CENTER", val))
|
||||||
|
CFG->disphdrlocation = TCENTER;
|
||||||
|
else
|
||||||
|
CFG->disphdrlocation = GetYesno(val) ? TRIGHT : NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
|
@ -201,7 +201,7 @@ public:
|
|||||||
int ctrlinfonews;
|
int ctrlinfonews;
|
||||||
int dispareano;
|
int dispareano;
|
||||||
int dispattachsize;
|
int dispattachsize;
|
||||||
bool disphdrlocation;
|
int disphdrlocation;
|
||||||
PosLen disphdrdateset;
|
PosLen disphdrdateset;
|
||||||
PosLen disphdrnameset;
|
PosLen disphdrnameset;
|
||||||
PosLen disphdrnodeset;
|
PosLen disphdrnodeset;
|
||||||
|
@ -341,7 +341,8 @@ void GMsgHeaderView::Paint() {
|
|||||||
if (loc.length())
|
if (loc.length())
|
||||||
{
|
{
|
||||||
loc += " ";
|
loc += " ";
|
||||||
int pos = window.width() - loc.length() - 1;
|
int pos = window.width() - loc.length();
|
||||||
|
pos = (CFG->disphdrlocation == TCENTER) ? pos/2 : pos-1;
|
||||||
window.prints(5, pos, location_color, loc.c_str());
|
window.prints(5, pos, location_color, loc.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user