X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Finternal-gui.h;h=398e5f3f7f0ec7fe359eeed18fae2ef3eaf6f17f;hb=0793e3bffb93b37b42eab1223c19ffc70c4ba1ae;hp=dff7d044681f219ff6e22ac0f415ca8695f1e309;hpb=3eaf05238648036ede985bd9c3335c242f884d56;p=m17n%2Fm17n-lib.git diff --git a/src/internal-gui.h b/src/internal-gui.h index dff7d04..398e5f3 100644 --- a/src/internal-gui.h +++ b/src/internal-gui.h @@ -17,7 +17,7 @@ You should have received a copy of the GNU Lesser General Public License along with the m17n library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 02111-1307, USA. */ #ifndef _M_INTERNAL_GUI_H @@ -54,6 +54,8 @@ struct MFrame character of the default face. */ int space_width; + int average_width; + /** The default ascent and descent of a line. It is ascent and descent of ASCII font of the default face. */ int ascent, descent; @@ -72,6 +74,9 @@ struct MFrame /** Logical OR of enum MDeviceType. */ int device_type; + /** Resolution (dots per inch) of the device. */ + int dpi; + /** Correction of functions to manipulate the device. */ MDeviceDriver *driver; @@ -130,8 +135,8 @@ typedef struct unsigned right_padding : 1; unsigned otf_encoded : 1; unsigned bidi_level : 6; - enum glyph_category category : 2; - enum glyph_type type : 3; + unsigned category : 2; + unsigned type : 3; int combining_code; } MGlyph;