From 59f9df67537382bd0249c4e617fe472a1bf4087a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 7 Oct 2024 16:27:54 +0300 Subject: =?UTF-8?q?fixes=20#4695=20(Newstory:=20BBCode=20=D1=82=D0=B5?= =?UTF-8?q?=D0=B3=20[img]=20=D0=BF=D1=80=D0=B8=20=D0=B7=D0=B0=D0=B2=D0=B5?= =?UTF-8?q?=D0=B4=D0=BE=D0=BC=D0=BE=20=D0=BD=D0=B5=D0=B2=D0=B5=D1=80=D0=BD?= =?UTF-8?q?=D0=BE=D0=B9=20=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D0=B5=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=BC=D0=B0=D0=B5=D1=82=20=D0=B1=D0=BE=D0=BB?= =?UTF-8?q?=D1=8C=D1=88=D0=BE=D0=B5=20=D0=BF=D1=83=D1=81=D1=82=D0=BE=D0=B5?= =?UTF-8?q?=20=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20=D0=B2=20=D0=BE=D0=BA=D0=BD?= =?UTF-8?q?=D0=B5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/history_control.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'plugins/NewStory/src/history_control.h') diff --git a/plugins/NewStory/src/history_control.h b/plugins/NewStory/src/history_control.h index 8b95ed2e1b..3db27132d4 100644 --- a/plugins/NewStory/src/history_control.h +++ b/plugins/NewStory/src/history_control.h @@ -9,8 +9,6 @@ class NSWebPage : public document_container { typedef std::map images_map; - ULONG_PTR m_gdiplusToken; - mir_cs m_csImages; images_map m_images; @@ -23,7 +21,6 @@ class NSWebPage : public document_container std::string resolve_color(const string &color) const; uint_ptr get_image(LPCWSTR url_or_path, bool redraw_on_ready); - void make_url(LPCWSTR url, LPCWSTR basepath, std::wstring &out); void get_client_rect(position &client) const override; void import_css(string &text, const string &url, string &baseurl) override; @@ -34,7 +31,6 @@ class NSWebPage : public document_container void draw_image(uint_ptr hdc, const background_layer &layer, const std::string &url, const std::string &base_url) override; void get_img_size(uint_ptr img, size &sz); - void free_image(uint_ptr img); // document_container members uint_ptr create_font(const char *faceName, int size, int weight, font_style italic, unsigned int decoration, font_metrics *fm) override; @@ -74,8 +70,6 @@ class NSWebPage : public document_container void release_clip(HDC hdc); void set_clip(const position &pos, const border_radiuses &bdr_radius) override; - void make_url_utf8(const char *url, const char *basepath, std::wstring &out); - void clear_images(); static int CALLBACK EnumFontsProc(const LOGFONT *lplf, const TEXTMETRIC *lptm, DWORD dwType, LPARAM lpData); -- cgit v1.2.3