Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XRingGauge #145

Merged
merged 4 commits into from
Jun 4, 2019
Merged

XRingGauge #145

merged 4 commits into from
Jun 4, 2019

Conversation

ImpulseAdventure
Copy link
Owner

Add XRingGauge element

  • Provides a circular / donut chart control
  • Supports gradient fill, thickness controls
  • Custom inner text display

image

Example code: (see ex42)

  static char m_str10[10] = "";
  pElemRef = gslc_ElemXRingGaugeCreate(&m_gui, E_ELEM_XRING, E_PG_MAIN, &m_sXRingGauge,
    (gslc_tsRect) { 80, 80, 100, 100 }, m_str10, 10, E_FONT_DIAL);
  gslc_ElemXRingGaugeSetPos(&m_gui, pElemRef, 60); // Set initial value
  gslc_ElemXRingGaugeSetRingColorGradient(&m_gui, pElemRef, GSLC_COL_BLUE, GSLC_COL_RED);

@ImpulseAdventure ImpulseAdventure merged commit 12fad0c into master Jun 4, 2019
@ImpulseAdventure ImpulseAdventure deleted the WIP-XRingGauge branch June 13, 2019 06:36
@ImpulseAdventure ImpulseAdventure added the Builder-To_Integrate Feature pending integration into Builder label Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builder-To_Integrate Feature pending integration into Builder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant