MB1063
_CellSize
is only used within MB1063.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
MB1063
_CellSize
_CellSize variable
Syntax
from
game_win.c:94
static
int
_CellSize
;
References
Location
Referrer
Text
game_win.c:94
static
int
_CellSize
;
game_win.c:135
_CalcBoardDimensions()
_CellSize
=
(
(
r
.
x1
>
r
.
y1
)
?
r
.
y1
:
r
.
x1
)
>
>
3
;
game_win.c:136
_CalcBoardDimensions()
_BoardX0
=
(
r
.
x1
-
(
_CellSize
<
<
3
)
)
>
>
1
;
game_win.c:137
_CalcBoardDimensions()
_BoardY0
=
(
r
.
y1
-
(
_CellSize
<
<
3
)
)
>
>
1
;
game_win.c:148
_InvalidateCell()
r
.
x0
=
_BoardX0
+
(
x
*
_CellSize
)
;
game_win.c:149
_InvalidateCell()
r
.
y0
=
_BoardY0
+
(
y
*
_CellSize
)
;
game_win.c:150
_InvalidateCell()
r
.
x1
=
r
.
x0
+
_CellSize
-
1
;
game_win.c:151
_InvalidateCell()
r
.
y1
=
r
.
y0
+
_CellSize
-
1
;
game_win.c:701
_HandlePID()
x
/=
_CellSize
;
game_win.c:702
_HandlePID()
y
/=
_CellSize
;
game_win.c:752
_OnPaint()
GUI_ClearRect
(
r
.
x0
,
_BoardY0
,
_BoardX0
-
1
,
_BoardY0
+
(
8
*
_CellSize
)
)
;
game_win.c:753
_OnPaint()
GUI_ClearRect
(
_BoardX0
+
(
8
*
_CellSize
)
+
1
,
_BoardY0
,
r
.
x1
,
_BoardY0
+
(
8
*
_CellSize
)
)
;
game_win.c:754
_OnPaint()
GUI_ClearRect
(
r
.
x0
,
_BoardY0
+
(
8
*
_CellSize
)
+
1
,
r
.
x1
,
r
.
y1
)
;
game_win.c:755
_OnPaint()
CellSize
=
_CellSize
-
1
;
game_win.c:796
_OnPaint()
xPos
+=
_CellSize
;
game_win.c:799
_OnPaint()
GUI_DrawHLine
(
yPos
,
_BoardX0
,
_BoardX0
+
(
_CellSize
<
<
3
)
)
;
game_win.c:800
_OnPaint()
yPos
+=
_CellSize
;
game_win.c:802
_OnPaint()
GUI_DrawHLine
(
yPos
,
_BoardX0
,
_BoardX0
+
(
_CellSize
<
<
3
)
)
;
Data Use
Functions writing
_CellSize
Functions reading
_CellSize
_CalcBoardDimensions()
all items filtered out
_CellSize
_CalcBoardDimensions()
_InvalidateCell()
_HandlePID()
_OnPaint()
all items filtered out