mirror of
https://github.com/SikongJueluo/cc-utils.git
synced 2025-11-05 03:37:50 +08:00
fix signal ref
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { UIComponent } from "./UIComponent";
|
||||
import { Signal } from "./signal";
|
||||
import { Signal } from "./Signal";
|
||||
import { KeyEvent } from "../event";
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { UIComponent } from "./UIComponent";
|
||||
import { Signal } from "./signal";
|
||||
import { Signal } from "./Signal";
|
||||
import { KeyEvent, CharEvent } from "../event";
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { UIComponent } from "./UIComponent";
|
||||
import { Signal } from "./signal";
|
||||
import { Signal } from "./Signal";
|
||||
import { KeyEvent } from "../event";
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { UIComponent } from "./UIComponent";
|
||||
import { Signal } from "./signal";
|
||||
import { Signal } from "./Signal";
|
||||
import { KeyEvent } from "../event";
|
||||
|
||||
/**
|
||||
* Tab component that allows switching between different pages
|
||||
* Similar to QT's TabWidget, currently implementing horizontal tabs only
|
||||
*/
|
||||
export class TabWidget extends UIComponent {
|
||||
export class TabBar extends UIComponent {
|
||||
// Tab data structure - simple array of tab names
|
||||
private tabs: string[];
|
||||
private currentIndex: number;
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Signal } from "./signal";
|
||||
import { Signal } from "./Signal";
|
||||
import { KeyEvent, CharEvent, TimerEvent } from "../event";
|
||||
import { UIObject } from "./UIObject";
|
||||
/**
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
* Provides input/output, option selection and keyboard event handling
|
||||
*/
|
||||
|
||||
import { Signal } from "./signal";
|
||||
import { Signal } from "./Signal";
|
||||
import { UIObject } from "./UIObject";
|
||||
import { UIComponent } from "./UIComponent";
|
||||
import { TextLabel } from "./TextLabel";
|
||||
import { InputField } from "./InputField";
|
||||
import { OptionSelector } from "./OptionSelector";
|
||||
import { TabWidget } from "./TabWidget";
|
||||
import { TabBar } from "./TabBar";
|
||||
import { UIWindow } from "./UIWindow";
|
||||
import { TUIApplication } from "./TUIApplication";
|
||||
import { Button } from "./Button";
|
||||
@@ -23,7 +23,7 @@ export {
|
||||
TextLabel,
|
||||
InputField,
|
||||
OptionSelector,
|
||||
TabWidget,
|
||||
TabBar,
|
||||
UIWindow,
|
||||
TUIApplication,
|
||||
Button,
|
||||
|
||||
Reference in New Issue
Block a user