From c081b190f4fd202caa7a2ec42836136366b06509 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Nov 2018 23:10:15 +0300 Subject: missing module --- plugins/HistoryLinkListPlus/src/linklist_fct.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins') 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 -- cgit v1.2.3