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 aedf4d1

Browse filesBrowse files
committed
Move widget and webpage files to the litehtml support folder
1 parent 5f5325b commit aedf4d1
Copy full SHA for aedf4d1
Expand file treeCollapse file tree

15 files changed

+16
-2427
lines changed
Open diff view settings
Collapse file

‎CMakeLists.txt‎

Copy file name to clipboardExpand all lines: CMakeLists.txt
+15-14Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,33 @@ set(CMAKE_C_FLAGS_RELEASE "-O3")
1818
set(LITEBROWSER_PATH src)
1919
set(LITEHTML_PATH litehtml)
2020
set(CONTAINER_PATH ${LITEHTML_PATH}/containers/cairo)
21+
set(SUPPORT_PATH ${LITEHTML_PATH}/support)
2122

2223
pkg_check_modules(LB_LIBS REQUIRED gtkmm-4.0 libcurl cairo pango pangocairo)
2324
pkg_check_modules(LB_ADW libadwaita-1)
2425

2526
set(SOURCE ${LITEBROWSER_PATH}/main.cpp
26-
${LITEBROWSER_PATH}/widget/html_widget.cpp
2727
${LITEBROWSER_PATH}/browser_wnd.cpp
28-
${LITEBROWSER_PATH}/webpage/web_history.cpp
29-
${LITEBROWSER_PATH}/webpage/draw_buffer.cpp
30-
${LITEBROWSER_PATH}/webpage/http_request.cpp
31-
${LITEBROWSER_PATH}/webpage/web_page.cpp
32-
${LITEBROWSER_PATH}/webpage/http_requests_pool.cpp
28+
${SUPPORT_PATH}/gtkmm4/html_widget.cpp
29+
${SUPPORT_PATH}/webpage/web_history.cpp
30+
${SUPPORT_PATH}/webpage/draw_buffer.cpp
31+
${SUPPORT_PATH}/webpage/http_request.cpp
32+
${SUPPORT_PATH}/webpage/web_page.cpp
33+
${SUPPORT_PATH}/webpage/http_requests_pool.cpp
3334
${CONTAINER_PATH}/container_cairo.cpp
3435
${CONTAINER_PATH}/cairo_borders.cpp
3536
${CONTAINER_PATH}/container_cairo_pango.cpp
3637
)
3738

3839
set(HEADERS ${LITEBROWSER_PATH}/browser_wnd.h
39-
${LITEBROWSER_PATH}/widget/html_widget.h
40-
${LITEBROWSER_PATH}/webpage/web_history.h
41-
${LITEBROWSER_PATH}/webpage/http_request.h
42-
${LITEBROWSER_PATH}/webpage/web_page.h
43-
${LITEBROWSER_PATH}/webpage/html_host.h
44-
${LITEBROWSER_PATH}/webpage/http_requests_pool.h
45-
${LITEBROWSER_PATH}/webpage/draw_buffer.h
4640
${LITEBROWSER_PATH}/html_dumper.h
41+
${SUPPORT_PATH}/gtkmm4/html_widget.h
42+
${SUPPORT_PATH}/webpage/web_history.h
43+
${SUPPORT_PATH}/webpage/http_request.h
44+
${SUPPORT_PATH}/webpage/web_page.h
45+
${SUPPORT_PATH}/webpage/html_host.h
46+
${SUPPORT_PATH}/webpage/http_requests_pool.h
47+
${SUPPORT_PATH}/webpage/draw_buffer.h
4748
${CONTAINER_PATH}/container_cairo.h
4849
${CONTAINER_PATH}/cairo_borders.h
4950
${CONTAINER_PATH}/container_cairo_pango.h
@@ -64,7 +65,7 @@ add_compile_options(-Wall -Wextra -Wpedantic)
6465

6566
add_executable(${PROJECT_NAME} ${SOURCE} ${HEADERS})
6667

67-
include_directories(${PROJECT_NAME} ${LITEHTML_PATH}/include ${LITEBROWSER_PATH}/webpage ${LITEBROWSER_PATH}/widget ${LB_LIBS_INCLUDE_DIRS} ${LB_ADW_INCLUDE_DIRS} ${CONTAINER_PATH} litehtml-tests)
68+
include_directories(${PROJECT_NAME} ${LITEHTML_PATH}/include ${SUPPORT_PATH}/webpage ${SUPPORT_PATH}/gtkmm4 ${LB_LIBS_INCLUDE_DIRS} ${LB_ADW_INCLUDE_DIRS} ${CONTAINER_PATH} litehtml-tests)
6869
target_link_options(${PROJECT_NAME} PRIVATE ${LB_LIBS_LDFLAGS} ${FONTCONFIG_LDFLAGS} ${LB_ADW_LDFLAGS})
6970
target_link_libraries(${PROJECT_NAME} litehtml ${LB_LIBS_LIBRARIES} ${LB_ADW_LIBRARIES} ${FONTCONFIG_LIBRARIES})
7071

Collapse file

‎litehtml‎

Copy file name to clipboard
Collapse file

‎src/webpage/draw_buffer.cpp‎

Copy file name to clipboardExpand all lines: src/webpage/draw_buffer.cpp
-142Lines changed: 0 additions & 142 deletions
This file was deleted.
Collapse file

‎src/webpage/draw_buffer.h‎

Copy file name to clipboardExpand all lines: src/webpage/draw_buffer.h
-182Lines changed: 0 additions & 182 deletions
This file was deleted.

0 commit comments

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