File RadioGroupWidget.c

FileList > engine > src > gameframework > layers > UI > widgets > RadioGroupWidget.c

Go to the source code of this file

  • #include "RadioGroupWidget.h"
  • #include "Widget.h"
  • #include "XMLUIGameLayer.h"
  • #include <string.h>
  • #include <stdlib.h>
  • #include <stdio.h>
  • #include "Atlas.h"
  • #include "AssertLib.h"
  • #include "StackPanelWidget.h"
  • #include "RadioButtonWidget.h"
  • #include "RootWidget.h"
  • #include "Scripting.h"
  • #include "DataNode.h"
  • #include "Log.h"

Classes

Type Name
struct RadioGroupData

Public Functions

Type Name
HWidget RadioGroupWidgetNew (HWidget hParent, struct DataNode * pDataNode, struct XMLUIData * pUILayerData)
void RadioGroup_ChildSelected (HWidget hRadioGroup, struct UIWidget * pRadioButtonChild)

Public Static Functions

Type Name
float GetHeight (struct UIWidget * pWidget, struct UIWidget * pParent)
float GetWidth (struct UIWidget * pWidget, struct UIWidget * pParent)
void LayoutChildren (struct UIWidget * pWidget, struct UIWidget * pParent)
void MakeWidgetIntoRadioGroupWidget (HWidget hWidget, struct DataNode * pDataNode, struct XMLUIData * pUILayerData)
void MouseButtonDownCallback (struct UIWidget * pWidget, float x, float y, int btn)
void MouseButtonUpCallback (struct UIWidget * pWidget, float x, float y, int btn)
void MouseLeaveCallback (struct UIWidget * pWidget, float x, float y)
void MouseMoveCallback (struct UIWidget * pWidget, float x, float y)
void OnDestroy (struct UIWidget * pWidget)
void * OnOutputVerts (struct UIWidget * pWidget, VECTOR(WidgetVertex) pOutVerts)
void OnPropertyChanged (struct UIWidget * pThisWidget, struct WidgetPropertyBinding * pBinding)
void OnWidgetInit (struct UIWidget * pWidget)
void ParseBindingEspressionAttribute (char * attribName, char * attribContent, struct UIWidget * pWidget, struct RadioGroupData * pData, struct XMLUIData * pUILayerData)
void PopulateRadioGroupDataFromXML (struct UIWidget * pWidget, struct RadioGroupData * pData, struct DataNode * pDataNode, struct XMLUIData * pUILayerData)

Public Functions Documentation

function RadioGroupWidgetNew

HWidget RadioGroupWidgetNew (
    HWidget hParent,
    struct DataNode * pDataNode,
    struct XMLUIData * pUILayerData
) 

function RadioGroup_ChildSelected

void RadioGroup_ChildSelected (
    HWidget hRadioGroup,
    struct UIWidget * pRadioButtonChild
) 

Public Static Functions Documentation

function GetHeight

static float GetHeight (
    struct UIWidget * pWidget,
    struct UIWidget * pParent
) 

function GetWidth

static float GetWidth (
    struct UIWidget * pWidget,
    struct UIWidget * pParent
) 

function LayoutChildren

static void LayoutChildren (
    struct UIWidget * pWidget,
    struct UIWidget * pParent
) 

function MakeWidgetIntoRadioGroupWidget

static void MakeWidgetIntoRadioGroupWidget (
    HWidget hWidget,
    struct DataNode * pDataNode,
    struct XMLUIData * pUILayerData
) 

function MouseButtonDownCallback

static void MouseButtonDownCallback (
    struct UIWidget * pWidget,
    float x,
    float y,
    int btn
) 

function MouseButtonUpCallback

static void MouseButtonUpCallback (
    struct UIWidget * pWidget,
    float x,
    float y,
    int btn
) 

function MouseLeaveCallback

static void MouseLeaveCallback (
    struct UIWidget * pWidget,
    float x,
    float y
) 

function MouseMoveCallback

static void MouseMoveCallback (
    struct UIWidget * pWidget,
    float x,
    float y
) 

function OnDestroy

static void OnDestroy (
    struct UIWidget * pWidget
) 

function OnOutputVerts

static void * OnOutputVerts (
    struct UIWidget * pWidget,
    VECTOR( WidgetVertex ) pOutVerts
) 

function OnPropertyChanged

static void OnPropertyChanged (
    struct UIWidget * pThisWidget,
    struct WidgetPropertyBinding * pBinding
) 

function OnWidgetInit

static void OnWidgetInit (
    struct UIWidget * pWidget
) 

function ParseBindingEspressionAttribute

static void ParseBindingEspressionAttribute (
    char * attribName,
    char * attribContent,
    struct UIWidget * pWidget,
    struct RadioGroupData * pData,
    struct XMLUIData * pUILayerData
) 

function PopulateRadioGroupDataFromXML

static void PopulateRadioGroupDataFromXML (
    struct UIWidget * pWidget,
    struct RadioGroupData * pData,
    struct DataNode * pDataNode,
    struct XMLUIData * pUILayerData
) 


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/gameframework/layers/UI/widgets/RadioGroupWidget.c