Tab Position // Ayyware

Posts 1–7 of 7 · Page 1 of 1
Tab Position // Ayyware
Hi, how to make the tabs on the side? like skeet?

Code (tabcount)
Code:
	int TabCount = window->Tabs.size();
	if (TabCount) // If there are some tabs
	{
		int TabSize = (window->m_iWidth - 4 - 12) / TabCount;
		for (int i = 0; i < TabCount; i++)
		{
			RECT TabArea = { window->m_x + 8 + (i*TabSize), window->m_y + 1 + 28, TabSize, 28 };
			CTab *tab = window->Tabs[i];
			if (window->SelectedTab == tab)
			{
				Render::GradientV(window->m_x + 8 + (i*TabSize), window->m_y + 1 + 27, TabSize, 29, Color(10, 10, 10, 255), Color(10, 10, 10, 255));
			}
			else if (IsMouseInRegion(TabArea))
			{
				Render::GradientV(window->m_x + 8 + (i*TabSize), window->m_y + 1 + 27, TabSize, 29, Color(10, 10, 10, 255), Color(10, 10, 10, 255));
			}
			RECT TextSize = Render::GetTextSize(Render::Fonts::skrrtmenufont, tab->Title.c_str());
			Render::Text(TabArea.left + (TabSize / 2) - (TextSize.right / 2), TabArea.top + 8, Color(255, 255, 255, 255), Render::Fonts::skrrtmenufont, tab->Title.c_str());
			//Render::Clear(window->m_x + 8, window->m_y + 1 + 27, window->m_iWidth - 4 - 12, 2, Color::FromHSB(rainbow,1.f,1.f));
			D::DrawRectRainbow(window->m_x + 8, window->m_y + 1 + 27, window->m_iWidth - 4 - 12, 2, 0.003f, rainbow);
No one won't to help u with copy+pasting (fck laik)
Go learn c++
take a look at ayyware 2.0 source and see how they did it.
Quote Originally Posted by axio42 View Post
take a look at ayyware 2.0 source and see how they did it.
The thing is... if you're pasting ayyware and want vertical menu why wouldn't u just paste ayyware remastered/2.0???
Quote Originally Posted by Viesturs Ka View Post
The thing is... if you're pasting ayyware and want vertical menu why wouldn't u just paste ayyware remastered/2.0???
Ayyware won't work on new versions of windows.
Quote Originally Posted by takenpleas View Post
Ayyware won't work on new versions of windows.
And the original one works? I've got no idea tbh
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?