summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/lib/osdobj_common.h
diff options
context:
space:
mode:
author therealmogminer@gmail.com <therealmogminer@gmail.com>2016-03-12 01:31:13 +0100
committer therealmogminer@gmail.com <therealmogminer@gmail.com>2016-03-13 15:51:19 +0100
commitcd8f796df658caf91af31de35d87ab0de77e69e9 (patch)
treed4abc539d9cfa747080806c0e10e3f190265dc4d /src/osd/modules/lib/osdobj_common.h
parentad1e6ef899eb856f14354fa952b2a2b0c8aafaa7 (diff)
Add bgfx command line options, major shakeup of organization, nw
Diffstat (limited to 'src/osd/modules/lib/osdobj_common.h')
-rw-r--r--src/osd/modules/lib/osdobj_common.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/osd/modules/lib/osdobj_common.h b/src/osd/modules/lib/osdobj_common.h
index 592391b5161..652ae8d6cfc 100644
--- a/src/osd/modules/lib/osdobj_common.h
+++ b/src/osd/modules/lib/osdobj_common.h
@@ -78,7 +78,8 @@
#define OSDOPTVAL_AUTO "auto"
#define OSDOPTVAL_NONE "none"
-
+#define OSDOPTION_BGFX_PATH "bgfx_path"
+#define OSDOPTION_BGFX_SCREEN_CHAIN "screen_chain"
//============================================================
// TYPE DEFINITIONS
@@ -149,6 +150,10 @@ public:
const char *audio_output() const { return value(OSDOPTION_AUDIO_OUTPUT); }
const char *audio_effect(int index) const { return value(string_format("%s%d", OSDOPTION_AUDIO_EFFECT, index).c_str()); }
+ // BGFX specific options
+ const char *bgfx_path() const { return value(OSDOPTION_BGFX_PATH); }
+ const char *bgfx_screen_chain() const { return value(OSDOPTION_BGFX_SCREEN_CHAIN); }
+
private:
static const options_entry s_option_entries[];
};