docs
parent
3a0de7ba05
commit
c62dc88bc2
|
@ -18145,30 +18145,29 @@ API void gui_popskin();
|
||||||
|
|
||||||
// default renderers
|
// default renderers
|
||||||
|
|
||||||
/// skinned
|
|
||||||
typedef struct skinned_t {
|
typedef struct skinned_t {
|
||||||
atlas_t atlas;
|
atlas_t atlas;
|
||||||
float scale;
|
float scale;
|
||||||
} skinned_t;
|
} skinned_t;
|
||||||
|
|
||||||
// The skinning engine depends on an Aseprite asset with slices set up.
|
/// The skinning engine depends on an Aseprite asset with slices set up.
|
||||||
// While you can specify your own skins for various GUI widgets, some
|
/// While you can specify your own skins for various GUI widgets, some
|
||||||
// skin variants are hardcoded and expected to be present in your asset:
|
/// skin variants are hardcoded and expected to be present in your asset:
|
||||||
//
|
///
|
||||||
// gui_panel():
|
/// gui_panel():
|
||||||
// - "panel" (overridable)
|
/// - "panel" (overridable)
|
||||||
// gui_button():
|
/// gui_button():
|
||||||
// - "button" (base overridable)
|
/// - "button" (base overridable)
|
||||||
// - "_hover" (ex. "scarybtn_hover")
|
/// - "_hover" (ex. "scarybtn_hover")
|
||||||
// - "_press"
|
/// - "_press"
|
||||||
// gui_rect():
|
/// gui_rect():
|
||||||
// - no defaults, always pass your own skin/slice name
|
/// - no defaults, always pass your own skin/slice name
|
||||||
// gui_slider():
|
/// gui_slider():
|
||||||
// - "slider" (overridable)
|
/// - "slider" (overridable)
|
||||||
// - "slider_cursor" (partially overridable, ex. "bigslider_cursor")
|
/// - "slider_cursor" (partially overridable, ex. "bigslider_cursor")
|
||||||
// - "_hover" (ex. "slider_cursor_hover")
|
/// - "_hover" (ex. "slider_cursor_hover")
|
||||||
// - "_press"
|
/// - "_press"
|
||||||
//
|
///
|
||||||
API guiskin_t gui_skinned(const char *asefile, float scale);
|
API guiskin_t gui_skinned(const char *asefile, float scale);
|
||||||
#line 0
|
#line 0
|
||||||
|
|
||||||
|
|
|
@ -30,28 +30,27 @@ API void gui_popskin();
|
||||||
|
|
||||||
// default renderers
|
// default renderers
|
||||||
|
|
||||||
/// skinned
|
|
||||||
typedef struct skinned_t {
|
typedef struct skinned_t {
|
||||||
atlas_t atlas;
|
atlas_t atlas;
|
||||||
float scale;
|
float scale;
|
||||||
} skinned_t;
|
} skinned_t;
|
||||||
|
|
||||||
// The skinning engine depends on an Aseprite asset with slices set up.
|
/// The skinning engine depends on an Aseprite asset with slices set up.
|
||||||
// While you can specify your own skins for various GUI widgets, some
|
/// While you can specify your own skins for various GUI widgets, some
|
||||||
// skin variants are hardcoded and expected to be present in your asset:
|
/// skin variants are hardcoded and expected to be present in your asset:
|
||||||
//
|
///
|
||||||
// gui_panel():
|
/// gui_panel():
|
||||||
// - "panel" (overridable)
|
/// - "panel" (overridable)
|
||||||
// gui_button():
|
/// gui_button():
|
||||||
// - "button" (base overridable)
|
/// - "button" (base overridable)
|
||||||
// - "_hover" (ex. "scarybtn_hover")
|
/// - "_hover" (ex. "scarybtn_hover")
|
||||||
// - "_press"
|
/// - "_press"
|
||||||
// gui_rect():
|
/// gui_rect():
|
||||||
// - no defaults, always pass your own skin/slice name
|
/// - no defaults, always pass your own skin/slice name
|
||||||
// gui_slider():
|
/// gui_slider():
|
||||||
// - "slider" (overridable)
|
/// - "slider" (overridable)
|
||||||
// - "slider_cursor" (partially overridable, ex. "bigslider_cursor")
|
/// - "slider_cursor" (partially overridable, ex. "bigslider_cursor")
|
||||||
// - "_hover" (ex. "slider_cursor_hover")
|
/// - "_hover" (ex. "slider_cursor_hover")
|
||||||
// - "_press"
|
/// - "_press"
|
||||||
//
|
///
|
||||||
API guiskin_t gui_skinned(const char *asefile, float scale);
|
API guiskin_t gui_skinned(const char *asefile, float scale);
|
||||||
|
|
37
engine/v4k.h
37
engine/v4k.h
|
@ -4212,30 +4212,29 @@ API void gui_popskin();
|
||||||
|
|
||||||
// default renderers
|
// default renderers
|
||||||
|
|
||||||
/// skinned
|
|
||||||
typedef struct skinned_t {
|
typedef struct skinned_t {
|
||||||
atlas_t atlas;
|
atlas_t atlas;
|
||||||
float scale;
|
float scale;
|
||||||
} skinned_t;
|
} skinned_t;
|
||||||
|
|
||||||
// The skinning engine depends on an Aseprite asset with slices set up.
|
/// The skinning engine depends on an Aseprite asset with slices set up.
|
||||||
// While you can specify your own skins for various GUI widgets, some
|
/// While you can specify your own skins for various GUI widgets, some
|
||||||
// skin variants are hardcoded and expected to be present in your asset:
|
/// skin variants are hardcoded and expected to be present in your asset:
|
||||||
//
|
///
|
||||||
// gui_panel():
|
/// gui_panel():
|
||||||
// - "panel" (overridable)
|
/// - "panel" (overridable)
|
||||||
// gui_button():
|
/// gui_button():
|
||||||
// - "button" (base overridable)
|
/// - "button" (base overridable)
|
||||||
// - "_hover" (ex. "scarybtn_hover")
|
/// - "_hover" (ex. "scarybtn_hover")
|
||||||
// - "_press"
|
/// - "_press"
|
||||||
// gui_rect():
|
/// gui_rect():
|
||||||
// - no defaults, always pass your own skin/slice name
|
/// - no defaults, always pass your own skin/slice name
|
||||||
// gui_slider():
|
/// gui_slider():
|
||||||
// - "slider" (overridable)
|
/// - "slider" (overridable)
|
||||||
// - "slider_cursor" (partially overridable, ex. "bigslider_cursor")
|
/// - "slider_cursor" (partially overridable, ex. "bigslider_cursor")
|
||||||
// - "_hover" (ex. "slider_cursor_hover")
|
/// - "_hover" (ex. "slider_cursor_hover")
|
||||||
// - "_press"
|
/// - "_press"
|
||||||
//
|
///
|
||||||
API guiskin_t gui_skinned(const char *asefile, float scale);
|
API guiskin_t gui_skinned(const char *asefile, float scale);
|
||||||
#line 0
|
#line 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue