• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 3 4 5 6 7 ... 116 Next »

Move AddTypedMessage to center?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Move AddTypedMessage to center?
10-04-2021, 07:31 AM
#1
LittleCoaks Offline
Junior Member
**
Posts: 22
Threads: 16
Joined: Dec 2020
I have added something to a custom build of mine which displays texts onto the screen based on the game state during a Netplay game. Without getting too much into detail, i just want to move this text to the center of the screen instead of the top left. I used the AddTypedMessage function to do this. Attached is an example of what i currently have. As you can see, the text covers part of the game’s overlay, so I’d ideally want to center it instead of having it in the top left.

If it also helps, here is a link to the code i wrote to accomplish what i have so far. https://github.com/CNace13/dolphin/commit/75fd8b8c75064fbc4f486682cf8c4eea9109e196
Thank you


Attached Files Thumbnail(s)
   
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode