Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 36e4a83

Browse filesBrowse files
committed
update for relocated containers
1 parent fb6d9b4 commit 36e4a83
Copy full SHA for 36e4a83

File tree

Expand file treeCollapse file tree

4 files changed

+10
-11
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+10
-11
lines changed

‎CMakeLists.txt

Copy file name to clipboardExpand all lines: CMakeLists.txt
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,34 @@ set(CMAKE_C_FLAGS_RELEASE "-O3")
1616

1717
set(LITEBROWSER_PATH src)
1818
set(LITEHTML_PATH litehtml)
19-
set(CONTAINER_PATH ${LITEHTML_PATH}/containers/linux)
19+
set(CONTAINER_PATH ${LITEHTML_PATH}/containers/cairo)
2020

2121
pkg_check_modules(LB_LIBS REQUIRED gdkmm-3.0 gtkmm-3.0 libcurl cairo pango pangocairo)
2222

2323
set(SOURCE ${LITEBROWSER_PATH}/main.cpp
2424
${LITEBROWSER_PATH}/html_widget.cpp
25-
${CONTAINER_PATH}/container_linux.cpp
2625
${LITEBROWSER_PATH}/browser_wnd.cpp
2726
${LITEBROWSER_PATH}/web_history.cpp
28-
${CONTAINER_PATH}/cairo_borders.cpp
29-
${CONTAINER_PATH}/cairo_pango.cpp
3027
${LITEBROWSER_PATH}/http_request.cpp
3128
${LITEBROWSER_PATH}/web_page.cpp
3229
${LITEBROWSER_PATH}/http_requests_pool.cpp
30+
${CONTAINER_PATH}/container_cairo.cpp
31+
${CONTAINER_PATH}/cairo_borders.cpp
32+
${CONTAINER_PATH}/container_cairo_pango.cpp
3333
)
3434

3535
set(HEADERS ${LITEBROWSER_PATH}/browser_wnd.h
3636
${LITEBROWSER_PATH}/html_widget.h
3737
${LITEBROWSER_PATH}/globals.h
38-
${CONTAINER_PATH}/container_linux.h
39-
${CONTAINER_PATH}/cairo_borders.h
40-
${CONTAINER_PATH}/cairo_pango.h
4138
${LITEBROWSER_PATH}/web_history.h
4239
${LITEBROWSER_PATH}/http_request.h
4340
${LITEBROWSER_PATH}/web_page.h
4441
${LITEBROWSER_PATH}/html_host.h
4542
${LITEBROWSER_PATH}/http_requests_pool.h
4643
${LITEBROWSER_PATH}/html_dumper.h
44+
${CONTAINER_PATH}/container_cairo.h
45+
${CONTAINER_PATH}/cairo_borders.h
46+
${CONTAINER_PATH}/container_cairo_pango.h
4747
)
4848

4949
option(LITEHTML_BUILD_TESTING "enable testing for litehtml" OFF)

‎litehtml

Copy file name to clipboard

‎src/html_widget.h

Copy file name to clipboardExpand all lines: src/html_widget.h
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#include <gtkmm/drawingarea.h>
44
#include <thread>
5-
#include "../litehtml/containers/linux/container_linux.h"
65
#include "html_host.h"
76
#include "web_page.h"
87
#include "http_requests_pool.h"

‎src/web_page.h

Copy file name to clipboardExpand all lines: src/web_page.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef LITEBROWSER_WEB_PAGE_H
22
#define LITEBROWSER_WEB_PAGE_H
33

4-
#include "../litehtml/containers/linux/cairo_pango.h"
4+
#include "../litehtml/containers/cairo/container_cairo_pango.h"
55
#include <gtkmm.h>
66
#include "html_host.h"
77
#include "http_requests_pool.h"
@@ -91,7 +91,7 @@ namespace litebrowser
9191
cairo_surface_t* get() { return cairo_surface_reference(surface); }
9292
};
9393

94-
class web_page : public cairo_pango,
94+
class web_page : public container_cairo_pango,
9595
public std::enable_shared_from_this<web_page>
9696
{
9797
litehtml::string m_url;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.