diff --git a/@overflow/commons/ui/component/index.ts b/@overflow/commons/ui/component/index.ts index e4001f3..c1b181c 100644 --- a/@overflow/commons/ui/component/index.ts +++ b/@overflow/commons/ui/component/index.ts @@ -1,14 +1,19 @@ import { - AppMenuBarComponent, + MenuBarComponent, } from './menu'; +import { + ToolbarComponent, +} from './toolbar'; + import { TitleBarComponent, WindowControlsComponent, } from './window'; export const COMPONENTS = [ - AppMenuBarComponent, + MenuBarComponent, + ToolbarComponent, TitleBarComponent, WindowControlsComponent, ]; diff --git a/@overflow/commons/ui/component/menu/index.ts b/@overflow/commons/ui/component/menu/index.ts index bb4fc66..4ff70da 100644 --- a/@overflow/commons/ui/component/menu/index.ts +++ b/@overflow/commons/ui/component/menu/index.ts @@ -1 +1 @@ -export { AppMenuBarComponent } from './app-menu-bar.component'; +export { MenuBarComponent } from './menu-bar.component'; diff --git a/@overflow/commons/ui/component/menu/app-menu-bar.component.html b/@overflow/commons/ui/component/menu/menu-bar.component.html similarity index 100% rename from @overflow/commons/ui/component/menu/app-menu-bar.component.html rename to @overflow/commons/ui/component/menu/menu-bar.component.html diff --git a/@overflow/commons/ui/component/menu/app-menu-bar.component.ts b/@overflow/commons/ui/component/menu/menu-bar.component.ts similarity index 75% rename from @overflow/commons/ui/component/menu/app-menu-bar.component.ts rename to @overflow/commons/ui/component/menu/menu-bar.component.ts index a446ee7..9100821 100644 --- a/@overflow/commons/ui/component/menu/app-menu-bar.component.ts +++ b/@overflow/commons/ui/component/menu/menu-bar.component.ts @@ -2,9 +2,9 @@ import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-menu-bar', - templateUrl: './app-menu-bar.component.html', + templateUrl: './menu-bar.component.html', }) -export class AppMenuBarComponent implements OnInit { +export class MenuBarComponent implements OnInit { private style: string; private titleBarClass: string; diff --git a/@overflow/commons/ui/component/toolbar/index.ts b/@overflow/commons/ui/component/toolbar/index.ts new file mode 100644 index 0000000..2272d36 --- /dev/null +++ b/@overflow/commons/ui/component/toolbar/index.ts @@ -0,0 +1 @@ +export { ToolbarComponent } from './toolbar.component'; diff --git a/@overflow/commons/ui/component/toolbar/toolbar.component.html b/@overflow/commons/ui/component/toolbar/toolbar.component.html new file mode 100644 index 0000000..1fff1d2 --- /dev/null +++ b/@overflow/commons/ui/component/toolbar/toolbar.component.html @@ -0,0 +1,51 @@ +
\ No newline at end of file diff --git a/@overflow/commons/ui/component/toolbar/toolbar.component.ts b/@overflow/commons/ui/component/toolbar/toolbar.component.ts new file mode 100644 index 0000000..5f71b2f --- /dev/null +++ b/@overflow/commons/ui/component/toolbar/toolbar.component.ts @@ -0,0 +1,22 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-toolbar', + templateUrl: './toolbar.component.html', +}) +export class ToolbarComponent implements OnInit { + + private style: string; + private titleBarClass: string; + private showTopResize: boolean; + private showLeftResize: boolean; + + constructor( + ) { } + + ngOnInit() { + } + + onTitlebarDoubleClick() { + } +} diff --git a/src/app/pages/pages.component.html b/src/app/pages/pages.component.html index 9ae6ded..cfcd28f 100644 --- a/src/app/pages/pages.component.html +++ b/src/app/pages/pages.component.html @@ -1 +1,2 @@ +