Check-in [967ae3f5b9]

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

Overview
Comment:Repaint display if a command is added.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:967ae3f5b9df3cb6ede1129cd4c404b4e991bbc8
User & Date: stephanie.gawroriski 2019-05-16 16:55:51
Context
2019-05-16
17:04
Set of current displayable item. check-in: 6a5ff73033 user: stephanie.gawroriski tags: trunk
16:55
Repaint display if a command is added. check-in: 967ae3f5b9 user: stephanie.gawroriski tags: trunk
16:53
Set of displayable title. check-in: 2cf258242b user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

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

64
65
66
67
68
69
70










71
72
73
74
75
76
77
78
79
80
81
82
		if (__b == null)
			throw new NullPointerException("NARG");
		
		this.backend = __b;
		this.screenwidth = (__sw <= 0 ? DEFAULT_SCREEN_WIDTH : __sw);
		this.screenheight = (__sh <= 0 ? DEFAULT_SCREEN_HEIGHT : __sh);
	}










	
	/**
	 * Sets the title of what is displayed on the screen.
	 *
	 * @param __t The title to use, {@code null} uses a default title.
	 * @since 2019/05/16
	 */
	public final void setTitle(String __t)
	{
	}
}








>
>
>
>
>
>
>
>
>
>












64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
		if (__b == null)
			throw new NullPointerException("NARG");
		
		this.backend = __b;
		this.screenwidth = (__sw <= 0 ? DEFAULT_SCREEN_WIDTH : __sw);
		this.screenheight = (__sh <= 0 ? DEFAULT_SCREEN_HEIGHT : __sh);
	}
	
	/**
	 * Repaints the display.
	 *
	 * @since 2019/05/16
	 */
	public final void repaint()
	{
		throw new todo.TODO();
	}
	
	/**
	 * Sets the title of what is displayed on the screen.
	 *
	 * @param __t The title to use, {@code null} uses a default title.
	 * @since 2019/05/16
	 */
	public final void setTitle(String __t)
	{
	}
}

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

100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
		if (cd != null)
			if ((cd.getCapabilities() & Display.SUPPORTS_COMMANDS) == 0)
				throw new DisplayCapabilityException("EB27");
		
		// Add the command
		this._commands.addUniqueObjRef(__c);
		
		throw new todo.TODO();
		/*
		// Update the display if attached
		if (cd != null)
			cd.__updateUIStack();
		*/
	}
	
	public Command getCommand(int __p)
	{
		throw new todo.TODO();
	}
	







|
|
|
|
<
<







100
101
102
103
104
105
106
107
108
109
110


111
112
113
114
115
116
117
		if (cd != null)
			if ((cd.getCapabilities() & Display.SUPPORTS_COMMANDS) == 0)
				throw new DisplayCapabilityException("EB27");
		
		// Add the command
		this._commands.addUniqueObjRef(__c);
		
		// Repaint display?
		Display d = this._display;
		if (d != null)
			d._phoneui.repaint();


	}
	
	public Command getCommand(int __p)
	{
		throw new todo.TODO();
	}