new font files, fixed some font issues
@@ -6,18 +6,10 @@ Module
|
||||
version: 0.2
|
||||
autoLoad: true
|
||||
onLoad: |
|
||||
importFont('helvetica-11px-bold')
|
||||
importFont('helvetica-11px')
|
||||
importFont('helvetica-12px-bold')
|
||||
importFont('helvetica-12px')
|
||||
importFont('helvetica-14px-bold')
|
||||
importFont('verdana-11px-antialised')
|
||||
importFont('verdana-11px-monochrome')
|
||||
importFont('verdana-11px-rounded')
|
||||
importFont('terminus-14px-bold')
|
||||
|
||||
importFont('tibia-8px-antialised')
|
||||
importFont('tibia-10px-antialised')
|
||||
importFont('tibia-10px-monochrome')
|
||||
importFont('tibia-12px-rounded')
|
||||
|
||||
setDefaultFont('helvetica-12px')
|
||||
setDefaultFont('verdana-11px-antialised')
|
||||
return true
|
||||
|
||||
|
@@ -1,12 +0,0 @@
|
||||
Font
|
||||
name: helvetica-11px-bold
|
||||
height: 14
|
||||
spacing: 1 1
|
||||
top margin: 2
|
||||
texture: helvetica-11px-bold.png
|
||||
glyph size: 16 16
|
||||
|
||||
glyph widths:
|
||||
32: 4
|
||||
65: 8
|
||||
|
Before Width: | Height: | Size: 8.3 KiB |
@@ -1,11 +0,0 @@
|
||||
Font
|
||||
name: helvetica-11px
|
||||
height: 14
|
||||
spacing: 1 1
|
||||
top margin: 1
|
||||
texture: helvetica-11px.png
|
||||
glyph size: 16 16
|
||||
|
||||
glyph widths:
|
||||
32: 4
|
||||
|
Before Width: | Height: | Size: 8.1 KiB |
@@ -1,12 +0,0 @@
|
||||
Font
|
||||
name: helvetica-12px-bold
|
||||
height: 16
|
||||
spacing: 1 1
|
||||
top margin: 2
|
||||
texture: helvetica-12px-bold.png
|
||||
glyph size: 18 18
|
||||
|
||||
glyph widths:
|
||||
32: 4
|
||||
65: 9
|
||||
|
Before Width: | Height: | Size: 9.8 KiB |
@@ -1,11 +0,0 @@
|
||||
Font
|
||||
name: helvetica-12px
|
||||
height: 15
|
||||
spacing: 1 1
|
||||
top margin: 1
|
||||
texture: helvetica-12px.png
|
||||
glyph size: 16 16
|
||||
|
||||
glyph widths:
|
||||
32: 4
|
||||
65: 8
|
Before Width: | Height: | Size: 9.0 KiB |
@@ -1,12 +0,0 @@
|
||||
Font
|
||||
name: helvetica-14px-bold
|
||||
height: 16
|
||||
spacing: 1 1
|
||||
top margin: 2
|
||||
texture: helvetica-14px-bold.png
|
||||
glyph size: 20 20
|
||||
|
||||
glyph widths:
|
||||
32: 4
|
||||
65: 9
|
||||
|
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.7 KiB |
@@ -1,10 +0,0 @@
|
||||
Font
|
||||
name: tibia-10px-antialised
|
||||
height: 10
|
||||
spacing: 1 1
|
||||
top margin: 3
|
||||
texture: tibia-10px-antialised.png
|
||||
glyph size: 8 16
|
||||
|
||||
glyph widths:
|
||||
32: 2
|
Before Width: | Height: | Size: 14 KiB |
@@ -1,10 +0,0 @@
|
||||
Font
|
||||
name: tibia-10px-monochrome
|
||||
height: 10
|
||||
spacing: 1 1
|
||||
top margin: 3
|
||||
texture: tibia-10px-monochrome.png
|
||||
glyph size: 8 16
|
||||
|
||||
glyph widths:
|
||||
32: 2
|
Before Width: | Height: | Size: 3.1 KiB |
@@ -1,10 +0,0 @@
|
||||
Font
|
||||
name: tibia-8px-antialised
|
||||
height: 8
|
||||
spacing: 0 1
|
||||
top margin: 1
|
||||
texture: tibia-8px-antialised.png
|
||||
glyph size: 8 8
|
||||
|
||||
glyph widths:
|
||||
32: 2
|
Before Width: | Height: | Size: 14 KiB |
8
modules/core_fonts/verdana-11px-antialised.otfont
Normal file
@@ -0,0 +1,8 @@
|
||||
Font
|
||||
name: verdana-11px-antialised
|
||||
height: 14
|
||||
texture: verdana-11px-antialised.png
|
||||
glyph size: 16 16
|
||||
|
||||
glyph widths:
|
||||
32: 4
|
BIN
modules/core_fonts/verdana-11px-antialised.png
Normal file
After Width: | Height: | Size: 9.8 KiB |
8
modules/core_fonts/verdana-11px-monochrome.otfont
Normal file
@@ -0,0 +1,8 @@
|
||||
Font
|
||||
name: verdana-11px-monochrome
|
||||
height: 14
|
||||
texture: verdana-11px-monochrome.png
|
||||
glyph size: 16 16
|
||||
|
||||
glyph widths:
|
||||
32: 2
|
BIN
modules/core_fonts/verdana-11px-monochrome.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
@@ -1,9 +1,7 @@
|
||||
Font
|
||||
name: tibia-12px-rounded
|
||||
height: 12
|
||||
glyph spacing: 0 1
|
||||
top margin: 3
|
||||
texture: tibia-12px-rounded.png
|
||||
name: verdana-11px-rounded
|
||||
height: 14
|
||||
texture: verdana-11px-rounded.png
|
||||
glyph size: 16 16
|
||||
|
||||
glyph widths:
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
@@ -1,5 +1,5 @@
|
||||
Button < UIButton
|
||||
font: helvetica-11px-bold
|
||||
font: verdana-11px-antialised
|
||||
background-color: white
|
||||
color: #f0ad4dff
|
||||
size: 106 24
|
||||
|
@@ -1,8 +1,6 @@
|
||||
Label < UILabel
|
||||
font: helvetica-12px
|
||||
color: #ffffff
|
||||
font: verdana-11px-antialised
|
||||
color: #aaaaaa
|
||||
|
||||
LargerLabel < Label
|
||||
font: helvetica-12px-bold
|
||||
color: white
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
LineEdit < UILineEdit
|
||||
font: helvetica-12px
|
||||
font: verdana-11px-antialised
|
||||
color: #aaaaaa
|
||||
size: 86 20
|
||||
text margin: 3
|
||||
border-image:
|
||||
|
@@ -1,5 +1,5 @@
|
||||
Window < UIWindow
|
||||
font: helvetica-12px-bold
|
||||
font: verdana-11px-antialised
|
||||
size: 200 200
|
||||
opacity: 255
|
||||
background-color: white
|
||||
|
@@ -3,17 +3,17 @@ SkillFirstWidget < UIWidget
|
||||
anchors.top: parent.top
|
||||
|
||||
SkillNameLabel < Label
|
||||
font: tibia-10px-monochrome
|
||||
|
||||
font: verdana-11px-monochrome
|
||||
|
||||
margin.top: 2
|
||||
margin.left: 10
|
||||
margin.right: 10
|
||||
anchors.top: prev.bottom
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
||||
|
||||
SkillLevelLabel < Label
|
||||
font: tibia-10px-monochrome
|
||||
font: verdana-11px-monochrome
|
||||
align: right
|
||||
margin.top: 2
|
||||
margin.left: 10
|
||||
@@ -21,7 +21,7 @@ SkillLevelLabel < Label
|
||||
anchors.top: prev.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
||||
|
||||
SkillPercentPanel < UIWidget
|
||||
color: blue
|
||||
background-color: red
|
||||
@@ -37,7 +37,7 @@ Window
|
||||
id: skillWindow
|
||||
title: Skills
|
||||
size: 200 200
|
||||
|
||||
|
||||
Panel
|
||||
id: skillPanel
|
||||
anchors.fill: parent
|
||||
|
@@ -1,5 +1,5 @@
|
||||
CenterLabel < Label
|
||||
font: tibia-12px-rounded
|
||||
font: verdana-11px-rounded
|
||||
height: 16
|
||||
align: center
|
||||
anchors.top: parent.verticalCenter
|
||||
@@ -8,7 +8,7 @@ CenterLabel < Label
|
||||
anchors.right: parent.right
|
||||
|
||||
BottomLabel < Label
|
||||
font: tibia-12px-rounded
|
||||
font: verdana-11px-rounded
|
||||
height: 16
|
||||
align: center
|
||||
anchors.bottom: parent.bottom
|
||||
|
@@ -1,12 +1,12 @@
|
||||
VipListLabel < Label
|
||||
font: tibia-10px-monochrome
|
||||
font: verdana-11px-monochrome
|
||||
margin.left: 30
|
||||
|
||||
Window
|
||||
id: vipWindow
|
||||
title: VIP
|
||||
size: 200 200
|
||||
|
||||
|
||||
TextList
|
||||
id: vipList
|
||||
anchors.fill: parent
|
||||
|
@@ -17,7 +17,8 @@ local function onMotd(protocol, motd)
|
||||
loadBox:destroy()
|
||||
local motdNumber = tonumber(string.sub(motd, 0, string.find(motd, "\n")))
|
||||
local motdMessage = string.sub(motd, string.find(motd, "\n") + 1, string.len(motd))
|
||||
if motdNumber ~= tonumber(Configs.get("motd")) then
|
||||
local lastMotdNumber = tonumber(Configs.get("motd"))
|
||||
if motdNumber ~= lastMotdNumber then
|
||||
hideCharlist = true
|
||||
local motdBox = displayInfoBox("Message of the day", motdMessage)
|
||||
motdBox.onOk = function()
|
||||
|
@@ -1,6 +1,6 @@
|
||||
CharacterListLabel < Label
|
||||
image: /core_ui/images/empty_rect.png
|
||||
font: tibia-10px-monochrome
|
||||
font: verdana-11px-monochrome
|
||||
background-color: #00000000
|
||||
offset: 2 0
|
||||
focusable: true
|
||||
@@ -33,7 +33,6 @@ MainWindow
|
||||
text: |-
|
||||
Account Status:
|
||||
Free Account
|
||||
font: helvetica-11px-bold
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: next.top
|
||||
|
@@ -18,6 +18,7 @@ MainWindow
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.top: prev.bottom
|
||||
margin.top: 2
|
||||
margin.left: 18
|
||||
margin.right: 18
|
||||
|
||||
@@ -33,6 +34,7 @@ MainWindow
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.top: prev.bottom
|
||||
margin.top: 2
|
||||
margin.left: 18
|
||||
margin.right: 18
|
||||
|
||||
|