summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui
Commit message (Collapse)AuthorAgeFilesLines
* (nw) srcclean and some cleanup: Vas Crabb2018-07-221-4/+4
| | | | | | * Make more #include guards follow standard format - using MAME_ as the prefix makes it easy to see which ones come from our code in a preprocessor dump, and having both src/devices/machine/foo.h and src/mame/machine/foo.h causes issues anyway * Get #include "emu.h" out of headers - it should only be the first thing in a complilation unit or we get differences in behaviour with PCH on/off * Add out-of-line destructors to some devices - it forces the compiler to instantiate the vtable in a certain location and avoids some non-deterministic compiler behaviours
* general cleanup: Vas Crabb2017-05-231-5/+5
| | | | | | | | | | | * move rarely-used output and pty interfaces out of emu.h * consolidate and de-duplicate forward declarations, also remove some obsolete ones * clean up more #include guard macros * scope down a few more things (nw) Everyone, please keep forward declarations for src/emu in src/emu/emufwd.h - this will make it far easier to keep them in sync with declarations than having them scattered through all the other files.
* Remove emu.h from headers (nw) Olivier Galibert2017-02-111-1/+0
| | | | | | | | | | | | Per Vas' request. If the compile fails for you (i'm thinking osx and windows native debuggers here in particular), add '#include "emu.h"' as first include of the cpp files that fail. Due to our use of precompilation and forced inclusion, emu.h must be included as the very first non-comment thing we do if we want to be sure msvc compiles are identical to gcc/clang ones. Doing it directly instead of through an include increases the correctness probability by a magnitude.
* coretmpl: add an associative LRU cache with map-like behaviour Vas Crabb2016-12-152-260/+110
| | | | | | | | | | | | | | selmenu: use LRU cache so icons don't all need to be reloaded on scroll uismall.bdf: set default character for missing glyphs rendfont.cpp: * encapsulate many BDF and BDC handling details * make file I/O 64-bit clean, check for allocation errors * more solid BDF parser with error messages and trace logging * fix heap smash when building bitmaps for BDF fonts * extend BDC format to support high planes and default character * render default character if glyph not found for BDF/BDC
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-11/+11
| | | | | | | | | | | | * New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h" * Get rid of import of cstdint types to global namespace (C99 does this anyway) * Remove the cstdint types from everything in emu * Get rid of U64/S64 macros * Fix a bug in dps16 caused by incorrect use of macro * Fix debugcon not checking for "do " prefix case-insensitively * Fix a lot of messed up tabulation * More constexpr * Fix up many __names
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-11/+11
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* use standard types uintptr_t, char16_t and char32_t instead of FPTR, ↵ Miodrag Milanovic2016-10-221-1/+1
| | | | utf16_char, unicode_char (nw)
* Lock out ioport_fields independently of natural keyboard state (nw) AJR2016-10-201-4/+1
|
* Moved things a bit around to better decouple fulivi2016-06-091-2/+0
| | | | device_image_interface::call_display and UI front-end
* Changed UI handlers to be stored as std::function(); implemented old ↵ Nathan Woods2016-06-041-0/+1
| | | | set_handler() on top of this
* Move slider_state and ui_menu_item into src/frontend/mame, nw therealmogminer@gmail.com2016-05-161-47/+0
|
* no deps between osd and frontend, internal debugger removed (nw) Miodrag Milanovic2016-05-061-0/+2
|
* Cleanups and version bumpmame0173 Miodrag Milanovic2016-04-271-15/+15
|
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-242-3/+5
|
* cleanup (nw) Miodrag Milanovic2016-04-231-14/+0
|
* Split UI and frontend part from core [Miodrag Milanovic] Miodrag Milanovic2016-04-2379-27461/+130
|
* Added file for mame depended handling of opts (nw) Miodrag Milanovic2016-04-224-0/+4
|
* Created mame_options as 1st step towards creating core independent of MAME ↵ Miodrag Milanovic2016-04-212-2/+2
| | | | implementation (nw)
* fix sdl build. (nw) dankan18902016-04-2112-25/+6
|
* Isolate CLI part (nw) Miodrag Milanovic2016-04-202-0/+2
|
* Merge pull request #823 from ajrhacker/deviter Miodrag Milanović2016-04-2017-285/+224
|\ | | | | Iterate over devices C++11 style [AJR]
| * Iterate over devices C++11 style AJR2016-04-1817-285/+224
| | | | | | | | | | | | Replace the old device_iterator and its specialized versions with functionally equivalent classes that use standard operators to yield references to devices/interfaces rather than pointers. With range-based for loops, they no longer have to be stored in named variables, though they can also be reused concurrently since the iteration state is now maintained by a subclass. Add a few more typical getters to device_t::subdevice_list.
* | Forced reset in order to properly apply some options. (nw) dankan18902016-04-205-3/+23
|/
* added advanced options to per-machine configuration. (nw) dankan18902016-04-152-1/+7
|
* ui: Re-enabled configuration menu for single-machine and added some options. dankan18902016-04-158-213/+387
| | | | Adding handler for the right mouse button in the main menu, calls the machine configuration.
* Reduction code for entries of "enum class ui_menu_item_type" and the use of ↵ dankan18902016-04-1522-65/+77
| | | | item_append with separators.
* lower deps on clifront.h (nw) Miodrag Milanovic2016-04-151-1/+0
|
* * Make softwares -> software changes actually read properly Vas Crabb2016-04-132-3/+3
| | | | * If it's "Standard" then it should be "standard" in the ini file, too
* Make core vector-related slider handling slightly less egregious, nw therealmogminer@gmail.com2016-04-121-16/+12
|
* Merge pull request #776 from jmallach/typos R. Belmont2016-04-124-6/+6
|\ | | | | Fix typos throughout the codebase
| * Typo fix: threshhold → threshold Jordi Mallach2016-04-011-1/+1
| |
| * Typo fix: softwares → software Jordi Mallach2016-04-013-5/+5
| | | | | | | | Software is uncountable. At most, we can use "pieces of software" or so.
* | diimage.cpp: Allow image devices to be configured with a fixed etabeta782016-04-122-28/+30
| | | | | | | | | | | | | | | | | | (not user selectable) piece of software and updated a few options and menu to acknowledge such possibility. [Fabio Priuli] macs.cpp: Converted to use generic cartslot with fixed software configuration. Cleaned up loading and banking systems in the driver as a result. [Fabio Priuli]
* | (nw) dankan18902016-04-126-38/+23
| |
* | submenu: merged some options menu. (nw) dankan18902016-04-1110-495/+127
| |
* | Make OSDs return ui_menu_item lists, not slider_state lists therealmogminer@gmail.com2016-04-104-32/+58
| |
* | Add dividing line to bgfx slider list where applicable, nw therealmogminer@gmail.com2016-04-101-1/+5
| |
* | Make sliders use an std::vector instead of a linked list, nw therealmogminer@gmail.com2016-04-106-89/+114
| |
* | menu: fixed scrolling with the mouse wheel. (nw) dankan18902016-04-101-8/+8
| |
* | Add runtime screen chain selection, nw therealmogminer@gmail.com2016-04-093-50/+50
| |
* | (nw) cracyc2016-04-091-4/+4
| |
* | luaengine: make flags explicit (nw) cracyc2016-04-091-3/+15
| |
* | Fixed the key handler for the error "roms or missing CHD." dankan18902016-04-075-46/+40
| | | | | | | | | | Removed the delay in showing the description in the Advanced menu. Synchronized the translation files.
* | luaengine: direct and region accessors [Carl] cracyc2016-04-051-0/+4
| |
* | Merge pull request #789 from ajrhacker/emuopts_drc Miodrag Milanović2016-04-054-1/+4
|\ \ | | | | | | | | | | | | Revert software-installed slot/image options when changing software [AJR] Remove emu.h's stealth include of emuopts.h through mconfig.h; reduce dependency on emuopts.h in other headers and source files. MCFG_CPU_FORCE_NO_DRC is now a CPU configuration parameter rather than a global one; it still works to override the -drc option setting.
| * | Revert software-installed slot/image options when changing software AJR2016-04-044-1/+4
| | | | | | | | | | | | | | | - Remove emu.h's stealth include of emuopts.h through mconfig.h; reduce dependency on emuopts.h in other headers and source files. - MCFG_CPU_FORCE_NO_DRC is now a CPU configuration parameter rather than a global one; it still works to override the -drc option setting.
* | | luaengine: add plugin options menu [Carl] cracyc2016-04-044-0/+147
|/ /
* | Small changes. (nw) dankan18902016-04-032-12/+3
| |
* | submenu lang and cosmetic (nw) Jeffrey Clark2016-04-034-3/+12
| |
* | make it translate (nw) Miodrag Milanovic2016-04-031-10/+10
| |