From 5699735bf0a06aaa32846205f509087dcc5f88a4 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 5 Aug 2024 06:12:37 +0300 Subject: [PATCH] rename header bar class --- Makefile | 2 +- src/app/browser/header/{title.cpp => bar.cpp} | 6 +++--- src/app/browser/header/{title.h => bar.h} | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename src/app/browser/header/{title.cpp => bar.cpp} (85%) rename src/app/browser/header/{title.h => bar.h} (90%) diff --git a/Makefile b/Makefile index a0139631..b832d46f 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ SRCS = src/main.cpp\ src/app/browser/container/page.cpp\ src/app/browser/container/tab.cpp\ src/app/browser/header.cpp\ - src/app/browser/header/title.cpp\ + src/app/browser/header/bar.cpp\ src/app/browser/menu.cpp OBJS = $(SRCS:.cpp=.o) diff --git a/src/app/browser/header/title.cpp b/src/app/browser/header/bar.cpp similarity index 85% rename from src/app/browser/header/title.cpp rename to src/app/browser/header/bar.cpp index dacec5bd..b18eccba 100644 --- a/src/app/browser/header/title.cpp +++ b/src/app/browser/header/bar.cpp @@ -1,4 +1,4 @@ -#include "title.h" +#include "bar.h" namespace app { @@ -7,13 +7,13 @@ namespace app namespace header { // Construct - Title::Title( + Bar::Bar( Header *header ) { // Init GTK this->gtk = gtk_box_new( GTK_ORIENTATION_HORIZONTAL, - Title::SPACING + Bar::SPACING ); gtk_widget_show( diff --git a/src/app/browser/header/title.h b/src/app/browser/header/bar.h similarity index 90% rename from src/app/browser/header/title.h rename to src/app/browser/header/bar.h index fdb43caf..98d1878d 100644 --- a/src/app/browser/header/title.h +++ b/src/app/browser/header/bar.h @@ -12,7 +12,7 @@ namespace app namespace header { - class Title + class Bar { public: @@ -25,7 +25,7 @@ namespace app // Dependencies Header *header; - Title( + Bar( Header *header ); };