当前位置:网站首页>(15) Blender source code analysis flash window display menu function

(15) Blender source code analysis flash window display menu function

2022-06-26 03:51:00 caimouse

In front, we can see the picture of the flash screen , You can see the following menu behind the picture , Here's the picture :

How are the following menus displayed , This article will explore this aspect , because blender Is a complex and flexible software , So its menu system is also more complex . To display a menu , You need to understand C Code for , Also need to understand python Code for , The two aspects of the code need to work together to display the correct menu . If you are not familiar with this code at first , It will be more troublesome , Many functions are out of the question . therefore , Now let's analyze the menu in the red box , Let's see how these menus are displayed , When you understand the process , You can modify the functions of these menus , To customize their own personalized needs .

Let's first look at the menu layout code :

  const int layout_margin_x = U.dpi_fac * 26;

  uiLayout *layout = UI_

原网站

版权声明
本文为[caimouse]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206260332586123.html