Check-in [f4e7411c38]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Draw command bar if there are commands.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:f4e7411c3826ae8f93cec805fcffad7be82b7386
User & Date: stephanie.gawroriski 2019-05-17 15:46:54
Context
2019-05-17
16:17
Realize the content area when it is set as well as during painting. check-in: 31ff0ed16b user: stephanie.gawroriski tags: trunk
15:46
Draw command bar if there are commands. check-in: f4e7411c38 user: stephanie.gawroriski tags: trunk
15:46
Corrections to EnforcedDrawingAreaGraphics. check-in: 25a8f8aa02 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to runt/apis/midp-lcdui/cc/squirreljme/runtime/lcdui/phoneui/ActiveDisplay.java.

143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
		// Otherwise, we draw the title bar and the command bar
		else
		{
			// Title bar is always drawn
			drawtitlebar = true;
			
			// The command bar is only drawn if we have actual commands
			drawcommandbar = false;//(numcommands > 0);
			
			// Draw area is shortened in height
			uw = dw;
			uh = (dh - StandardMetrics.TITLE_BAR_HEIGHT) -
				(drawcommandbar ? StandardMetrics.COMMAND_BAR_HEIGHT : 0);
			
			// Use 







|







143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
		// Otherwise, we draw the title bar and the command bar
		else
		{
			// Title bar is always drawn
			drawtitlebar = true;
			
			// The command bar is only drawn if we have actual commands
			drawcommandbar = (numcommands > 0);
			
			// Draw area is shortened in height
			uw = dw;
			uh = (dh - StandardMetrics.TITLE_BAR_HEIGHT) -
				(drawcommandbar ? StandardMetrics.COMMAND_BAR_HEIGHT : 0);
			
			// Use