summaryrefslogtreecommitdiffstats
path: root/src/emu/render.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-11-18 00:58:30 +1100
committer Vas Crabb <vas@vastheman.com>2020-11-18 00:58:30 +1100
commit612b6472e740560af41f603115a1163b481dd64c (patch)
tree0ba65831673b396522f65de5b4e2b8b8f024295e /src/emu/render.h
parent95927464dd5edff2f790b60d85d35114fb2405d4 (diff)
-unidasm: Allow input piped from stdin by specifying a bare hyphen as the filename. [AJR, Vas Crabb]
-netlist: Give devices the C++17 namespace treatment. -Tidied up compiler warning options for 3rdparty. -emu/render.cpp: Exposed a few information view item properties.
Diffstat (limited to 'src/emu/render.h')
-rw-r--r--src/emu/render.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emu/render.h b/src/emu/render.h
index f2e95164b63..3dc7376957c 100644
--- a/src/emu/render.h
+++ b/src/emu/render.h
@@ -748,6 +748,8 @@ public:
// getters
layout_element *element() const { return m_element; }
screen_device *screen() { return m_screen; }
+ bool bounds_animated() const { return m_bounds.size() > 1U; }
+ bool color_animated() const { return m_color.size() > 1U; }
render_bounds bounds() const { return m_get_bounds(); }
render_color color() const { return m_get_color(); }
int blend_mode() const { return m_blend_mode; }
@@ -761,7 +763,8 @@ public:
bool clickthrough() const { return m_clickthrough; }
// fetch state based on configured source
- int state() const { return m_get_elem_state(); }
+ int element_state() const { return m_get_elem_state(); }
+ int animation_state() const { return m_get_anim_state(); }
// resolve tags, if any
void resolve_tags();