Thread Tools Display Modes
10/06/15, 12:17 PM   #1
Lodur
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 108
MAIN_MENU gone?

Looks like there is no more MAIN_MENU on PTS now... fun fun...
  Reply With Quote
10/06/15, 12:20 PM   #2
Lodur
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 108
We have MENU_MENU_KEYBOARD now...

We may all have to think about Gamepad support now in our addons...
  Reply With Quote
10/06/15, 12:38 PM   #3
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
All functions used in addons and defined in ESOUI _keyboard files must be rewrited.
  Reply With Quote
10/06/15, 01:39 PM   #4
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
MAIN_MENU = MAIN_MENU_KEYBOARD
problem solved?
  Reply With Quote
10/06/15, 08:32 PM   #5
Lodur
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 108
Originally Posted by sirinsidiator View Post
MAIN_MENU = MAIN_MENU_KEYBOARD
problem solved?
close I think... But a whole new UI if I want to support gamepad mode...


Since MailLooter exists in the main menu structure.

- I changed MAIN_MENU to MAIN_MENU_KEYBOARD.
- For hot key to open the window:

Code:
  if not SCENE_MANAGER:IsShowing("mailLooter") then
  
    if IsInGamepadPreferredMode() then
      -- Nothing for now...
      UI.queuedCommand = nil
    else
      MAIN_MENU_KEYBOARD:ShowScene("mailLooter")
    end

  else
    ...

Potentially a lot of checking the game pad mode in the future.

Last edited by Lodur : 10/06/15 at 08:37 PM. Reason: add more...
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » MAIN_MENU gone?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off