[GUI-Patches for Touch Screen]Patch Pack

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
User avatar
openbu.org
Engineer
Engineer
Posts: 74
Joined: 14 Nov 2014 07:40
Location: USA
Contact:

[GUI-Patches for Touch Screen]Patch Pack

Post by openbu.org »

Patch#1 statusbar_gui.cpp

Code: Select all

static const NWidgetPart _nested_main_status_widgets[] = {
	NWidget(NWID_HORIZONTAL),
		NWidget(WWT_PANEL, COLOUR_YELLOW, WID_S_LEFT), SetMinimalSize(140, 34), EndContainer(),
		NWidget(WWT_PUSHBTN, COLOUR_GREEN, WID_S_MIDDLE), SetMinimalSize(40, 34), SetDataTip(0x0, STR_STATUSBAR_TOOLTIP_SHOW_LAST_NEWS), SetResize(1, 0),
		NWidget(WWT_PUSHBTN, COLOUR_RED, WID_S_RIGHT), SetMinimalSize(140, 34),
	EndContainer(),
};
Attachments
GUI-1.png
GUI-1.png (290.55 KiB) Viewed 95 times
GUI-2.png
(128.99 KiB) Not downloaded yet
User avatar
openbu.org
Engineer
Engineer
Posts: 74
Joined: 14 Nov 2014 07:40
Location: USA
Contact:

Re: [GUI-Patches for Touch Screen]Patch Pack

Post by openbu.org »

oh

Code: Select all

NWID_VERTICAL
Attachments
GUI-3.png
GUI-3.png (125.57 KiB) Viewed 1106 times
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: ZaphodB and 28 guests