воскресенье, 7 июня 2009 г.


В этой теме Mike.dld выложил пример лэйаутов для Колибри. Сделано пока что на скорую руку три контрола: hbox_layout (собственно, он самый), rect (рисует свои границы красным) и spacer (ничего не рисует, но занимает место). Чуть позже добавил vbox_layout, в результате стало возможным реализовать практически любой интерфейс.

Для проверки кода - собрать example.asm, запустить и поизменять размеры окна (будет видно, что размеры и положение "контролов" также меняются).

По словам автора: "Это начало более-менее правильной библиотеки GUI (точнее, не совсем начало, но одна из основ, без которой писать контролы - смешно)."

3 комментария:

  1. If you're dealing with a traffic violation in Warren, VA, hiring a traffic lawyer could be beneficial. These legal professionals specialize in navigating the complexities of traffic laws, helping you understand your rights and options. Whether you're facing a speeding ticket, reckless driving charge, or DUI/DWI offense, a skilled traffic lawyer warren va can provide valuable guidance and representation in court. With their expertise, they may be able to negotiate reduced penalties or even get your charges dismissed, ultimately saving you time, money, and hassle.

  2. "Layout" offers a versatile and user-friendly platform for creating visually stunning designs with ease. Whether you're designing social media graphics, presentations, or promotional materials, this intuitive app provides a wide range of tools and templates to bring your ideas to life. With its drag-and-drop interface and customizable features, Layout empowers users of all skill levels to unleash their creativity and produce professional-quality designs in minutes. From sleek and modern layouts to vibrant and eye-catching compositions, the possibilities are endless with Layout
    charlottesville whiplash lawyer

  3. I am absolutely love the layout conversation here! As a literature student now working on my dissertation, I couldn't help but join in. Layouts are important not only in design but also in organizing academic work such as dissertations. I'm looking at Literature Dissertation Topics and how different layouts might compliment distinct theme analysis. It's remarkable how even the order of chapters may affect narrative flow and argument development.