|
You last visited: Today at 15:13
Advertisement
SOURCE V19 BUTTONS
Discussion on SOURCE V19 BUTTONS within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.
12/02/2012, 19:18
|
#1
|
elite*gold: 0
Join Date: Mar 2011
Posts: 129
Received Thanks: 257
|
[Release]V19 BUTTONS fixed
========================================
ITheme.cpp:
========================================
search:
Code:
#ifdef __LANG_1013
PLANG_DATA pLangData = CLangMan::GetInstance()->GetLangData( ::GetLanguage() );
CD3DFont* pFont;
put down:
Code:
#ifdef __v19BUTTONS
pFont = new CD3DFont( _T("Verdana"), 9, D3DFONT_BOLD );
m_mapFont.SetAt( _T( "ButtonV19"), pFont );
#endif// __v19BUTTONS
search:
Code:
m_mapFont.Lookup( _T("Arial Black9"), (void*&)m_pFontWndTitle );
put down:
Code:
#ifdef __v19BUTTONS
m_mapFont.Lookup( _T("ButtonV19"), (void*&)m_pFontButton );
#endif//__v19BUTTONS
to make writing appear on the buttons need only that, the rest is the source,
position etc.
-----------------------------------------------------------------------------
search:
Code:
RenderWndButton_4Texture( p2DRender, pWndButton );
put down:
Code:
#ifdef __v19BUTTONS
RenderWndButtonText(p2DRender,pWndButton);
#endif// __v19BUTTONS
-----------------------------------------------------------------------------
search :
Code:
void CTheme::RenderWndButtonText( C2DRender* p2DRender, CWndButton* pWndButton )
replace all:
Code:
#ifdef __v19BUTTONS
void CTheme::RenderWndButtonText( C2DRender* p2DRender, CWndButton* pWndButton )
{
BOOL bHighLight = pWndButton->IsHighLight();
BOOL bEnable = pWndButton->IsWindowEnabled();
BOOL bPush = pWndButton->IsPush();
DWORD dwColor = GetButtonFontColor( pWndButton );
POINT pt = GetButtonTextPos( p2DRender, pWndButton );
CD3DFont* pFont = p2DRender->GetFont();
p2DRender->SetFont( CWndBase::m_Theme.m_pFontButton );
if ( pWndButton->IsPush() )
{
p2DRender->TextOut( pt.x, pt.y + 2, pWndButton->GetTitle(), dwColor );
}
else
{
p2DRender->TextOut( pt.x, pt.y + 1, pWndButton->GetTitle(), dwColor );
}
p2DRender->SetFont( pFont );
}
#endif//__v19BUTTONS
========================================
ITheme.h
========================================
search:
Code:
CD3DFont* m_pFontWndTitle;
put down:
Code:
#ifdef __v19BUTTONS
CD3DFont* m_pFontButton
#endif//__v19BUTTONS
========================================
WndControl.cpp
========================================
search:
Code:
CWndButton::CWndButton()
{
replace them by those:
Code:
#ifdef __v19BUTTONS
m_nFontColor = D3DCOLOR_ARGB( 255, 10, 10, 10 );
m_nPushColor = D3DCOLOR_ARGB( 255, 64, 64, 64 );
m_nDisableColor = D3DCOLOR_ARGB( 255, 15, 15, 15 );
m_nHighlightColor = D3DCOLOR_ARGB( 255, 80, 80, 80 );
#endif//__v19BUTTONS
========================================
Neuz VersionCommon.h
========================================
Code:
#define __v19BUTTONS
this is just to bring up the writings of the buttons to change the design of the buttons you guys should change the theme for v19
Code 100% created by me
picuture
|
|
|
12/02/2012, 20:03
|
#2
|
elite*gold: 0
Join Date: Feb 2012
Posts: 2,107
Received Thanks: 651
|
ist zwar schon in fast jeder Source drin, vondaher kann man es sich leicht raussuchen.
Aber danke für deine mühe.
|
|
|
12/02/2012, 20:39
|
#3
|
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
|
Die version ist scheiße weil man auf wirklcih alle Buttons den Text schreibt und nicht nur auf die, auf denen es sein muss. Also HF beim resdata.txt.txt ändern, hast ja dann nen haufen an mehr arbeit als nötig.
|
|
|
12/02/2012, 20:45
|
#4
|
elite*gold: 0
Join Date: Jul 2011
Posts: 28
Received Thanks: 4
|
Thank so much
|
|
|
12/02/2012, 20:45
|
#5
|
elite*gold: 0
Join Date: Mar 2011
Posts: 129
Received Thanks: 257
|
Quote:
Originally Posted by Jopsi332
Die version ist scheiße weil man auf wirklcih alle Buttons den Text schreibt und nicht nur auf die, auf denen es sein muss. Also HF beim resdata.txt.txt ändern, hast ja dann nen haufen an mehr arbeit als nötig.
|
have you ever looked at the official v19?
I think not because he had looked he would see
that within the official resdata.txt.txt
are written the names of all buttons
|
|
|
12/02/2012, 20:52
|
#6
|
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
|
Quote:
Originally Posted by adeilson123
have you ever looked at the official v19?
I think not because he had looked he would see
that within the official resdata.txt.txt
are written the names of all buttons
|
start 1time daisy and save and all other buttons will have textes you dont need on the buttons.
And i saw some things on resdata.txt.txt like placeholderxx
|
|
|
12/02/2012, 21:03
|
#7
|
elite*gold: 0
Join Date: Mar 2011
Posts: 129
Received Thanks: 257
|
Quote:
Originally Posted by Jopsi332
start 1time daisy and save and all other buttons will have textes you dont need on the buttons.
And i saw some things on resdata.txt.txt like placeholderxx
|
for you use this system buttons
you are required to change the resdata.h, resdata.inc and resdata.txt.txt
for official v19 ....
I did it tested, works perfectly without bugs
|
|
|
12/02/2012, 21:06
|
#8
|
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
|
Quote:
Originally Posted by adeilson123
for you use this system buttons
you are required to change the resdata.h, resdata.inc and resdata.txt.txt
for official v19 ....
I did it tested, works perfectly without bugs
|
if you save the path of buttons and make an if if it is the right button(buttnormalxx.tga) he only make it with the one who needed and not for all. a bit more ram needed but i think perfomce is better cause he make on a window not 10 renderbuttontext maybe only 2 then.
|
|
|
12/02/2012, 21:08
|
#9
|
elite*gold: 0
Join Date: Nov 2012
Posts: 80
Received Thanks: 33
|
Thank so much
|
|
|
12/02/2012, 21:18
|
#10
|
elite*gold: 0
Join Date: Mar 2011
Posts: 129
Received Thanks: 257
|
Quote:
Originally Posted by Jopsi332
if you save the path of buttons and make an if if it is the right button(buttnormalxx.tga) he only make it with the one who needed and not for all. a bit more ram needed but i think perfomce is better cause he make on a window not 10 renderbuttontext maybe only 2 then.
|
jopsi put your system
for us to see
|
|
|
12/02/2012, 21:26
|
#11
|
elite*gold: 0
Join Date: Jul 2011
Posts: 28
Received Thanks: 4
|
i try to do but still no text in botton How can i edit more?
Thank you
|
|
|
12/03/2012, 03:02
|
#12
|
elite*gold: 0
Join Date: Aug 2008
Posts: 26
Received Thanks: 20
|
*cough*
|
|
|
12/03/2012, 05:46
|
#13
|
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
|
no text on button fail giving source :3
|
|
|
12/03/2012, 15:05
|
#14
|
elite*gold: 0
Join Date: Feb 2010
Posts: 876
Received Thanks: 470
|
WndControl.cpp
m_pTheme->RenderWndButtonText( p2DRender, this );
Finished.
|
|
|
12/05/2012, 13:01
|
#15
|
elite*gold: 0
Join Date: Jul 2011
Posts: 110
Received Thanks: 4
|
if I put it in my v18 will work?
|
|
|
 |
|
Similar Threads
|
GFX Buttons and more
08/25/2012 - elite*gold Trading - 0 Replies
http://i.imgur.com/B2XRg.png
Jeder einzelter Button Kostet 3 Egold Alle zusammen 10 Egold.
|
Frage Buttons per Pfeil switchen lassen(Source)
08/19/2012 - Flyff Private Server - 0 Replies
Da ich nicht genau verstehe, wie wie man Buttons auf diese Weise switcht, frage ich euch.
Mein Problem ist, dass mein Glowchange Fenster zu groß ist, deswegen würde ich gerne die Buttons per Pfeil hin und zurück switchen lassen. Wer mir helfen will hier, per pn oder am besten ICQ: 618002150.
Würde mich sehr freuen :)
|
Die Buttons....
05/26/2010 - General Coding - 1 Replies
Hallo e*pvp Coder
ich möchte in Autoit ein Programm schreiben das wenn ich einen Button drücke ein gewünschtes Programm geöffnet wird.
Hier mal mein vergeblicher Versuch....
while 1
Switch GUIGetMsg()
Case $Button1
Run ("C:\Programme\Mozilla Firefox\Firefox.exe")
|
Problem wenn Buttons Disable dann Enable sind die buttons zum senden zu verwenden
11/19/2009 - AutoIt - 5 Replies
also hab ja durch hilfe geschafft buttons mit Checkbox Enable und disable zu machn nur mein prob ist jetzt das ich die buttons nicht verwenden kann hab schon einiges ausprobiert aber wenn ich dann bsp button1 drücke passiert einfach nix kann mir wer helfen `? bekommt thx für ;)
hier der code:
#include <GUIConstantsEx.au3>
GUICreate("")
$check = GUICtrlCreateCheckbox("Enable/Disable Buttons", 10, 10, 140, 20)
$button = GUICtrlCreateButton("Button",10,50)
$button1 =...
|
[Buttons]Hi wer kann mir die Buttons erklären
08/16/2009 - Metin2 Private Server - 6 Replies
Hi ich will kg machen,kenne aber die bedeutung der buttons nich könnt ihr mir vllt.helfen
MfG TheRisk
Hier ein Screen:http://img16.imageshack.us/img16/3016/gaul. jpg
|
All times are GMT +1. The time now is 15:14.
|
|