Difference between revisions of "GTK3 status"

From vice-emu
Jump to: navigation, search
m (Gtk3 coding guidelines)
(Status of the GTK3 UI)
Line 6: Line 6:
 
* TODO: respect "true aspect ratio" option (currently always off)
 
* TODO: respect "true aspect ratio" option (currently always off)
 
* TODO: respect "keep aspect ratio" option (currently always on)
 
* TODO: respect "keep aspect ratio" option (currently always on)
* <s>TODO: fullscreen mode</s>
 
 
* TODO: save/restore window(s) size(s) and position(s) from vice.ini
 
* TODO: save/restore window(s) size(s) and position(s) from vice.ini
* <s>TODO: make all of: video/audio/mouse/joystick/keyboard work</s>
 
 
* TODO: hotkeys - preferably user configureable (like SDL)
 
* TODO: hotkeys - preferably user configureable (like SDL)
 
: TODO: reasonable defaults are needed, eg to go to monitor :)
 
: TODO: reasonable defaults are needed, eg to go to monitor :)
 
* TODO: monitor window (<s>using VTE</s> VTE is Linux only, so we need a custom built Gtk3 widget)
 
* TODO: monitor window (<s>using VTE</s> VTE is Linux only, so we need a custom built Gtk3 widget)
 
: monitor in terminal works, use sth like ./src/x64 -initbreak 0xfce2 to get into the monitor
 
: monitor in terminal works, use sth like ./src/x64 -initbreak 0xfce2 to get into the monitor
* TODO: statusbar (see uistatusbar.c for some comments)
+
* TODO: statusbar (see uistatusbar.c for some comments) (Mostly done, needs a bit of love still)
 
* TODO: mixer and CRT-emu control
 
* TODO: mixer and CRT-emu control
 
: like the existing widget with the sliders in the gtk2 port, put split into two separate widgets of which one only has the audio related (mixer) and the other the video related (CRT) stuff (CRT sliders are done).
 
: like the existing widget with the sliders in the gtk2 port, put split into two separate widgets of which one only has the audio related (mixer) and the other the video related (CRT) stuff (CRT sliders are done).
* <s>TODO: menubar / menus
+
* TODO: finish ROM settings management
:: Some of this can be implemented using the GtkUIManager 'class'. Research needed.</s>
 
* TODO: various dialogs
 
:: <s>A lot of this can be implemented using the GtkBuilder 'class'. Research needed.</s> (not flexible enough)
 
* <s>TODO: figure out a way to be able to load UI description files from either the source tree during development, or the VICE lib dir when installed.</s>
 
:: No longer required, all UI's/dialogs are built via code
 
  
  

Revision as of 18:53, 22 May 2018

This is a temporary page to collect some notes on the status of the GTK3 port

Status of the GTK3 UI

  • TODO: Forcing display size to 1x/2x/3x/4x
  • TODO: respect "true aspect ratio" option (currently always off)
  • TODO: respect "keep aspect ratio" option (currently always on)
  • TODO: save/restore window(s) size(s) and position(s) from vice.ini
  • TODO: hotkeys - preferably user configureable (like SDL)
TODO: reasonable defaults are needed, eg to go to monitor :)
  • TODO: monitor window (using VTE VTE is Linux only, so we need a custom built Gtk3 widget)
monitor in terminal works, use sth like ./src/x64 -initbreak 0xfce2 to get into the monitor
  • TODO: statusbar (see uistatusbar.c for some comments) (Mostly done, needs a bit of love still)
  • TODO: mixer and CRT-emu control
like the existing widget with the sliders in the gtk2 port, put split into two separate widgets of which one only has the audio related (mixer) and the other the video related (CRT) stuff (CRT sliders are done).
  • TODO: finish ROM settings management


  • NOTE: The Unix port uses the XDG specification for the vice configuration files, so now `vicerc` is located in `$HOME/.config/vice`, not `$HOME/.vice`. Right now the 'autostart-${emu}.d64' files are also stored there, which is not quite correct.

Status of the arch specific parts

Unix

./configure --enable-native-gtk3ui

  • starts up, video and audio is working
  • keyboard is working
  • TODO: make joystick input work
  • TODO: make mouse input work

Windows

./configure --enable-native-gtk3ui --without-resid

  • starts up, video is working
  • keyboard is working
  • TODO: fix "make bindist"
right now start like "./src/x64 -directory alldata" with ALL roms (drive and computer) in the respective directory
  • TODO: fix "undefined reference to reSID::build_dac_table" when reSID is enabled
Temporary fix: run `make LDFLAGS="-Lsrc/resid"`. configure.proto should be updated to reflect this
  • TODO: make audio work
    • TODO: fix configure.proto - sound drivers are not being selected correctly (should be like native win32)
TODO: sound-wmm is disabled in sound.c
  • TODO: make joystick input work
TODO: some stuff is commented out in joy-win32.c and joy-win32-dinput-handle.c
  • TODO: make mouse input work

MacOS

  • untested

./configure --enable-native-gtk3ui

  • TODO: make it compile and start up
  • TODO: make video and audio work
  • TODO: make keyboard work
  • TODO: make joystick input work
  • TODO: make mouse input work