Jump to content
  • entries
    359
  • comments
    237
  • views
    189280

Le Font.

Sign in to follow this  
Telastyn

90 views

Had a long interview today, which went fairly well if not being difficult. We'll see.

I doodled up a little prototype FontDialog. I need to change the cursor control to be more controlable and not equivalent to the rendering cursor. The actual font discovery and rendering works fantastically though. Yes, I know they're backwards, that needs fixed too. The control has an italic and bold flag which don't have ui controls yet.


PickFontDialog fontDialog = new PickFontDialog(VerticalList<string>.RectBehavior.Resize);
TiedRect.Tie(fontDialog, testBorder4.OuterRO(), TiedRect.TiePoints.LeftTop, TiedRect.TiePoints.LeftBottom, 0, 4).Sizing = fontDialog.FontList.BoundingBox;
fontDialog.Color = System.Drawing.Color.SkyBlue.ToArgb();
fontDialog.Color2 = System.Drawing.Color.Goldenrod.ToArgb();
fontDialog.BorderColor = System.Drawing.Color.SkyBlue.ToArgb();
fontDialog.BGColor = System.Drawing.Color.Transparent.ToArgb();
fontDialog.FontSize = 16;
fontDialog.PushOnto(RORoot.GUIRoot);

Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!