Thread: Font Menu

Results 1 to 3 of 3
  1. #1
    Anger5K's Avatar
    Join Date
    May 2020
    Gender
    male
    Posts
    151
    Reputation
    10
    Thanks
    70
    My Mood
    Lurking

    Arrow Font Menu

    hay world

    I Want Font Menu Bold Very Good
    I Have this font


    Code:
    void hCreateFont(LPDIRECT3DDEVICE9 pDevice)
    {
    if(pFont == NULL)
    	{
    		D3DXCreateFont(pDevice, 14, 6, 500, 1, 0, 1, 0, 4, 0 | (0<<4), "Calibri", &pFont);
    	}
    	else
    	{
    		if(hDevice != pDevice)
    		{
    			hDevice = pDevice;
    
    			try
    			{
    				if(pFont != 0) pFont->Release();
    
    			} catch (...) {}
    
    			pFont = 0;
    			D3DXCreateFont(pDevice, 14, 6, 500, 1, 0, 1, 0, 4, 0 | (0<<4), "Calibri", &pFont);
    		}
    	}
    }

  2. The Following User Says Thank You to Anger5K For This Useful Post:

    PHSQL (11-11-2020)

  3. #2
    96neko's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Location
    00:25:B5:AA:01:1F
    Posts
    768
    Reputation
    10
    Thanks
    142
    My Mood
    Angelic
    Quote Originally Posted by Anger5K View Post
    hay world

    I Want Font Menu Bold Very Good
    I Have this font


    Code:
    void hCreateFont(LPDIRECT3DDEVICE9 pDevice)
    {
    if(pFont == NULL)
    	{
    		D3DXCreateFont(pDevice, 14, 6, 500, 1, 0, 1, 0, 4, 0 | (0<<4), "Calibri", &pFont);
    	}
    	else
    	{
    		if(hDevice != pDevice)
    		{
    			hDevice = pDevice;
    
    			try
    			{
    				if(pFont != 0) pFont->Release();
    
    			} catch (...) {}
    
    			pFont = 0;
    			D3DXCreateFont(pDevice, 14, 6, 500, 1, 0, 1, 0, 4, 0 | (0<<4), "Calibri", &pFont);
    		}
    	}
    }
    just adjust the size
    Code:
    D3DXCreateFont( pDevice, 22, 0, FW_BOLD, 0, FALSE,DEFAULT_CHARSET, OUT_DEFAULT_PRECIS, ANTIALIASED_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Calibri", &pFont);



  4. The Following User Says Thank You to 96neko For This Useful Post:

    Anger5K (06-09-2020)

  5. #3
    Anger5K's Avatar
    Join Date
    May 2020
    Gender
    male
    Posts
    151
    Reputation
    10
    Thanks
    70
    My Mood
    Lurking
    Thank you my friend

Similar Threads

  1. [Código fonte] CA Base D3D Menu Selection V2
    By WE11ington in forum Combat Arms BR Hack Coding/Source Code
    Replies: 211
    Last Post: 05-27-2011, 11:46 AM
  2. [Código fonte] CA Base D3D Menu Selection V1
    By WE11ington in forum Combat Arms BR Hack Coding/Source Code
    Replies: 11
    Last Post: 04-25-2011, 07:40 PM
  3. [Código fonte] CA Base D3D Menu CheckBox V1
    By WE11ington in forum Combat Arms BR Hack Coding/Source Code
    Replies: 26
    Last Post: 02-27-2011, 01:47 PM
  4. Menu e Fonte "cortados"
    By wainner3d in forum Combat Arms Brazil Discussions
    Replies: 6
    Last Post: 01-10-2011, 05:15 AM
  5. Topblast D3D Menu Base v1.1(Sliders and supports 2 different Fonts)
    By topblast in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 69
    Last Post: 08-27-2010, 05:14 PM