Permalink
Browse files

Gui Button Changes

This reduces the buttons from 10 to 4. It also changes callbacks from "Mouse" to "Touch" in places which may have broken many child controls. These will be fixed in future checkins. The sandbox will likely also be broken by this checkin as well. This also adds some circle drawing code which is used by the new radio button.
  • Loading branch information...
greenfire27 committed Jan 30, 2019
1 parent 978c6bc commit 55273172eb602a84a93f90b9ed54f04aac71d41b
Showing with 995 additions and 2,203 deletions.
  1. +1 −3 engine/compilers/VisualStudio 2017/Torque 2D.vcxproj
  2. +3 −9 engine/compilers/VisualStudio 2017/Torque 2D.vcxproj.filters
  3. +1 −14 engine/compilers/Xcode/Torque2D.xcodeproj/project.pbxproj
  4. +0 −5 engine/compilers/emscripten/CMakeLists.txt
  5. +1 −1 engine/source/2d/gui/guiImageButtonCtrl.cc
  6. +7 −7 engine/source/2d/gui/guiSceneObjectCtrl.cc
  7. +84 −0 engine/source/graphics/dgl.cc
  8. +4 −0 engine/source/graphics/dgl.h
  9. +0 −335 engine/source/gui/buttons/guiBitmapButtonCtrl.cc
  10. +0 −86 engine/source/gui/buttons/guiBitmapButtonCtrl.h
  11. +0 −58 engine/source/gui/buttons/guiBorderButton.cc
  12. +0 −383 engine/source/gui/buttons/guiButtonBaseCtrl.cc
  13. +0 −89 engine/source/gui/buttons/guiButtonBaseCtrl.h
  14. +226 −24 engine/source/gui/buttons/guiButtonCtrl.cc
  15. +32 −9 engine/source/gui/buttons/guiButtonCtrl.h
  16. +96 −150 engine/source/gui/buttons/guiCheckBoxCtrl.cc
  17. +31 −14 engine/source/gui/buttons/guiCheckBoxCtrl.h
  18. +119 −0 engine/source/gui/buttons/guiCheckBoxCtrl_ScriptBinding.h
  19. +0 −351 engine/source/gui/buttons/guiIconButtonCtrl.cc
  20. +0 −105 engine/source/gui/buttons/guiIconButtonCtrl.h
  21. +116 −1 engine/source/gui/buttons/guiRadioCtrl.cc
  22. +9 −5 engine/source/gui/buttons/guiRadioCtrl.h
  23. +0 −226 engine/source/gui/buttons/guiToolboxButtonCtrl.cc
  24. +0 −70 engine/source/gui/buttons/guiToolboxButtonCtrl.h
  25. +1 −1 engine/source/gui/containers/guiDragAndDropCtrl.cc
  26. +1 −1 engine/source/gui/containers/guiFormCtrl.cc
  27. +3 −3 engine/source/gui/containers/guiScrollCtrl.cc
  28. +4 −4 engine/source/gui/containers/guiTabBookCtrl.cc
  29. +3 −3 engine/source/gui/containers/guiTabBookCtrl.h
  30. +1 −1 engine/source/gui/containers/guiWindowCtrl.cc
  31. +3 −3 engine/source/gui/editor/guiEditCtrl.cc
  32. +1 −1 engine/source/gui/editor/guiInspectorTypes.cc
  33. +2 −2 engine/source/gui/editor/guiMenuBar.cc
  34. +4 −4 engine/source/gui/editor/guiSeparatorCtrl.cc
  35. +1 −1 engine/source/gui/guiArrayCtrl.cc
  36. +19 −19 engine/source/gui/guiCanvas.cc
  37. +47 −10 engine/source/gui/guiControl.cc
  38. +14 −6 engine/source/gui/guiControl.h
  39. +28 −0 engine/source/gui/guiControl_ScriptBinding.h
  40. +99 −165 engine/source/gui/guiDefaultControlRender.cc
  41. +4 −3 engine/source/gui/guiDefaultControlRender.h
  42. +1 −1 engine/source/gui/guiListBoxCtrl.cc
  43. +2 −2 engine/source/gui/guiMessageVectorCtrl.cc
  44. +1 −1 engine/source/gui/guiPopUpCtrl.cc
  45. +3 −3 engine/source/gui/guiPopUpCtrlEx.cc
  46. +1 −1 engine/source/gui/guiSliderCtrl.cc
  47. +1 −1 engine/source/gui/guiTabPageCtrl.cc
  48. +1 −1 engine/source/gui/guiTextEditCtrl.cc
  49. +16 −17 engine/source/gui/guiTypes.cc
  50. +4 −4 engine/source/gui/guiTypes.h
  51. BIN toybox/Sandbox/1/gui/images/checkBox2.png
  52. BIN toybox/Sandbox/1/gui/images/radioButton2.png
@@ -620,13 +620,11 @@
<ClCompile Include="..\..\source\string\stringUnit.cpp" />
<ClCompile Include="..\..\source\string\unicode.cc" />
<ClCompile Include="..\..\source\gui\buttons\guiBitmapButtonCtrl.cc" />
<ClCompile Include="..\..\source\gui\buttons\guiBorderButton.cc" />
<ClCompile Include="..\..\source\gui\buttons\guiButtonBaseCtrl.cc" />
<ClCompile Include="..\..\source\gui\buttons\guiButtonCtrl.cc" />
<ClCompile Include="..\..\source\gui\buttons\guiCheckBoxCtrl.cc" />
<ClCompile Include="..\..\source\gui\buttons\guiIconButtonCtrl.cc" />
<ClCompile Include="..\..\source\gui\buttons\guiRadioCtrl.cc" />
<ClCompile Include="..\..\source\gui\buttons\guiToolboxButtonCtrl.cc" />
<ClCompile Include="..\..\source\gui\containers\guiAutoScrollCtrl.cc" />
<ClCompile Include="..\..\source\gui\containers\guiCtrlArrayCtrl.cc" />
<ClCompile Include="..\..\source\gui\containers\guiDragAndDropCtrl.cc" />
@@ -893,6 +891,7 @@
<ClInclude Include="..\..\source\graphics\TextureManager.h" />
<ClInclude Include="..\..\source\graphics\TextureManager_ScriptBinding.h" />
<ClInclude Include="..\..\source\graphics\TextureObject.h" />
<ClInclude Include="..\..\source\gui\buttons\guiCheckBoxCtrl_ScriptBinding.h" />
<ClInclude Include="..\..\source\gui\containers\guiGridCtrl.h" />
<ClInclude Include="..\..\source\gui\guiArrayCtrl.h" />
<ClInclude Include="..\..\source\gui\guiBackgroundCtrl.h" />
@@ -1218,7 +1217,6 @@
<ClInclude Include="..\..\source\gui\buttons\guiCheckBoxCtrl.h" />
<ClInclude Include="..\..\source\gui\buttons\guiIconButtonCtrl.h" />
<ClInclude Include="..\..\source\gui\buttons\guiRadioCtrl.h" />
<ClInclude Include="..\..\source\gui\buttons\guiToolboxButtonCtrl.h" />
<ClInclude Include="..\..\source\gui\containers\guiAutoScrollCtrl.h" />
<ClInclude Include="..\..\source\gui\containers\guiCtrlArrayCtrl.h" />
<ClInclude Include="..\..\source\gui\containers\guiDragAndDropCtrl.h" />
@@ -453,9 +453,6 @@
<ClCompile Include="..\..\source\gui\buttons\guiBitmapButtonCtrl.cc">
<Filter>gui\buttons</Filter>
</ClCompile>
<ClCompile Include="..\..\source\gui\buttons\guiBorderButton.cc">
<Filter>gui\buttons</Filter>
</ClCompile>
<ClCompile Include="..\..\source\gui\buttons\guiButtonBaseCtrl.cc">
<Filter>gui\buttons</Filter>
</ClCompile>
@@ -471,9 +468,6 @@
<ClCompile Include="..\..\source\gui\buttons\guiRadioCtrl.cc">
<Filter>gui\buttons</Filter>
</ClCompile>
<ClCompile Include="..\..\source\gui\buttons\guiToolboxButtonCtrl.cc">
<Filter>gui\buttons</Filter>
</ClCompile>
<ClCompile Include="..\..\source\gui\containers\guiAutoScrollCtrl.cc">
<Filter>gui\containers</Filter>
</ClCompile>
@@ -1722,9 +1716,6 @@
<ClInclude Include="..\..\source\gui\buttons\guiRadioCtrl.h">
<Filter>gui\buttons</Filter>
</ClInclude>
<ClInclude Include="..\..\source\gui\buttons\guiToolboxButtonCtrl.h">
<Filter>gui\buttons</Filter>
</ClInclude>
<ClInclude Include="..\..\source\gui\containers\guiAutoScrollCtrl.h">
<Filter>gui\containers</Filter>
</ClInclude>
@@ -3180,6 +3171,9 @@
<ClInclude Include="..\..\source\platform\tmm_off.h" />
<ClInclude Include="..\..\source\platform\tmm_on.h" />
<ClInclude Include="..\..\source\platform\typetraits.h" />
<ClInclude Include="..\..\source\gui\buttons\guiCheckBoxCtrl_ScriptBinding.h">
<Filter>gui\buttons</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\..\source\math\mMath_ASM.asm">
@@ -305,14 +305,9 @@
86D76FFB165687060046D71F /* TextureDictionary.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FD016518D4600D96ADF /* TextureDictionary.cc */; };
86D76FFC165687060046D71F /* TextureHandle.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FD216518D4600D96ADF /* TextureHandle.cc */; };
86D76FFD165687060046D71F /* TextureManager.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FD416518D4600D96ADF /* TextureManager.cc */; };
86D76FFE165687060046D71F /* guiBitmapButtonCtrl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FD916518D4600D96ADF /* guiBitmapButtonCtrl.cc */; };
86D76FFF165687060046D71F /* guiBorderButton.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FDB16518D4600D96ADF /* guiBorderButton.cc */; };
86D77000165687060046D71F /* guiButtonBaseCtrl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FDC16518D4600D96ADF /* guiButtonBaseCtrl.cc */; };
86D77001165687060046D71F /* guiButtonCtrl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FDE16518D4600D96ADF /* guiButtonCtrl.cc */; };
86D77002165687060046D71F /* guiCheckBoxCtrl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FE016518D4600D96ADF /* guiCheckBoxCtrl.cc */; };
86D77003165687060046D71F /* guiIconButtonCtrl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FE216518D4600D96ADF /* guiIconButtonCtrl.cc */; };
86D77004165687060046D71F /* guiRadioCtrl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FE416518D4600D96ADF /* guiRadioCtrl.cc */; };
86D77005165687060046D71F /* guiToolboxButtonCtrl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FE616518D4600D96ADF /* guiToolboxButtonCtrl.cc */; };
86D77006165687060046D71F /* guiAutoScrollCtrl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FE916518D4600D96ADF /* guiAutoScrollCtrl.cc */; };
86D77007165687060046D71F /* guiCtrlArrayCtrl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FEB16518D4600D96ADF /* guiCtrlArrayCtrl.cc */; };
86D77008165687060046D71F /* guiDragAndDropCtrl.cc in Sources */ = {isa = PBXBuildFile; fileRef = 86BC7FED16518D4600D96ADF /* guiDragAndDropCtrl.cc */; };
@@ -1080,21 +1075,13 @@
86BC7FD416518D4600D96ADF /* TextureManager.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TextureManager.cc; sourceTree = "<group>"; };
86BC7FD516518D4600D96ADF /* TextureManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TextureManager.h; sourceTree = "<group>"; };
86BC7FD616518D4600D96ADF /* TextureObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TextureObject.h; sourceTree = "<group>"; };
86BC7FD916518D4600D96ADF /* guiBitmapButtonCtrl.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = guiBitmapButtonCtrl.cc; sourceTree = "<group>"; };
86BC7FDA16518D4600D96ADF /* guiBitmapButtonCtrl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = guiBitmapButtonCtrl.h; sourceTree = "<group>"; };
86BC7FDB16518D4600D96ADF /* guiBorderButton.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = guiBorderButton.cc; sourceTree = "<group>"; };
86BC7FDC16518D4600D96ADF /* guiButtonBaseCtrl.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = guiButtonBaseCtrl.cc; sourceTree = "<group>"; };
86BC7FDD16518D4600D96ADF /* guiButtonBaseCtrl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = guiButtonBaseCtrl.h; sourceTree = "<group>"; };
86BC7FDE16518D4600D96ADF /* guiButtonCtrl.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = guiButtonCtrl.cc; sourceTree = "<group>"; };
86BC7FDF16518D4600D96ADF /* guiButtonCtrl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = guiButtonCtrl.h; sourceTree = "<group>"; };
86BC7FE016518D4600D96ADF /* guiCheckBoxCtrl.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = guiCheckBoxCtrl.cc; sourceTree = "<group>"; };
86BC7FE116518D4600D96ADF /* guiCheckBoxCtrl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = guiCheckBoxCtrl.h; sourceTree = "<group>"; };
86BC7FE216518D4600D96ADF /* guiIconButtonCtrl.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = guiIconButtonCtrl.cc; sourceTree = "<group>"; };
86BC7FE316518D4600D96ADF /* guiIconButtonCtrl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = guiIconButtonCtrl.h; sourceTree = "<group>"; };
86BC7FE116518D4600D96ADF /* guiCheckBoxCtrl_ScriptBinding.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = guiCheckBoxCtrl_ScriptBinding.h; sourceTree = "<group>"; };
86BC7FE416518D4600D96ADF /* guiRadioCtrl.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = guiRadioCtrl.cc; sourceTree = "<group>"; };
86BC7FE516518D4600D96ADF /* guiRadioCtrl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = guiRadioCtrl.h; sourceTree = "<group>"; };
86BC7FE616518D4600D96ADF /* guiToolboxButtonCtrl.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = guiToolboxButtonCtrl.cc; sourceTree = "<group>"; };
86BC7FE716518D4600D96ADF /* guiToolboxButtonCtrl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = guiToolboxButtonCtrl.h; sourceTree = "<group>"; };
86BC7FE916518D4600D96ADF /* guiAutoScrollCtrl.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = guiAutoScrollCtrl.cc; sourceTree = "<group>"; };
86BC7FEA16518D4600D96ADF /* guiAutoScrollCtrl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = guiAutoScrollCtrl.h; sourceTree = "<group>"; };
86BC7FEB16518D4600D96ADF /* guiCtrlArrayCtrl.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = guiCtrlArrayCtrl.cc; sourceTree = "<group>"; };
@@ -278,14 +278,9 @@ SET(T2D_SRCS
../../source/graphics/TextureDictionary.cc
../../source/graphics/TextureHandle.cc
../../source/graphics/TextureManager.cc
../../source/gui/buttons/guiBitmapButtonCtrl.cc
../../source/gui/buttons/guiBorderButton.cc
../../source/gui/buttons/guiButtonBaseCtrl.cc
../../source/gui/buttons/guiButtonCtrl.cc
../../source/gui/buttons/guiCheckBoxCtrl.cc
../../source/gui/buttons/guiIconButtonCtrl.cc
../../source/gui/buttons/guiRadioCtrl.cc
../../source/gui/buttons/guiToolboxButtonCtrl.cc
../../source/gui/containers/guiAutoScrollCtrl.cc
../../source/gui/containers/guiCtrlArrayCtrl.cc
../../source/gui/containers/guiDragAndDropCtrl.cc
@@ -210,7 +210,7 @@ void GuiImageButtonCtrl::onRender(Point2I offset, const RectI& updateRect)
if ( mMouseOver )
state = HOVER;

if ( mDepressed || mStateOn )
if ( mDepressed )
state = DOWN;
}
else
@@ -46,8 +46,8 @@ GuiSceneObjectCtrl::GuiSceneObjectCtrl(void)

mCaption = StringTable->EmptyString;

mStateOn = false;
mButtonType = ButtonTypeRadio;
//mStateOn = false;
//mButtonType = ButtonTypeRadio;

// Set-up private batcher.
mBatchRenderer.setDebugStats( &mDebugStats );
@@ -190,28 +190,28 @@ void GuiSceneObjectCtrl::onMouseUp(const GuiEvent &event)
if( mDepressed && ( event.mouseClickCount % 2 ) == 0 )
Con::executef( this, 2, "onDoubleClick" );

Parent::onMouseUp( event );
Parent::onTouchUp( event );
}

void GuiSceneObjectCtrl::onMouseLeave( const GuiEvent &event )
{
Con::executef( this, 2, "onMouseLeave" );

Parent::onMouseLeave( event );
Parent::onTouchLeave( event );
}

void GuiSceneObjectCtrl::onMouseEnter( const GuiEvent &event )
{
Con::executef( this, 2, "onMouseEnter" );

Parent::onMouseEnter( event );
Parent::onTouchEnter( event );
}

void GuiSceneObjectCtrl::onMouseDragged( const GuiEvent &event )
{
Con::executef( this, 2, "onMouseDragged" );

Parent::onMouseDragged( event );
Parent::onTouchDragged( event );
}

// -----------------------------------------------------------------------------
@@ -226,7 +226,7 @@ void GuiSceneObjectCtrl::onRender(Point2I offset, const RectI& updateRect)
// Draw Background
if( mProfile->mOpaque )
{
if( mDepressed || mStateOn )
if( mDepressed )
{
if( mHasTexture )
renderSizableBitmapBordersFilled( ctrlRect, 3, mProfile );
@@ -36,6 +36,8 @@
#include "dglMac_ScriptBinding.h"
#include "dgl_ScriptBinding.h"

#include <vector>

namespace {

ColorI sg_bitmapModulation(255, 255, 255, 255);
@@ -1133,6 +1135,88 @@ void dglSolidCube(const Point3F & extent, const Point3F & center)
#endif
}

//Draws an unfilled circle with line segments.
//Circle drawing code was modified from this source with gratitude. It is in the public domain.
//http://slabode.exofire.net/circle_draw.shtml
void dglDrawCircle(const Point2I &center, const F32 radius, const ColorI &color, const F32 &lineWidth)
{
F32 adjustedRadius = radius - (lineWidth/2);
const S32 num_segments = (const S32)round(10 * sqrtf(adjustedRadius));
F32 theta = 2 * 3.1415926f / F32(num_segments);
F32 c = cosf(theta);//precalculate the sine and cosine
F32 s = sinf(theta);
F32 t;

F32 x = adjustedRadius;//we start at angle = 0
F32 y = 0;

glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glDisable(GL_TEXTURE_2D);

glLineWidth(lineWidth);

glColor4ub(color.red, color.green, color.blue, color.alpha);

vector<GLfloat> verts;
for (int ii = 0; ii < num_segments; ii++)
{
verts.push_back(GLfloat(x + center.x));
verts.push_back(GLfloat(y + center.y));

//apply the rotation matrix
t = x;
x = c * x - s * y;
y = s * t + c * y;
}
verts.push_back(GLfloat(verts[0]));
verts.push_back(GLfloat(verts[1]));

glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(2, GL_FLOAT, 0, verts.data());
glDrawArrays(GL_LINE_LOOP, 0, num_segments + 1);//draw last two
glDisableClientState(GL_VERTEX_ARRAY);
}

void dglDrawCircleFill(const Point2I &center, const F32 radius, const ColorI &color)
{
const S32 num_segments = (const S32)round(10 * sqrtf(radius));
F32 theta = 2 * 3.1415926f / F32(num_segments);
F32 c = cosf(theta);//precalculate the sine and cosine
F32 s = sinf(theta);
F32 t;

F32 x = radius;//we start at angle = 0
F32 y = 0;

glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glDisable(GL_TEXTURE_2D);

glColor4ub(color.red, color.green, color.blue, color.alpha);

vector<GLfloat> verts;
verts.push_back(GLfloat(center.x));
verts.push_back(GLfloat(center.y));
for (int ii = 0; ii < num_segments; ii++)
{
verts.push_back(GLfloat(x + center.x));
verts.push_back(GLfloat(y + center.y));

//apply the rotation matrix
t = x;
x = c * x - s * y;
y = s * t + c * y;
}
verts.push_back(GLfloat(verts[2]));
verts.push_back(GLfloat(verts[3]));

glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(2, GL_FLOAT, 0, verts.data());
glDrawArrays(GL_TRIANGLE_FAN, 0, num_segments+2);
glDisableClientState(GL_VERTEX_ARRAY);
}

void dglSetClipRect(const RectI &clipRect)
{
glMatrixMode(GL_PROJECTION);
@@ -195,6 +195,10 @@ void dglDrawBillboard( const Point3F &position, F32 width, F32 spinAngle );
void dglWireCube(const Point3F &extent, const Point3F &center);
/// Draws a solid cube around "center" with size "extent"
void dglSolidCube(const Point3F &extent, const Point3F & enter);
/// Draws an unfilled circle using line segments
void dglDrawCircle(const Point2I &center, const F32 radius, const ColorI &color, const F32 &lineWidth = 1.0f);
/// Draws a filled circle
void dglDrawCircleFill(const Point2I &center, const F32 radius, const ColorI &color);
/// @}
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- //
// Matrix functions
Oops, something went wrong.

0 comments on commit 5527317

Please sign in to comment.