summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_control.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-10-07 16:27:54 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-10-07 16:27:54 +0300
commit59f9df67537382bd0249c4e617fe472a1bf4087a (patch)
tree3aeb75db5bef1b0019089b5164246a0de92667f9 /plugins/NewStory/src/history_control.h
parent4421ac14868b77c8631f24e08833f0a2e5c03356 (diff)
fixes #4695 (Newstory: BBCode тег [img] при заведомо неверной ссылке занимает большое пустое место в окне)
Diffstat (limited to 'plugins/NewStory/src/history_control.h')
-rw-r--r--plugins/NewStory/src/history_control.h6
1 files changed, 0 insertions, 6 deletions
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<std::wstring, uint_ptr> 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);