.. index:: 
	single: What is new in Ring 1.3?; Introduction

========================
What is new in Ring 1.3?
========================

In this chapter we will learn about the changes and new features in Ring 1.3 release.

.. index:: 
	pair: What is new in Ring 1.2?; List of changes and new features

List of changes and new features
================================

Ring 1.3  comes with many new features 

* 


.. index:: 
	single: What is new in Ring 1.3?; Introduction

========================
What is new in Ring 1.3?
========================

In this chapter we will learn about the changes and new features in Ring 1.3 release.

.. index:: 
	pair: What is new in Ring 1.3?; List of changes and new features

List of changes and new features
================================

Ring 1.3  comes with many new features 

* Better RingQt
* Better Ring Notepad

.. index:: 
	pair: What is new in Ring 1.3?; Better RingQt

Better RingQt
=============

Another version of QPixMap class is added (QPixMap2) which takes (int width,int height)
during object init. 

Example:

.. code-block:: ring

	Load "guilib.ring"
	New qapp 
	{
		win1 =  new qwidget() 
		{
			setwindowtitle("Drawing using QPixMap")
			setgeometry(100,100,500,500)
			label1 = new qlabel(win1) 
			{
				setgeometry(10,10,400,400)
				settext("")
			}
			imageStock = new qlabel(win1) 
			{               
				image = new qPixMap2(200,200)   
				color = new qcolor() {
					setrgb(255,255,255,255)
				}
				pen = new qpen() {
					setcolor(color)
					setwidth(10)
				}
				new qpainter() {
					begin(image)
						setpen(pen)
						drawline(0,0,200,200)
						drawline(200,0,0,200)
					endpaint()
				}
				setpixmap(image)   
			}   
			show()
		}
		exec()
	}

Screen Shot:

.. image:: ringqtpixmap2.png
	:alt: Using QPixMap2


.. index:: 
	pair: What is new in Ring 1.3?; Better Ring Notepad

Better Ring Notepad
===================

Ring Notepad is update to use QPlainTextEdit instead of QTextEdit and to display
the line number for each line in the source code file.

Screen Shot:

.. image:: rnotelinenumber.png
	:alt: Ring Notepad - Line Number



Update Documentation - What is new in Ring 1.3 Chapter.
Update Documentation - What is new in Ring 1.3 Chapter.
