Pat's Log
Tue, 11 Jan 2005

DashUI Progress
Tonight was dedicated to adding configuration file parsing to DashUI. I decided to use the standard IniFile format, as it's easy to understand and easy to parse.

The C parser is about one hunded lines in length, and handles comments, whitespace, any field order, and the various data types that would be found in a configuration file.

The format is extremely simple, For example, to embed the xlogo program:

# This example swallows the xlogo program [X Logo] program = "xlogo" window = "xlogo" icon = "applet3-48.png" resize = 1

However, the main problem with the approach to DashUI is that it still requires a window title to swallow any application. This is problematic for some programs because of either synchronization, or unpredictable window titles. That should be the next problem to solve.


[/xbox] | posted @ 06:03 | link

copyright ©2004-2016 pat suwalski