Skip to content

Commit

Permalink
refactor(imgui): update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Oct 8, 2021
1 parent 11d68ac commit e6c97d2
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/imgui/src/components/button.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Fn5 } from "@thi.ng/api";
import { rect } from "@thi.ng/geom/ctors/rect";
import type { IShape } from "@thi.ng/geom-api";
import { rect } from "@thi.ng/geom/rect";
import type { IGridLayout, LayoutBox } from "@thi.ng/layout";
import { ZERO2 } from "@thi.ng/vectors/api";
import { hash } from "@thi.ng/vectors/hash";
Expand Down
4 changes: 2 additions & 2 deletions packages/imgui/src/components/dial.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Fn } from "@thi.ng/api";
import { circle } from "@thi.ng/geom/ctors/circle";
import { line } from "@thi.ng/geom/ctors/line";
import { circle } from "@thi.ng/geom/circle";
import { line } from "@thi.ng/geom/line";
import type { IGridLayout, LayoutBox } from "@thi.ng/layout";
import { isLayout } from "@thi.ng/layout/checks";
import { HALF_PI, PI, TAU } from "@thi.ng/math/api";
Expand Down
2 changes: 1 addition & 1 deletion packages/imgui/src/components/dropdown.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { polygon } from "@thi.ng/geom/ctors/polygon";
import { polygon } from "@thi.ng/geom/polygon";
import type { IGridLayout, LayoutBox } from "@thi.ng/layout";
import { isLayout } from "@thi.ng/layout/checks";
import { gridLayout } from "@thi.ng/layout/grid-layout";
Expand Down
2 changes: 1 addition & 1 deletion packages/imgui/src/components/icon-button.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { rect } from "@thi.ng/geom/ctors/rect";
import { rect } from "@thi.ng/geom/rect";
import type { IGridLayout, LayoutBox } from "@thi.ng/layout";
import { isLayout } from "@thi.ng/layout/checks";
import { hash } from "@thi.ng/vectors/hash";
Expand Down
4 changes: 2 additions & 2 deletions packages/imgui/src/components/radial-menu.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { Polygon } from "@thi.ng/geom";
import { triFan } from "@thi.ng/geom-tessellate/tri-fan";
import { circle } from "@thi.ng/geom/ctors/circle";
import { polygon } from "@thi.ng/geom/ctors/polygon";
import { centroid } from "@thi.ng/geom/centroid";
import { circle } from "@thi.ng/geom/circle";
import { polygon } from "@thi.ng/geom/polygon";
import { vertices } from "@thi.ng/geom/vertices";
import { mod } from "@thi.ng/math/prec";
import { mapIndexed } from "@thi.ng/transducers/map-indexed";
Expand Down
2 changes: 1 addition & 1 deletion packages/imgui/src/components/ring.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Fn, FnN2 } from "@thi.ng/api";
import { pointInRect } from "@thi.ng/geom-isec/point";
import { polygon } from "@thi.ng/geom/ctors/polygon";
import { polygon } from "@thi.ng/geom/polygon";
import type { IGridLayout, LayoutBox } from "@thi.ng/layout";
import { isLayout } from "@thi.ng/layout/checks";
import { HALF_PI, PI, TAU } from "@thi.ng/math/api";
Expand Down
2 changes: 1 addition & 1 deletion packages/imgui/src/components/sliderh.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Fn } from "@thi.ng/api";
import { rect } from "@thi.ng/geom/ctors/rect";
import { rect } from "@thi.ng/geom/rect";
import type { IGridLayout, LayoutBox } from "@thi.ng/layout";
import { fit, norm } from "@thi.ng/math/fit";
import { hash } from "@thi.ng/vectors/hash";
Expand Down
2 changes: 1 addition & 1 deletion packages/imgui/src/components/sliderv.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Fn } from "@thi.ng/api";
import { rect } from "@thi.ng/geom/ctors/rect";
import { rect } from "@thi.ng/geom/rect";
import type { IGridLayout, LayoutBox } from "@thi.ng/layout";
import { fit, norm } from "@thi.ng/math/fit";
import { ZERO2 } from "@thi.ng/vectors/api";
Expand Down
2 changes: 1 addition & 1 deletion packages/imgui/src/components/textfield.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Predicate } from "@thi.ng/api";
import { rect } from "@thi.ng/geom/ctors/rect";
import { rect } from "@thi.ng/geom/rect";
import type { IGridLayout, LayoutBox } from "@thi.ng/layout";
import { fitClamped } from "@thi.ng/math/fit";
import { hash } from "@thi.ng/vectors/hash";
Expand Down
2 changes: 1 addition & 1 deletion packages/imgui/src/components/toggle.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { rect } from "@thi.ng/geom/ctors/rect";
import { rect } from "@thi.ng/geom/rect";
import type { IGridLayout, LayoutBox } from "@thi.ng/layout";
import { hash } from "@thi.ng/vectors/hash";
import { handleButtonKeys, hoverButton } from "../behaviors/button";
Expand Down
2 changes: 1 addition & 1 deletion packages/imgui/src/components/tooltip.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { rect } from "@thi.ng/geom/ctors/rect";
import { rect } from "@thi.ng/geom/rect";
import { add2 } from "@thi.ng/vectors/add";
import type { IMGUI } from "../gui";
import { textLabelRaw } from "./textlabel";
Expand Down
4 changes: 2 additions & 2 deletions packages/imgui/src/components/xypad.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Fn } from "@thi.ng/api";
import { line } from "@thi.ng/geom/ctors/line";
import { rect } from "@thi.ng/geom/ctors/rect";
import { line } from "@thi.ng/geom/line";
import { rect } from "@thi.ng/geom/rect";
import type { IGridLayout, LayoutBox } from "@thi.ng/layout";
import type { Vec } from "@thi.ng/vectors";
import { fit2 } from "@thi.ng/vectors/fit";
Expand Down

0 comments on commit e6c97d2

Please sign in to comment.