ENH don't make point for semicircles
This commit is contained in:
parent
a5af4f9200
commit
529cc3824c
2
core
2
core
|
@ -1 +1 @@
|
|||
Subproject commit db3924e25d98b942b4bc9fe81cb8bb8ada8a1fb1
|
||||
Subproject commit 9e6e960796bd66bc050f2d111ecdab6c309a0874
|
|
@ -218,12 +218,7 @@ end
|
|||
|
||||
M.initRing = function(x, y, r)
|
||||
return _G_Widget_.Arc(
|
||||
_G_Widget_.make_semicircle(
|
||||
_G_Widget_.make_point(x, y),
|
||||
r,
|
||||
0,
|
||||
360
|
||||
),
|
||||
_G_Widget_.make_semicircle(x, y, r, 0, 360),
|
||||
_G_Widget_.arc_style(
|
||||
2,
|
||||
_G_Patterns_.BORDER_FG
|
||||
|
|
|
@ -55,12 +55,7 @@ local DIAL_X = _G_INIT_DATA_.RIGHT_X + DIAL_RADIUS + _DIAL_THICKNESS_ / 2
|
|||
local DIAL_Y = header.bottom_y + DIAL_RADIUS + _DIAL_THICKNESS_ / 2
|
||||
|
||||
local dial = _G_Widget_.Dial(
|
||||
_G_Widget_.make_semicircle(
|
||||
_G_Widget_.make_point(DIAL_X, DIAL_Y),
|
||||
DIAL_RADIUS,
|
||||
90,
|
||||
360
|
||||
),
|
||||
_G_Widget_.make_semicircle(DIAL_X, DIAL_Y, DIAL_RADIUS, 90, 360),
|
||||
_G_Widget_.arc_style(
|
||||
_DIAL_THICKNESS_,
|
||||
_G_Patterns_.INDICATOR_BG
|
||||
|
@ -72,12 +67,7 @@ local dial = _G_Widget_.Dial(
|
|||
)
|
||||
)
|
||||
local cache_arc = _G_Widget_.Arc(
|
||||
_G_Widget_.make_semicircle(
|
||||
_G_Widget_.make_point(DIAL_X, DIAL_Y),
|
||||
DIAL_RADIUS,
|
||||
90,
|
||||
360
|
||||
),
|
||||
_G_Widget_.make_semicircle(DIAL_X, DIAL_Y, DIAL_RADIUS, 90, 360),
|
||||
_G_Widget_.arc_style(
|
||||
_DIAL_THICKNESS_,
|
||||
_G_Patterns_.INDICATOR_FG_SECONDARY
|
||||
|
|
|
@ -57,12 +57,7 @@ local _create_core_ = function(cores, id, x, y)
|
|||
|
||||
cores[id +1] = {
|
||||
dials = _G_Widget_.CompoundDial(
|
||||
_G_Widget_.make_semicircle(
|
||||
_G_Widget_.make_point(x, y),
|
||||
_DIAL_OUTER_RADIUS_,
|
||||
90,
|
||||
360
|
||||
),
|
||||
_G_Widget_.make_semicircle(x, y, _DIAL_OUTER_RADIUS_, 90, 360),
|
||||
_G_Widget_.arc_style(
|
||||
_DIAL_THICKNESS_,
|
||||
_G_Patterns_.INDICATOR_BG
|
||||
|
|
Loading…
Reference in New Issue