Check-in [db62efa65d]

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

Overview
Comment:Repaint the display if fullscreen mode changed.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:db62efa65d76a664545420cdbbc8e6c50ae2175d
User & Date: stephanie.gawroriski 2019-05-17 14:55:27
Context
2019-05-17
15:30
Some base work. check-in: 321a6b8100 user: stephanie.gawroriski tags: trunk
14:55
Repaint the display if fullscreen mode changed. check-in: db62efa65d user: stephanie.gawroriski tags: trunk
14:53
Handle vibration; Add vibration symbol; If the display is vibrating, show a symbol that it is; Implement anchoring for text. check-in: 0083862360 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to runt/apis/midp-lcdui/javax/microedition/lcdui/Canvas.java.

527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545


546
547
548
549
550
551
552
		// Do nothing if already fullscreen
		if (this._isfullscreen == __f)
			return;
		
		// Set new mode
		this._isfullscreen = __f;
		
		throw new todo.TODO();
		/*
		// If we are the child of a display then we need to update the draw
		// slice of the display so that way stuff like command buttons and
		// such are chopped off
		__Widget__ parent = this._parent;
		if (parent != null && parent instanceof Display)
		{
			Display d = (Display)parent;
			d.__updateUIStack(d._uipersist, null);
		}
		*/


	}
	
	/**
	 * Sets the key listener which is used to handle key events.
	 *
	 * If this is set then {@link #keyPressed(int)}, {@link #keyReleased(int)},
	 * and {@link #keyRepeated} will still be called.







|
<
<
<
<
<
<
<
|
<
<
<
>
>







527
528
529
530
531
532
533
534







535



536
537
538
539
540
541
542
543
544
		// Do nothing if already fullscreen
		if (this._isfullscreen == __f)
			return;
		
		// Set new mode
		this._isfullscreen = __f;
		
		// Repaint the display if we have one so that it actually is used







		Display d = this._display;



		if (d != null)
			d._phoneui.repaint();
	}
	
	/**
	 * Sets the key listener which is used to handle key events.
	 *
	 * If this is set then {@link #keyPressed(int)}, {@link #keyReleased(int)},
	 * and {@link #keyRepeated} will still be called.