Need help with my menu - Current issue is item grid layout
#40
Gets better, LilyFrog.  I just did some more work on the popup display.  But to do what is needed, I added TWO more methods to the BITMAP class.


Okay, a little info.  The Bitmap class is a hidden class that you would normally bot be able to touch.  But a number of us intrepid scripters know of the class and how to tweak it.  In this, there are a number of additions made.

The first one to note is the 'Scaled Blit' method by SephirothSpawn.  Blitting is the act of pasting a bitmap to a location.   SephirothSpawn's
Scaled Blit method takes the image and makes it fit within a specific area, shrinking it or increasing its size to fit.  BUT... it doesn't distort the image in doing so.

The second one is the 'Formatted Text' method by Trickster.  This is an enhanced version of the default draw_text method, using the same basic x and y positions, text area width, and line height of the original.  But the difference is that when the text goes beyond the prescribed width, the text is continued as another line below the first.  It doesn't do Right-Justified, Centered, nor 'Full Alignment'... but it does the trick.



With that out of the way, I remastered the pop window in the scripts to add the image and description.  I .. um... forgot to add the item NAME like your mockup.  But it's pretty much there.

Oh, and for the test, I added an image to add into your Graphics\Pictures folder.  It MIGHT look familiar.




.zip   Scripts.zip (Size: 117.11 KB / Downloads: 1)

.png   Lilyflower.png (Size: 10.8 KB / Downloads: 1)
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Messages In This Thread
RE: Need help with my menu - Current issue is item grid layout - by DerVVulfman - 09-22-2018, 03:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 2 62 Yesterday, 03:09 AM
Last Post: JayRay
   I want to merge item classification and description extensions. zlsl 7 9,593 11-25-2019, 06:46 AM
Last Post: kyonides
   Handling very long Item Names Mel 4 8,236 09-24-2018, 06:37 PM
Last Post: Mel
   Special Items Separate Menu Diorm 41 42,446 02-10-2018, 06:06 PM
Last Post: Diorm
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 9,852 05-31-2017, 05:10 AM
Last Post: Zachariad
   A fourth column in MOG Scene Item Laura V1.2 Noctis 13 20,323 11-27-2016, 05:12 PM
Last Post: DerVVulfman
   Bizarre issue with Lanzer counter script. Steel Beast 6Beets 2 7,245 10-04-2016, 11:46 AM
Last Post: Steel Beast 6Beets
   XAIL MENU from RPG VX ACE to RPG XP RASHIDA12 46 52,251 05-02-2016, 08:08 PM
Last Post: RASHIDA12
Tongue  Healing Spell doesn't work right in Menu? Bounty Hunter Lani 8 12,488 01-15-2015, 07:45 PM
Last Post: Bounty Hunter Lani
   My Options Menu needs help firestalker 0 3,290 08-11-2014, 02:31 PM
Last Post: firestalker



Users browsing this thread: 1 Guest(s)