Bug fix: Menu bar text colour correct on different system text colours

This commit is contained in:
Kiooeht 2011-06-09 00:09:02 -07:00
parent f5973a7652
commit bcf389625f
7 changed files with 159 additions and 158 deletions

View file

@ -51,6 +51,7 @@ CHANGELOG
* Make 'logs' and 'profiles' directories if non-existant - Kiooeht [evacipatedBox]
* Don't split messages in bad places - Kiooeht [evacipatedBox]
* Chumhandles must match EXACTLY to register mood changes - Kiooeht [evacipatedBox]
* Menu bar text colour correct when default system colour isn't black - Kiooeht [evacipatedBox]
### 3.14.1
* Pesterchum 3.14 - illuminatedwax [ghostDunk]

View file

@ -10,7 +10,7 @@
"minimize": { "image": "$path/m.gif",
"loc": [300, 32]},
"menubar": { "style": "font-family: 'Century Gothic'; font-size: 14px; color:#9d9d9d" },
"menu" : { "style": "font-family: 'Century Gothic'; font-size: 14px; background-color: #fdb302;border:2px solid #ffff00",
"menu" : { "style": "font-family: 'Century Gothic'; font-size: 14px; color: #000000; background-color: #fdb302;border:2px solid #ffff00",
"menuitem": "margin-right:25px;",
"selected": "background-color: #ffff00",
"loc": [480,30]

View file

@ -9,8 +9,8 @@
"loc": [315, 26]},
"minimize": { "image": "$path/m.png",
"loc": [300, 32]},
"menubar": { "style": "font-family: 'Arial'; font:bold; font-size: 12px;" },
"menu" : { "style": "font-family: 'Arial'; font: bold; font-size: 12px; background-color: #fdb302;border:2px solid #ffff00",
"menubar": { "style": "font-family: 'Arial'; font:bold; font-size: 12px; color: #000000;" },
"menu" : { "style": "font-family: 'Arial'; font: bold; font-size: 12px; color: #000000; background-color: #fdb302;border:2px solid #ffff00",
"menuitem": "margin-right:15px;",
"selected": "background-color: #ffff00",
"loc": [150,22]

View file

@ -6,16 +6,16 @@
"icon": "$path/trayicon.png",
"newmsgicon": "$path/trayicon2.png",
"windowtitle": "PESTERCHUM",
"menu" : { "style": "font-family: 'Courier'; font: bold; font-size: 14px; background-color: #fdb302;border:2px solid #ffff00",
"menuitem": "font-size:14px;" },
"menubar": { "style": "font-family: 'Courier'; font:bold; font-size: 14px;" },
"menu" : { "style": "font-family: 'Courier'; font: bold; font-size: 14px; color: #000000; background-color: #fdb302;border:2px solid #ffff00",
"menuitem": "font-size:14px;" },
"menubar": { "style": "font-family: 'Courier'; font:bold; font-size: 14px; color: #000000;" },
"close": { "image": "$path/x.png",
"loc": [282, 4]},
"minimize": { "image": "$path/m.png",
"loc": [264, 10]},
"chums": { "style": "border:2px solid yellow; background-color: black;color: white;font: bold;font-size:14px;font-family: 'Courier';selection-background-color:#646464; ",
"loc": [15, 70],
"size": [270, 300]
"loc": [15, 70],
"size": [270, 300]
},
"mychumhandle": { "label":
{ "text": "CHUMHANDLE:",
@ -24,8 +24,8 @@
},
"handle": { "loc": [15,435],
"size": [240, 25],
"style": "background-color: black; padding: 3px; padding-left: 25px; color:white; font-family:'Courier'; font:bold; text-align:left; border:2px solid #ffff00;"
},
"style": "background-color: black; padding: 3px; padding-left: 25px; color:white; font-family:'Courier'; font:bold; text-align:left; border:2px solid #ffff00;"
},
"colorswatch": { "loc": [255,435],
"size": [30,25],
"text": "C" },
@ -47,72 +47,72 @@
"text": "BLOCK"
},
"moodlabel": { "style": "font:bold;font-family:'Courier';color:black;",
"loc": [12, 466],
"text": "MOOD:"
},
"loc": [12, 466],
"text": "MOOD:"
},
"moods": [
{ "style": "text-align:left; background:#ffff00;border:2px solid #c48a00;color: black; font-family:'Courier'; font:bold; padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: black; font-family:'Courier'; font:bold; padding-left:3px;",
"loc": [15, 485],
"size": [135, 30],
"text": "CHUMMY",
"icon": "$path/chummy.png",
"mood": 0
},
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: black; font-family:'Courier'; font:bold; padding-left:3px;",
"loc": [15, 485],
"size": [135, 30],
"text": "CHUMMY",
"icon": "$path/chummy.png",
"mood": 0
},
{ "style": "text-align:left; background:#ffff00;border:2px solid #c48a00;color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [15, 513],
"size": [135, 30],
"text": "PLEASANT",
"icon": "$path/pleasant.png",
"mood": 3
},
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [15, 513],
"size": [135, 30],
"text": "PLEASANT",
"icon": "$path/pleasant.png",
"mood": 3
},
{ "style": "text-align:left; background:#ffff00;border:2px solid #c48a00;color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [15, 541],
"size": [135, 30],
"text": "DISTRAUGHT",
"icon": "$path/distraught.png",
"mood": 4
},
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [15, 541],
"size": [135, 30],
"text": "DISTRAUGHT",
"icon": "$path/distraught.png",
"mood": 4
},
{ "style": "text-align:left; background:#ffff00;border:2px solid #c48a00;color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [148, 485],
"size": [135, 30],
"text": "PRANKY",
"icon": "$path/pranky.png",
"mood": 5
},
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [148, 485],
"size": [135, 30],
"text": "PRANKY",
"icon": "$path/pranky.png",
"mood": 5
},
{ "style": "text-align:left; background:#ffff00;border:2px solid #c48a00;color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [148, 513],
"size": [135, 30],
"text": "SMOOTH",
"icon": "$path/smooth.png",
"mood": 6
},
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [148, 513],
"size": [135, 30],
"text": "SMOOTH",
"icon": "$path/smooth.png",
"mood": 6
},
{ "style": "text-align:left; background:#f00000;border:2px solid #c48a00;color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: red; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [148, 541],
"size": [135, 30],
"text": "RANCOROUS",
"icon": "$path/rancorous.png",
"mood": 1
},
"selected": "text-align:left; background:white; border:2px solid #c48a00; color: red; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [148, 541],
"size": [135, 30],
"text": "RANCOROUS",
"icon": "$path/rancorous.png",
"mood": 1
},
{ "style": "text-align:center; border:2px solid #c48a00; background:black;color: white; font-family:'Courier'; font:bold;padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #c48a00; padding: 5px;color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [15, 569],
"size": [270, 30],
"text": "ABSCOND",
"icon": "$path/offline.png",
"mood": 2
}
"selected": "text-align:left; background:white; border:2px solid #c48a00; padding: 5px;color: black; font-family:'Courier'; font:bold;padding-left:3px;",
"loc": [15, 569],
"size": [270, 30],
"text": "ABSCOND",
"icon": "$path/offline.png",
"mood": 2
}
]
},
"convo": {

View file

@ -10,7 +10,7 @@
"minimize": { "image": "$path/m.png",
"loc": [621, 8]},
"menubar": { "style": "font-family: 'Arial'; font-size: 11px; color: rgba(0,0,0,0);" },
"menu" : { "style": "font-family: 'Arial'; font-size: 11px; background-color: #c2c2c2; border:1px solid #545454;",
"menu" : { "style": "font-family: 'Arial'; font-size: 11px; color: #000000; background-color: #c2c2c2; border:1px solid #545454;",
"selected": "background-color: #545454",
"menuitem": "margin-right:14px;",
"loc": [14,90]

View file

@ -5,8 +5,8 @@
"icon": "$path/trayicon.png",
"newmsgicon": "$path/trayicon2.png",
"windowtitle": "TROLLIAN",
"menu" : { "style": "font-family: 'Arial'; font: bold; font-size: 14px; background-color: #e5000f;border:2px solid #c20f00" },
"menubar": { "style": "font-family: 'Arial'; font:bold; font-size: 14px;" },
"menu" : { "style": "font-family: 'Arial'; font: bold; font-size: 14px; color: #000000; background-color: #e5000f;border:2px solid #c20f00" },
"menubar": { "style": "font-family: 'Arial'; font:bold; font-size: 14px; color: #000000;" },
"close": { "image": "$path/x.png",
"loc": [280, 2]},
"minimize": { "image": "$path/m.png",
@ -65,13 +65,13 @@
"protective": { "icon": "$path/protective.png", "color": "#00ff00" },
"blocked": { "icon": "$path/blocked.png", "color": "black" }
}
},
}
},
"mychumhandle": { "label":
{ "text": "TROLLTAG:",
"style": "color: black ;font:bold; font-family: 'Arial';"
},
"handle": { "style": "background-color: black; padding: 3px; padding-left: 25px; color:white; font-family:'Arial'; font:bold; text-align:left; border:2px solid #ffa4a4;" }
"handle": { "style": "background-color: black; padding: 3px; padding-left: 25px; color:white; font-family:'Arial'; font:bold; text-align:left; border:2px solid #ffa4a4;" }
},
"addchum": { "style": "background: #ffa4a4; border:2px solid #780000; font: bold; color: black; font-family:'Arial';"
},
@ -80,98 +80,98 @@
"block": { "style": "background: #ffa4a4; border:2px solid #780000; font: bold; color: black; font-family:'Arial';"
},
"moodlabel": { "style": "font:bold;font-family:'Arial';color:black;"
},
},
"defaultmood": 1,
"moods": [
{ "style": "text-align:left; background:#ffa4a4;border:2px solid #780000;color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [15, 485],
"size": [135, 30],
"text": "ECSTATIC",
"icon": "$path/estatic.png",
"mood": 7
},
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [15, 485],
"size": [135, 30],
"text": "ECSTATIC",
"icon": "$path/estatic.png",
"mood": 7
},
{ "style": "text-align:left; background:#ffa4a4;border:2px solid #780000;color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [15, 513],
"size": [135, 30],
"text": "RELAXED",
"icon": "$path/relaxed.png",
"mood": 8
},
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [15, 513],
"size": [135, 30],
"text": "RELAXED",
"icon": "$path/relaxed.png",
"mood": 8
},
{ "style": "text-align:left; background:#ffa4a4;border:2px solid #780000;color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [15, 541],
"size": [135, 30],
"text": "DISCONTENT",
"icon": "$path/discontent.png",
"mood": 9
},
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [15, 541],
"size": [135, 30],
"text": "DISCONTENT",
"icon": "$path/discontent.png",
"mood": 9
},
{ "style": "text-align:left; background:#ffa4a4;border:2px solid #780000;color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [148, 485],
"size": [135, 30],
"text": "DEVIOUS",
"icon": "$path/devious.png",
"mood": 10
},
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [148, 485],
"size": [135, 30],
"text": "DEVIOUS",
"icon": "$path/devious.png",
"mood": 10
},
{ "style": "text-align:left; background:#ffa4a4;border:2px solid #780000;color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [148, 513],
"size": [135, 30],
"text": "SLEEK",
"icon": "$path/sleek.png",
"mood": 11
},
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [148, 513],
"size": [135, 30],
"text": "SLEEK",
"icon": "$path/sleek.png",
"mood": 11
},
{ "style": "text-align:left; background:#ffa4a4;border:2px solid #780000;color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [148, 541],
"size": [135, 30],
"text": "DETESTFUL",
"icon": "$path/detestful.png",
"mood": 12
},
"selected": "text-align:left; background:white; border:2px solid #780000; color: black; font-family:'Arial'; font:bold; padding-left:3px;",
"loc": [148, 541],
"size": [135, 30],
"text": "DETESTFUL",
"icon": "$path/detestful.png",
"mood": 12
},
{ "style": "text-align:center; border:2px solid #780000; background:black;color: white; font-family:'Arial'; font:bold;padding-left:3px;",
"selected": "text-align:left; background:white; border:2px solid #780000; padding: 5px;color: black; font-family:'Arial'; font:bold;padding-left:3px;",
"loc": [15, 569],
"size": [270, 30],
"text": "ABSCOND",
"icon": "$path/offline.png",
"mood": 2
}
"selected": "text-align:left; background:white; border:2px solid #780000; padding: 5px;color: black; font-family:'Arial'; font:bold;padding-left:3px;",
"loc": [15, 569],
"size": [270, 30],
"text": "ABSCOND",
"icon": "$path/offline.png",
"mood": 2
}
]
},
"convo": {
"style": "background-color: #e5000f;border:2px solid #780000; font-family: 'Arial';",
"chumlabel": { "style": "margin-bottom: 21px;background: #ffa4a4; color: black; border:0px; font-size: 14px;",
"text" : ":: trolling: $handle ::" },
"textarea": {
"style": "background: white; font-size: 14px;font:bold; border:2px solid #ffa4a4;text-align:center; margin-right:10px; margin-left:10px;font-family: 'Arial'"
},
"text" : ":: trolling: $handle ::" },
"textarea": {
"style": "background: white; font-size: 14px;font:bold; border:2px solid #ffa4a4;text-align:center; margin-right:10px; margin-left:10px;font-family: 'Arial'"
},
"input": { "style": "background: white; border:2px solid #ffa4a4;margin-top:5px; margin-right:10px; margin-left:10px; font-size: 12px;" },
"tabwindow" : {
"style": ""
},
"tabs": {
"style": "",
"selectedstyle": "",
"newmsgcolor": "#ff0000"
},
"scrollbar": null
"tabwindow" : {
"style": ""
},
"tabs": {
"style": "",
"selectedstyle": "",
"newmsgcolor": "#ff0000"
},
"scrollbar": null
},
"memos":
{ "size": [600,425],
"style": "background-color: #e5000f;border:2px solid #780000; font-family: 'Arial';",
"label": { "style": "margin-bottom: 21px;background: #ffa4a4; color: white; border:0px; font-size: 14px;"
},
},
"textarea": {
"style": "background: white; font-size: 14px;font:bold; border:2px solid #ffa4a4;text-align:center; margin-right:10px; margin-left:10px;font-family: 'Arial'"
"style": "background: white; font-size: 14px;font:bold; border:2px solid #ffa4a4;text-align:center; margin-right:10px; margin-left:10px;font-family: 'Arial'"
},
"userlist": { "style": "border:2px solid #780000; background: white;font: bold;font-family: 'Courier';selection-background-color:#646464; font-size: 12px; margin-left:0px; margin-right:10px;"
},

View file

@ -10,7 +10,7 @@
"minimize": { "image": "$path/m.png",
"loc": [239, 168]},
"menubar": { "style": "font-family: 'Courier'; font:bold; font-size: 12px; color: rgba(0,0,0,0);" },
"menu" : { "style": "font-family: 'Courier'; font: bold; font-size: 12px; background-color: white;border:2px solid black;",
"menu" : { "style": "font-family: 'Courier'; font: bold; font-size: 12px; color: #000000; background-color: white;border:2px solid black;",
"menuitem": "margin-right:30px;",
"selected": "background-color: black",
"loc": [43,220]