summaryrefslogtreecommitdiff
path: root/plugins/HistoryLinkListPlus/src/linklist_fct.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-12 23:10:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-12 23:10:15 +0300
commitc081b190f4fd202caa7a2ec42836136366b06509 (patch)
tree8f47491cf5152b3c2f15b4c0dd3be738204286c3 /plugins/HistoryLinkListPlus/src/linklist_fct.cpp
parent048b9e053a99a228b6040463db58fe0b492879ff (diff)
missing module
Diffstat (limited to 'plugins/HistoryLinkListPlus/src/linklist_fct.cpp')
-rw-r--r--plugins/HistoryLinkListPlus/src/linklist_fct.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/HistoryLinkListPlus/src/linklist_fct.cpp b/plugins/HistoryLinkListPlus/src/linklist_fct.cpp
index 75b00ae4e8..4e8f903892 100644
--- a/plugins/HistoryLinkListPlus/src/linklist_fct.cpp
+++ b/plugins/HistoryLinkListPlus/src/linklist_fct.cpp
@@ -1013,25 +1013,25 @@ void GetColour(MYCOLOURSET *colourSet)
if (useDefault == 0x00)
{
// Use Plugin user defined or default colours
- colour = db_get_dw(0, LINKLIST_MODULE, LINKLIST_IN_COL, 0xFF000000);
+ colour = g_plugin.getDword(LINKLIST_IN_COL, 0xFF000000);
if (colour != 0xFF000000)
colourSet->incoming = colour;
else
colourSet->incoming = IN_COL_DEF;
- colour = db_get_dw(0, LINKLIST_MODULE, LINKLIST_OUT_COL, 0xFF000000);
+ colour = g_plugin.getDword(LINKLIST_OUT_COL, 0xFF000000);
if (colour != 0xFF000000)
colourSet->outgoing = colour;
else
colourSet->outgoing = OUT_COL_DEF;
- colour = db_get_dw(0, LINKLIST_MODULE, LINKLIST_BG_COL, 0xFF000000);
+ colour = g_plugin.getDword(LINKLIST_BG_COL, 0xFF000000);
if (colour != 0xFF000000)
colourSet->background = colour;
else
colourSet->background = BG_COL_DEF;
- colour = db_get_dw(0, LINKLIST_MODULE, LINKLIST_TXT_COL, 0xFF000000);
+ colour = g_plugin.getDword(LINKLIST_TXT_COL, 0xFF000000);
if (colour != 0xFF000000)
colourSet->text = colour;
else
@@ -1048,7 +1048,7 @@ void GetDBColour(MYCOLOURSET *colourSet)
DWORD colour;
// Use Plugin user defined or default colours
- colour = db_get_dw(0, LINKLIST_MODULE, LINKLIST_IN_COL, 0xFF000000);
+ colour = g_plugin.getDword(LINKLIST_IN_COL, 0xFF000000);
if (colour != 0xFF000000)
colourSet->incoming = colour;
else
@@ -1057,7 +1057,7 @@ void GetDBColour(MYCOLOURSET *colourSet)
colourSet->incoming = IN_COL_DEF;
}
- colour = db_get_dw(0, LINKLIST_MODULE, LINKLIST_OUT_COL, 0xFF000000);
+ colour = g_plugin.getDword(LINKLIST_OUT_COL, 0xFF000000);
if (colour != 0xFF000000)
colourSet->outgoing = colour;
else
@@ -1066,7 +1066,7 @@ void GetDBColour(MYCOLOURSET *colourSet)
colourSet->outgoing = OUT_COL_DEF;
}
- colour = db_get_dw(0, LINKLIST_MODULE, LINKLIST_BG_COL, 0xFF000000);
+ colour = g_plugin.getDword(LINKLIST_BG_COL, 0xFF000000);
if (colour != 0xFF000000)
colourSet->background = colour;
else
@@ -1075,7 +1075,7 @@ void GetDBColour(MYCOLOURSET *colourSet)
colourSet->background = BG_COL_DEF;
}
- colour = db_get_dw(0, LINKLIST_MODULE, LINKLIST_TXT_COL, 0xFF000000);
+ colour = g_plugin.getDword(LINKLIST_TXT_COL, 0xFF000000);
if (colour != 0xFF000000)
colourSet->text = colour;
else